Re: Compiling / TCL error - Mailing list pgsql-general

From jdassen@cistron.nl (J.H.M. Dassen (Ray))
Subject Re: Compiling / TCL error
Date
Msg-id slrn9bgvk6.inj.jdassen@odin.cistron-office.nl
Whole thread Raw
In response to Compiling / TCL error  ("Christian Marschalek" <cm@chello.at>)
Responses RE: Re: Compiling / TCL error  ("Christian Marschalek" <cm@chello.at>)
List pgsql-general
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

pgsql-general by date:

Previous
From: will trillich
Date:
Subject: Re: stored procedures on PERL
Next
From: Tim Frank
Date:
Subject: Re: Really Dumb Question...(Dumping db)