Re: Build fails for pl/tcl on OpenBSD

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Build fails for pl/tcl on OpenBSD
Дата
Msg-id Pine.LNX.4.30.0105052304500.769-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Build fails for pl/tcl on OpenBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Build fails for pl/tcl on OpenBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Build fails for pl/tcl on OpenBSD  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Alter table add column ignores default
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Build fails for pl/tcl on OpenBSD