Re: Build fails for pl/tcl on OpenBSD - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Build fails for pl/tcl on OpenBSD
Date
Msg-id Pine.LNX.4.30.0105052304500.769-100000@peter.localdomain
Whole thread Raw
In response to Re: Build fails for pl/tcl on OpenBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Build fails for pl/tcl on OpenBSD
Re: Build fails for pl/tcl on OpenBSD
List 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

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Alter table add column ignores default
Next
From: Tom Lane
Date:
Subject: Re: Build fails for pl/tcl on OpenBSD