Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-07 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I had a pltcl issue here yesterday. I fixed the problem, but I noted > that pltcl is linked not using information from Makefile.shlib, but > using commands from tclConfig.sh. Not sure this is wrong, but it > certainly can cause problems if tclConfig.sh

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-05 Thread Robert Hentosh
On Sat, May 05, 2001 at 08:48:51PM -0400, Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > > 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. > > 'Twould be nicer if it did that, a

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-05 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: >> 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

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-05 Thread Peter Eisentraut
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 PA

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-05 Thread Tom Lane
I wrote: > ... if you're > using cc you probably need configure --with-includes=/usr/local/include > or configure won't think Tcl is installed at all. I take that back: AFAICT, configure doesn't actually bother to verify that tcl.h can be found, it just assumes it's out there. If it's not in you

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-05 Thread Tom Lane
Robert Hentosh <[EMAIL PROTECTED]> writes: > I went to another OpenBSD box of mine that doesn't have tcl installed and > then downloaded the tcl8.3.2.tar.gz from scriptics.com and did a ... > It created the same tclConfig.sh (well very similar), but the install > placed it in /usr/local/lib and

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-04 Thread Tom Lane
I said: > OpenBSD's tcl package is broken, then. It's their responsibility to put > the necessary compiler flags into tclConfig.sh, not the responsibility > of every Tcl-using software to second guess where the include files are. After thinking about this a little more, I'm confused again. How

Re: [BUGS] Build fails for pl/tcl on OpenBSD

2001-05-04 Thread Tom Lane
Robert Hentosh <[EMAIL PROTECTED]> writes: > It fails with the following error when it compiles src/pl/tcl/pltcl.c: > pltcl.c:38: tcl.h: No such file or directory > This works on my linux box since tcl.h is in /usr/include but on OpenBSD it is >located in /usr/local/include/tcl8.3/tcl.h OpenB

[BUGS] Build fails for pl/tcl on OpenBSD

2001-05-04 Thread Robert Hentosh
POSTGRESQL BUG REPORT TEMPLATE Your name : Hentosh Your email address : [EMAIL PROTECTED] Syste