Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 10:10:32 +0100
From:      Ceri Davies <setantae@submonkey.net>
To:        questions@FreeBSD.org
Subject:   Re: Can't build databases/portgresql7
Message-ID:  <20021021091032.GD40032@submonkey.net>
In-Reply-To: <20021019163422.GA13870@submonkey.net>
References:  <20021019163422.GA13870@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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