From owner-freebsd-ports Tue Oct 22 6:49:18 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A498137B401 for ; Tue, 22 Oct 2002 06:49:16 -0700 (PDT) Received: from www.unsam.edu.ar (ns2.unsam.edu.ar [170.210.48.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F64943E4A for ; Tue, 22 Oct 2002 06:49:14 -0700 (PDT) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by www.unsam.edu.ar (8.9.3/8.9.3) with ESMTP id KAA62967; Tue, 22 Oct 2002 10:48:43 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id g9MDmo1b044973; Tue, 22 Oct 2002 10:48:51 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.6/8.12.6/Submit) id g9MDmjb2044972; Tue, 22 Oct 2002 10:48:45 -0300 (ART) Date: Tue, 22 Oct 2002 10:48:45 -0300 From: Fernan Aguero To: Andrew Cc: freebsd-ports@FreeBSD.ORG, Novoselov Ilya Subject: Re: ports/44327: databases/posgtresql7 port doesn't automatically build Message-ID: <20021022134845.GB39326@iib.unsam.edu.ar> Mail-Followup-To: Andrew , freebsd-ports@FreeBSD.ORG, Novoselov Ilya References: <200210211330.g9LDU3BP012995@freefall.freebsd.org> <20021021233642.D32034-100000@starbug.ugh.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021021233642.D32034-100000@starbug.ugh.net.au> User-Agent: Mutt/1.4i X-PGP-Key: http://genoma.unsam.edu.ar/~fernan/pubkey.asc Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org +----[ Esto dijo Andrew (andrew@ugh.net.au): | | On Mon, 21 Oct 2002, Fernan Aguero wrote: | | > AFAIK some people could get pgsql built OK, others do not, | > and the reasons for this differences are not clear. | | I haven't tried lately but I've found in the past I needed to use | | env -i PATH=$PATH make | | to compile postgres. Hi Andrew, thanks for your tip. It worked. And also, sorry for the delay in replying. Actually, the first time I tested your suggestion I just got confused by the broken dialog(1) that warns me to backup the data. The following dialog was also broken (choose multilingualism, kerberos ...). So setting the PATH this way gets postgresql7 compiled OK, but breaks the initial ports dialogs. So again, yes, it works, but I don't know what I choosed at the dialog step ... I don't mind about kerberos, because I don't have it installed, but I don't know how multilingualism can affect my postgresql installation. Also, and now trying to get to the maintainers, if what Andrew proposed gets the port to compile (and this agreed with the steps detailed by Novoselov, this means that there is something in the ports Makefile (or perhaps the problem is with some of the more general bsd.*.mk files?) that is altering the environment, and more specifically the PATH, so that some private configuration within postgres is failing. I'm a newbie with respect to porting and compiling stuff, but perhaps the ports Makefile can provide for a fix, perhaps running Gen_fmgrtab.sh with an unmodified PATH, and see if this solves the problem? In the meantime, a message could be added warning users of this. Perhaps a very first dialog: "If the compilation fails try running 'env -i PATH=$PATH make' instead of 'make'. Some users have found this to get the port to compile. We are working in getting this solved." Thanks all for your time, Fernan | | HTH, | | Andrew | +----] -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message