From owner-freebsd-ports@FreeBSD.ORG Thu Oct 7 13:06:40 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 251A1106567A for ; Thu, 7 Oct 2010 13:06:40 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from melon.pingpong.net (dadel.pingpong.net [79.136.116.226]) by mx1.freebsd.org (Postfix) with ESMTP id 986798FC0A for ; Thu, 7 Oct 2010 13:06:39 +0000 (UTC) Received: from melon.pingpong.net (localhost [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 29EA05F12; Thu, 7 Oct 2010 15:06:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new at pingpong.net Received: from melon.pingpong.net ([127.0.0.1]) by melon.pingpong.net (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vBj3Ueb9KwkG; Thu, 7 Oct 2010 15:06:38 +0200 (CEST) Received: from [172.16.1.6] (citron.pingpong.net [195.178.173.66]) by melon.pingpong.net (Postfix) with ESMTPA id D668C5E66; Thu, 7 Oct 2010 15:06:37 +0200 (CEST) Date: Thu, 07 Oct 2010 15:06:37 +0200 From: Palle Girgensohn To: Alexander Pyhalov , freebsd-ports@FreeBSD.org Message-ID: <65236C3B101A160F514BEB2D@girgBook.local> In-Reply-To: <4CADC28F.7000109@rsu.ru> References: <4CADC28F.7000109@rsu.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: new version of postgresql port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 13:06:40 -0000 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. As you say, they should opimtally 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 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