Your name : Darren Holloway
Your email address : dho...@nortel.ca
Category : install: compile
Severity : serious
Summary: bootstrap.c fails to compile, F_BOOLIN et. al. undeclared
System Configuration
--------------------
Operating System : HPUX 10.20
PostgreSQL version : 6.3.2
Compiler used : gcc-2.8.1
Hardware:
---------
Versions of other tools:
------------------------
gmake 3.76.1
flex 2.5.4
bison 1.25
--------------------------------------------------------------------------
Problem Description:
--------------------
Trying to build a new installation of PostgreSQL.
...
make[2]: Entering directory `/tmp_mnt/opt/wdc/apps/general/pgsql/src/postgresql-6.3.2/src/backend/bootstrap'
gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootstrap.c -o bootstrap.o
bootstrap.c:160: `F_BOOLIN' undeclared here (not in a function)
bootstrap.c:160: initializer element for `Procid[0].inproc' is not constant
bootstrap.c:160: `F_BOOLOUT' undeclared here (not in a function)
bootstrap.c:160: initializer element for `Procid[0].outproc' is not constant
... &c.
It almost looks like a file is missing from the distribution.
I did a find $top -exec grep F_BOOLIN and found the only
matches in bootstrap.c
--------------------------------------------------------------------------
Test Case:
----------
Occurs every time I try to build; did a make distclean then
make all and it still occurs.
And while I'm here, the things in the /pub/patches directory
on the ftp server appear to be for versions earlier than
the current version.
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------
>
> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Darren Holloway
> Your email address : dho...@nortel.ca
>
> Category : install: compile
> Severity : serious
>
> Summary: bootstrap.c fails to compile, F_BOOLIN et. al. undeclared
>
> System Configuration
> --------------------
> Operating System : HPUX 10.20
>
> PostgreSQL version : 6.3.2
First guess, but grab all the available patches, apply them, do a 'make
distclean' and then a re-configure and see if the same problem exists...