Re: Can not compile --with-tcl ???
| От | Tom Lane |
|---|---|
| Тема | Re: Can not compile --with-tcl ??? |
| Дата | |
| Msg-id | 19655.1058674137@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Can not compile --with-tcl ??? ("sam" <sam@young-net.com.tw>) |
| Список | 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 по дате отправления: