Re: Build fails for pl/tcl on OpenBSD
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Hentosh <hentosh@io.com>, <pgsql-bugs@postgreSQL.org>
Date: 2001-05-05T21:12:17Z
Lists: pgsql-bugs
Tom Lane writes: > One possibility is that your compiler may not be set to search > /usr/local/include by default. Correct, OpenBSD's gcc does not do that. > I have in fact done this --- HPUX likes nonstandard prefixes ;-). IIRC, > you must set --with-includes and --with-libraries, and your PATH had > better find the appropriate version of tclsh first. It would appear > >from looking at configure that the --with-tclconfig option is fairly > useless, since if you don't set it the correct value is extracted by > asking tclsh. You'd only need to specify it if your Tcl setup is not > internally consistent. The idea might have been that you could select which one of several installed Tcl version to use. E.g., if you have a cutting edge experimental build somewhere you could use --with-tclconfig=$HOME/tcl-install/lib. Anyway, the problem here seems to be that the tclConfig.sh file does not provide a variable that gives a hint where to look for include files. There are a dozen variables for library things, but zero for cpp flags or includes. If someone finds one, let me know. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter