On Wed, 8 Jun 2005, Brett Schwarz wrote:
> I usually just look at config.log, and copy and
> paste...but I am guessing you are trying to automate
> this. Looks like pg_config adds '' around each option
> when specifying --configure (i.e. '--with-libraries'),
> at least on my system (Linux, PG803). You can try to
> get rid of the ''. This seems to work on my system:
>
> ./configure `pg_config --configure | tr "'" " "`
>
> I'm not a shell guru by any means, so there might be a
> better way...
Thought of that too, still blows up:
pgsql74# ./configure `pg_config --configure | tr "'" " "`
configure: WARNING: you should use --build, --host, --target
configure: error: unrecognized option: -rpath=/usr/lib:/usr/local/lib
Try `./configure --help' for more information.
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664