Re: Regarding parallel running of 9.1 and 9.2beta2

Поиск
Список
Период
Сортировка
От Atri Sharma
Тема Re: Regarding parallel running of 9.1 and 9.2beta2
Дата
Msg-id CAOeZVichg+TKPy0rBZ=5NaF1v74mtUj+skgiKZg8D=z+OKsm3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Regarding parallel running of 9.1 and 9.2beta2  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: Regarding parallel running of 9.1 and 9.2beta2  (Atri Sharma <atri.jiit@gmail.com>)
Список pgsql-general
On Fri, Jun 29, 2012 at 7:01 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
> On Fri, Jun 29, 2012 at 6:57 AM, Atri Sharma <atri.jiit@gmail.com> wrote:
>> On Fri, Jun 29, 2012 at 5:12 PM, Albe Laurenz <laurenz.albe@wien.gv.at> 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Regarding parallel running of 9.1 and 9.2beta2
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Notiffy problem