From owner-freebsd-ports Fri May 18 20: 9:49 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 6031837B424 for ; Fri, 18 May 2001 20:09:46 -0700 (PDT) (envelope-from james@bloodflowers.org) Received: from eclipse.bloodflowers.org ([62.253.132.224]) by mta02-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with SMTP id <20010519030945.NEBV290.mta02-svc.ntlworld.com@eclipse.bloodflowers.org>; Sat, 19 May 2001 04:09:45 +0100 Date: Sat, 19 May 2001 04:09:44 +0100 From: James Greenhalgh To: Palle Girgensohn Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: postgresql-7.1_2 Message-Id: <20010519040944.68e64b24.james@bloodflowers.org> In-Reply-To: <3B05D933.849B3A87@partitur.se> References: <20010518133850.60d992c2.james@bloodflowers.org> <3B05535F.8D764E29@partitur.se> <20010518191049.4ac11b48.james@bloodflowers.org> <3B05D933.849B3A87@partitur.se> X-Mailer: Sylpheed version 0.4.64 (GTK+ 1.2.10; i386--freebsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Sat, 19 May 2001 04:23:47 +0200 Palle Girgensohn wrote: > James Greenhalgh wrote: > > > > > F_OIDEQ is defined here: > > > postgresql-7.1.1/src/backend/utils/fmgroids.h:159:#define > > > F_OIDEQ 184 > > > > After a lot of digging around, it seems that the port only builds if you log in > > as root on a console, or su - root. Using su root leads to fmgroids.h not > > being generated properly. > > I never build any ports as root, I build as myself... Do you > mean that if you su -l root and build the port, it fails, but > if you *log* into a console as root, it works. This really > sounds *very* strange, but I suspect it might have something to > do with environments? Yep, su - and su -l are one and the same. It's got to be path related, I'm sure - probably more related to building with one account su'd to from another without the login flag, as opposed to having to be root - maybe it's reading the current/working directory wrong. I think the postgresql script that generates the header file is probably broken in some subtle way. james -- The wheel is still turning, but the hamster is dead. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message