From owner-freebsd-questions Mon Oct 21 2:10:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A95C37B401 for ; Mon, 21 Oct 2002 02:10:34 -0700 (PDT) Received: from rhadamanth.submonkey.net (pc1-cdif2-4-cust210.cdf.cable.ntl.com [80.4.10.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD55843EA9 for ; Mon, 21 Oct 2002 02:10:33 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 183Ya0-000AV7-00 for questions@FreeBSD.org; Mon, 21 Oct 2002 10:10:32 +0100 Date: Mon, 21 Oct 2002 10:10:32 +0100 From: Ceri Davies To: questions@FreeBSD.org Subject: Re: Can't build databases/portgresql7 Message-ID: <20021021091032.GD40032@submonkey.net> Mail-Followup-To: Ceri Davies , questions@FreeBSD.org References: <20021019163422.GA13870@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021019163422.GA13870@submonkey.net> X-message-flag: All your linuxconf-configured redhat are belong to us. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Oct 19, 2002 at 05:34:22PM +0100, Ceri Davies wrote: > > I know this is my fault, because I've checked the error logs on bento and > it's building fine there, but I keep getting the following error trying to > build the postgresql7 port: > > ## error log starts > gmake[5]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend/access/heap' > cc -O -pipe -march=pentiumpro -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -I/usr/local/include -c -o heapam.o heapam.c > cc -O -pipe -march=pentiumpro -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -I/usr/local/include -c -o hio.o hio.c > cc -O -pipe -march=pentiumpro -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -I/usr/local/include -c -o tuptoaster.o tuptoaster.c > tuptoaster.c: In function `toast_delete_datum': > tuptoaster.c:914: `F_OIDEQ' undeclared (first use in this function) > tuptoaster.c:914: (Each undeclared identifier is reported only once > tuptoaster.c:914: for each function it appears in.) > tuptoaster.c: In function `toast_fetch_datum': > tuptoaster.c:997: `F_OIDEQ' undeclared (first use in this function) > gmake[5]: *** [tuptoaster.o] Error 1 > gmake[5]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend/access/heap' > gmake[4]: *** [heap-recursive] Error 2 > gmake[4]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend/access' > gmake[3]: *** [access-recursive] Error 2 > gmake[3]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/databases/postgresql7. > *** Error code 1 > > Stop in /usr/ports/databases/postgresql7 > ## error log ends > > Indications on the postgresql lists seem to indicate that this may be a > problem with awk, but I can't see why this would be failing. For the archives, this was caused by my shell /bin/tcsh. Running "setenv CONFIG_SHELL /bin/sh" before the "make install" fixed this problem for me. Ceri -- you can't see when light's so strong you can't see when light is gone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message