Re: pg_config --configure ...

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Brett Schwarz <brett_schwarz(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_config --configure ...
Date: 2005-06-09 03:26:06
Message-ID: 20050609002526.S34152@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2005-06-09 03:41:36 Re: unsafe use of hash_search(... HASH_ENTER ...)
Previous Message Brett Schwarz 2005-06-09 03:00:12 Re: pg_config --configure ...