Re: Can not compile --with-tcl ??? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Can not compile --with-tcl ???
Date
Msg-id 19655.1058674137@sss.pgh.pa.us
Whole thread Raw
In response to Can not compile --with-tcl ???  ("sam" <sam@young-net.com.tw>)
List pgsql-bugs
"sam" <sam@young-net.com.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

pgsql-bugs by date:

Previous
From: "yxy"
Date:
Subject: How can I unsubscribe the mail t list
Next
From: "A.Bhuvaneswaran"
Date:
Subject: deadlock_timeout and pg_ctl reload