Search Postgresql Archives

Re: Regarding parallel running of 9.1 and 9.2beta2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 29, 2012 at 7:01 PM, Merlin Moncure <mmoncure@xxxxxxxxx> wrote:
> On Fri, Jun 29, 2012 at 6:57 AM, Atri Sharma <atri.jiit@xxxxxxxxx> wrote:
>> On Fri, Jun 29, 2012 at 5:12 PM, Albe Laurenz <laurenz.albe@xxxxxxxxxx> wrote:
>>> Atri Sharma wrote:
>>>> I am running PostgreSQL 9.1 currently and I want to run 9.2beta2
>>>> simultaneously with it.Is it possible?
>>>>
>>>> I downloaded the 9.2beta2 sources,untared them and ran
>>>> ./configure,make and make install without uninstalling 9.1.
>>>>
>>>> Now,when I am running pg_ctl start,I am getting the following error:
>>>>
>>>>  pg_ctl start
>>>> server starting
>>>> gitc@ubuntu:~/Downloads$ FATAL:  database files are incompatible with
>>> server
>>>> DETAIL:  The data directory was initialized by PostgreSQL version 9.1,
>>>> which is not compatible with this version 9.2beta2.
>>>>
>>>> Please help me.What should I be doing to recover from this error and
>>>> get back to 9.1?
>>>
>>> Did you overwrite your 9.1 installation (i.e. --prefix was the same
>>> for both installations)?
>>>
>>> If yes, then rebuild and reinstall 9.1, and everything should work.
>>>
>>> If you did not overwrite 9.1, simply use the 9.1 binaries to start
>>> the server.
>>>
>>> Yours,
>>> Laurenz Albe
>>
>> Hi Laurenz,
>>
>> Actually,I did not specify --prefix option at all in either case.
>>
>> I rebuilt and reinstalled 9.1,but now,as mentioned earlier,my project
>> is not running successfully on it(I need the -ljvm flag in gcc for
>> compilation.I am using PGXN and I added EXPORT CXXFLAG=$CXXFLAG
>> "-ljvm" and EXPORT CFLAG=$CFLAG "-ljvm" to the makefile of my
>> project.This was working till today morning,when I stupidly installed
>> 9.2beta2 without specifying a new --prefix.)
>>
>> What should I do?
>
> when in doubt, look at the other contrib projects.   they use
> SHLIB_LINK.  This was in your old makefile at some point but it was
> reverted out.
>
> merlin

I was only doing export CFLAGS="CFLAGS -ljvm" before...

-- 
Regards,

Atri
l'apprenant

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux