dbTalk Databases Forums  

Re: [BUGS] Can not compile --with-tcl ???

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] Can not compile --with-tcl ??? in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Can not compile --with-tcl ??? - 07-20-2003 , 01:28 AM






"sam" <sam (AT) young-net (DOT) com.tw> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.