Re: Build fails for pl/tcl on OpenBSD

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Hentosh <hentosh(at)io(dot)com>, <pgsql-bugs(at)postgreSQL(dot)org>
Subject: Re: Build fails for pl/tcl on OpenBSD
Date: 2001-05-05 21:12:17
Message-ID: Pine.LNX.4.30.0105052304500.769-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-05-06 00:48:51 Re: Build fails for pl/tcl on OpenBSD
Previous Message pgsql-bugs 2001-05-05 16:23:37 Alter table add column ignores default