Compile error on 7.2.6/contrib/seg
Compile error on 7.2.6/contrib/seg
От:
Devrim GUNDUZ <devrim@gunduz.org>
Дата:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I get an error while building 7.2.6 RPMS on Fedora Core 1. # gcc --version gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1) # bison --version bison (GNU Bison) 1.875 ======================================================================================== make[1]: Entering directory `/usr/src/redhat/BUILD/postgresql-7.2.6/contrib/seg' sed 's,MODULE_PATHNAME,$libdir/seg,g' seg.sql.in >seg.sql gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include -c -o seg.o seg.c bison -y -d -p seg_yy segparse.y segparse.y:101.7: syntax error, unexpected "|" make[1]: *** [segparse.h] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.2.6/contrib/seg' make: *** [all] Error 2 make: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.2.6/contrib' error: Bad exit status from /var/tmp/rpm-tmp.22295 (%build) ======================================================================================== I've built this on Red Hat 9 and RHEL3, btw. Since it may be an ancient version, maybe it's not that important to fix... 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) iD8DBQFBfBmmtl86P3SPfQ4RAnP5AJ9MyR7PgDllTbakcibqD3bvvECfNwCfTHml ax6G99sX6W59WGsKCPtdVAA= =+zvD -----END PGP SIGNATURE-----
Re: Compile error on 7.2.6/contrib/seg
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Devrim GUNDUZ writes: > I get an error while building 7.2.6 RPMS on Fedora Core 1. > bison -y -d -p seg_yy segparse.y > segparse.y:101.7: syntax error, unexpected "|" Not sure anyone still cares, but I've backpatched the 7.3 fix for this, just in case we do make any further 7.2.* releases. regards, tom lane
Re: Compile error on 7.2.6/contrib/seg
От:
Devrim GUNDUZ <devrim@gunduz.org>
Дата:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Sun, 24 Oct 2004, Tom Lane wrote: >> I get an error while building 7.2.6 RPMS on Fedora Core 1. > >> bison -y -d -p seg_yy segparse.y >> segparse.y:101.7: syntax error, unexpected "|" > > Not sure anyone still cares, but I've backpatched the 7.3 fix for this, > just in case we do make any further 7.2.* releases. Thanks. I'll rebuild 7.2.6 RPMS with that fix. 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) iD8DBQFBfLOgtl86P3SPfQ4RAq0tAJ0VkXZYtPdSFJBTmroujRGyTAhciQCgrED+ m1ukj9fzbz0Z7xBi+WkX/8k= =x0V+ -----END PGP SIGNATURE-----