Christian Marschalek <cm@chello.at> wrote:
>I get the followig error although TK is installed
Did you install the development files (headers) for Tk? (The runtime files
aren't enough to compile against it) Did "configure" find them and state
that it could use Tk?
>gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
[cut]
>-o pgtksh pgtkAppInit.o \
> -L../../interfaces/libpgtcl -lpgtcl -L../../interfaces/libpq -lpq
>-L/usr/X 11R6/lib -L/usr/local/lib -ltk8.3 -L/usr/X11R6/lib -lX11 -ldl
>-lieee -lm \
> -L/usr/local/lib -ltcl8.3 -lX11 -lcrypt -lnsl -ldl -lm -lutil
>-lreadline
>-lncurses -export-dynamic
>pgtkAppInit.o(.text+0x11): undefined reference to `Tk_Main'
No surprising, given that there is no '-ltk' or similiar, so probably
"configure" didn't find Tk or couldn't use it. Rerun "configure" (with a
"-v" just for good luck) and pay close attention to what it says about Tk.
HTH,
Ray
--
USDoJ/Judge Jackson: "Microsoft has performed an illegal operation and will
be shut down."
James Turinsky in alt.sysadmin.recovery