Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Oct 2010 15:10:53 +0200
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        Alexander Pyhalov <alp@rsu.ru>, freebsd-ports@FreeBSD.org
Subject:   Re: new version of postgresql port
Message-ID:  <D0125C2D92CC273785046EE9@girgBook.local>
In-Reply-To: <65236C3B101A160F514BEB2D@girgBook.local>
References:  <4CADC28F.7000109@rsu.ru> <65236C3B101A160F514BEB2D@girgBook.local>

next in thread | previous in thread | raw e-mail | index | archive | help


--On 7 oktober 2010 15.06.37 +0200 Palle Girgensohn <girgen@FreeBSD.org> 
wrote:

> Hi,
>
> True, it is a first shot at breaking the 1:1 relationship, it is not a
> solution. I think that if you install all PostgreSQL:s in different
> PREFIXes, it will work to install them.

or if you install in prefix first...
or manually install the client...

>
> As you say, they should optimally install in their own non-conflicting
> places without changing prefix.
>
> Lets see this as a work in progress.
>
> Cheers,
> Palle
>
>
> --On 7 oktober 2010 16.52.31 +0400 Alexander Pyhalov <alp@rsu.ru> wrote:
>
>> Hello.
>> I've seen interesting commit message in postgresql90-server port: "Also,
>> try to break the previous 1:1 relation between FreeBSD system and
>> PostgreSQL versions installed. Use different PREFIX:es to install
>> different versions on the same system."
>>
>> I've fetched new version of ports and tried to install postgresql84 from
>> ports with default prefix and later - postgresql90 with non-default
>> prefix.
>>
>> I managed to install postgresql90-client and
>> postgresql84-{server,client}. However, while building postgresql90-server
>> I received
>>
>> pgtest# make PREFIX=/usr/local/postgresql/9.0 install
>> ===>  postgresql-server-9.0.1 cannot install: the port wants
>> postgresql90-client but you have postgresql84-client installed.
>> *** Error code 1
>>
>> Stop in /usr/ports/databases/postgresql90-server.
>>
>> The problem comes from 186 line of /usr/ports/Mk/bsd.database.mk. It must
>> be modified to allow such things.
>> Also, it seems that PREFIX modification is not sufficient: we should have
>> some specific postgresql files in /usr/local/etc/periodic and several
>> startup scripts in /usr/local/etc/rc.d.
>>
>> --
>> Best regards,
>> Alexander Pyhalov,
>> system administrator of Computer Center of South Federal University
>
>
>







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0125C2D92CC273785046EE9>