Compile error on 7.2.6/contrib/seg

From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: pgsql-hackers(at)PostgreSQL(dot)org
Subject: Compile error on 7.2.6/contrib/seg
Date: 2004-10-24 21:07:46
Message-ID: Pine.LNX.4.61.0410250000460.30146@emo.org.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----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-----

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-24 21:55:29 Re: [HACKERS] strange result from contrib/seg regression on windows
Previous Message Josh Berkus 2004-10-24 16:39:40 Re: Proposed TODO: CREATE .... WITH OWNER;