On Thu, Dec 20, 2001 at 06:13:12PM +0100, Peter Eisentraut wrote:
> The tclConfig.sh file is found by looking into the path returned by `echo
> 'puts $auto_path' | tclsh`.
>
> Then theoretically, the tkConfig.sh file should be found by looking into
> the path returned by `echo 'puts $auto_path' | wish`, which would indeed
In the X-win:
$ echo 'puts $auto_path; exit' | wish/usr/lib/tcl8.3 /usr/lib /usr/lib/tk8.3
it's right, but really ugly is that it require X display. $ echo 'puts $auto_path; exit' | wishApplication
initializationfailed: no display name and no $DISPLAYenvironment variable
The other thing is that tcl*.h and tk.h files are in /usr/inlude/tcl8.3,and
$ ./configure --prefix=/usr/lib/postgresql \ --with-tcl \
--with-tkconfig=/usr/lib/tk8.3/finishwith:
make[4]: Leaving directory `/var/home/PG_DEVEL/pgsql/src/interfaces/libpgtcl'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl -I../../../src/include
-I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c
pgtkAppInit.c:15: tk.h: No such file or directory
make[3]: *** [pgtkAppInit.o] Error 1
(yes, I know --includedir= etc., but it's _standard_ latest unstable Debian...)
Karel
-- Karel Zak <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz