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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to