Thread: 6.4-BETA1: libpgtcl.so / Tcl version?
It fails to link against Tcl 8.0 (Linux 2.0.35, gcc-2.7.2.1): gcc -I../../include -I../../backend -I/usr/include/termcap -O2 -Wall -Wmissing-prototypes -I/usr/X11R6/include -I../../interfaces/libpgtcl-o pgtclsh pgtclAppInit.o \ -L../../interfaces/libpgtcl -lpgtcl -L../../interfaces/libpq -lpq -ltcl8.0 -lm -L/usr/lib/termcap -ldl -lm -lbsd -lreadline-lhistory -ltermcap -lncurses -export-dynamic ../../interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_FileReady' ../../interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_GetFile' ../../interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_WatchFile' make[2]: *** [pgtclsh] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pgsql/src/bin/pgtclsh' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/pgsql/src/bin' make: *** [all] Error 2 make: Leaving directory `/usr/src/packages/BUILD/pgsql/src' Bad exit status Linking against Tcl 7.6 is okay. I didn't find a hint, which Tcl version one should use. pgsql/src/interfaces/libpgtcl/README talks about libpgtcl.doc -- but this file (libpgtcl.doc) isn't there. Just for the record, the end user documentation (.tar.gz and .ps.gz files) isn't up-to-date. The SGML sources are newer. -- Karl Eichwalder S.u.S.E. GmbH Fax +49-911-3206727 ke@suse.de Gebhardtstrasse 2 Mo & Th 13:00-18:00: http://www.suse.de/~ke/ 90762 Fuerth, Germany Hotline +49-911-3247130
> Just for the record, the end user documentation (.tar.gz and .ps.gz > files) isn't up-to-date. The SGML sources are newer. Yes, I don't freeze and convert the html and ps files until the last few days before a release (though I have made one or two intermediate html releases for the web site and the ftp area). That way last minute contributions to docs can make it into the final release. I'm still working on some User's Guide additions and I hope folks will update the installation and porting instructions at least. btw, is there other pgtcl documentation which has not made it into the sgml sources (and html output)? Do you have any indication that the .doc file referred to by the README had information not available elsewhere? You can see fairly fresh html output on the Postgres web site in the documentation area. - Tom
Karl Eichwalder <ke@suse.de> writes: > It fails to link against Tcl 8.0 (Linux 2.0.35, gcc-2.7.2.1): Right, libpgtcl is currently broken for Tcl 8.*, because it relies on some Tcl routines that went away in Tcl 8. I have that on my todo list but have been swamped with other work... If you don't mind using Tcl 7.6 the beta should work fine with that for now. regards, tom lane