From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stan Brown <stanb@awod.com>
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Problems building libpgtcl
Date: Sun, 03 Jan 1999 20:37:21 -0500
Message-ID: <20347.915413841@sss.pgh.pa.us> (raw)
In-Reply-To: <199901040035.TAA02244@hub.org>
"Stan Brown" <stanb@awod.com> writes:
> I am trying to build postgres 6.4.1 with libpgtcl, in order to run
> pgaccess. The current problem is geting all the right options passed to
> configure, I believe. I am using:
> ./configure --prefix=/data/pgtest --with-template=hpux_gcc
> --with-pgport=5434 - -with-tcl
> --with-includes=/opt/tcl-8.0/include
> --with-libraries=/opt/tcl-8.0//lib
> --with-include=/opt/tk-8.0/includes/X11
> --with-libraries=/opt/tk-8.0/X11/lib
> Please note the use of multiple --with-includes here. However it is not
> working.
No, it wouldn't ... configure's switch parsing is too dumb to cope with
more than one occurrence of each --with-XXX directive. (If the above
is a verbatim transcript, then you misspelled --with-includes the second
time :-( ... but it wouldn't have worked anyway ...)
I think this will work:
--with-includes='/opt/tcl-8.0/include /opt/tk-8.0/includes/X11'
--with-libraries='/opt/tcl-8.0/lib /opt/tk-8.0/X11/lib'
At least, perusing the configure script's code makes it look like
something close to that should work for specifying multiple include or
library directories. You might have to mess around with the quoting to
get it just right.
I think we oughta have an example of this in the INSTALL documentation...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, stanb@awod.com, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Problems building libpgtcl
In-Reply-To: <20347.915413841@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox