Re: Can not compile --with-tcl ???

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "sam" <sam(at)young-net(dot)com(dot)tw>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Can not compile --with-tcl ???
Date: 2003-07-20 04:08:57
Message-ID: 19655.1058674137@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"sam" <sam(at)young-net(dot)com(dot)tw> writes:
> I have comiple tcl 8.3.2 and tk 8.3.2 complete
> but I want to compile postgresql 7.1.3 with tcl

> ./configure --with-tcl --with-tclconfig=3D/usr/local/tcl8.3.2/unix --with-t=
> kconfig=3D/usr/local/tk8.3.2/unix

> make=20

> gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DP=
> IC -I../../../src/interfaces/libpq -I../../../src/include -c -o pgtcl.o p=
> gtcl.c
> In file included from pgtcl.c:19:
> libpgtcl.h:19: tcl.h: No such file or directory

Unfortunately, it wasn't until tcl 8.4 that it occurred to the Tcl boys
that tclConfig.sh ought to provide a way to find out where Tcl's include
files have been installed. As long as you're using 8.3 you'll need to
add an explicit --with-includes switch pointing to the Tcl include
directory to PG's configure command.

I'd also recommend using a more recent PG release than 7.1.3 ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message yxy 2003-07-20 04:20:04 How can I unsubscribe the mail t list
Previous Message sam 2003-07-19 16:08:58 Can not compile --with-tcl ???