Thread: Compile failure in CVS HEAD

Compile failure in CVS HEAD

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

Latest CVS snapshot of 8.0.0 does not compile on Red Hat 9:

====================================
ln -s libecpg_compat.so.1.1 libecpg_compat.so
make[4]: Leaving directory 
`/root/system/sources/pgsql/src/interfaces/ecpg/compatlib'
make -C preproc all
make[4]: Entering directory 
`/root/system/sources/pgsql/src/interfaces/ecpg/preproc'
make -C ../../../../src/port all
make[5]: Entering directory `/root/system/sources/pgsql/src/port'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/root/system/sources/pgsql/src/port'
bison -y -d  preproc.y
preproc.y:5383: warning: previous rule lacks an ending `;'
preproc.y:6367: fatal error: maximum table size (32767) exceeded
make[4]: *** [preproc.h] Error 1
make[4]: Leaving directory 
`/root/system/sources/pgsql/src/interfaces/ecpg/preproc'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/root/system/sources/pgsql/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/system/sources/pgsql/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/system/sources/pgsql/src'
make: *** [all] Error 2
====================================


Regards,

- -- 
Devrim GUNDUZ           
devrim~gunduz.org                devrim.gunduz~linux.org.tr         http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBMLydtl86P3SPfQ4RAhUlAKDUxCPqbbjVdpe76MhsnzGR664JnwCfVZjn
9003YupCOMGZFoYdgUnp7UM=
=FhA5
-----END PGP SIGNATURE-----



Re: Compile failure in CVS HEAD

From
Tom Lane
Date:
Devrim GUNDUZ <devrim@gunduz.org> writes:
> Latest CVS snapshot of 8.0.0 does not compile on Red Hat 9:

> bison -y -d  preproc.y
> preproc.y:5383: warning: previous rule lacks an ending `;'
> preproc.y:6367: fatal error: maximum table size (32767) exceeded

You need a newer bison; or build from a tarball instead of directly
from CVS.

configure should have warned you that your bison was too old, but
the warning is easy to miss in all the other chatter.
        regards, tom lane