Re: Compiling / TCL error

Поиск
Список
Период
Сортировка
От jdassen@cistron.nl (J.H.M. Dassen (Ray))
Тема Re: Compiling / TCL error
Дата
Msg-id slrn9bgvk6.inj.jdassen@odin.cistron-office.nl
обсуждение исходный текст
Ответ на Compiling / TCL error  ("Christian Marschalek" <cm@chello.at>)
Ответы RE: Re: Compiling / TCL error  ("Christian Marschalek" <cm@chello.at>)
Список 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 по дате отправления:

Предыдущее
От: will trillich
Дата:
Сообщение: Re: stored procedures on PERL
Следующее
От: Tim Frank
Дата:
Сообщение: Re: Really Dumb Question...(Dumping db)