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