Re: [HACKERS] Compile error on 7.2.6/contrib/seg

2004-10-25 Thread Devrim GUNDUZ
-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.orgdevrim.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-
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
   (send unregister YourEmailAddressHere to [EMAIL PROTECTED])


[HACKERS] Compile error on 7.2.6/contrib/seg

2004-10-24 Thread Devrim GUNDUZ
-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.orgdevrim.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-
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [HACKERS] Compile error on 7.2.6/contrib/seg

2004-10-24 Thread Tom Lane
Devrim GUNDUZ [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster