Re: Compiling / TCL error

From: jdassen(at)cistron(dot)nl (J(dot)H(dot)M(dot) Dassen (Ray))
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Compiling / TCL error
Date: 2001-03-21 10:14:10
Message-ID: slrn9bgvk6.inj.jdassen@odin.cistron-office.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Marschalek <cm(at)chello(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message will trillich 2001-03-21 10:21:41 Re: stored procedures on PERL
Previous Message John Clark L. Naldoza 2001-03-21 07:46:08 Re: I seem to have failed some tests..;-(