Re: pg_config --configure ...

From: Brett Schwarz <brett_schwarz(at)yahoo(dot)com>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_config --configure ...
Date: 2005-06-09 03:00:12
Message-ID: 20050609030012.8194.qmail@web40608.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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...

--- "Marc G. Fournier" <scrappy(at)postgresql(dot)org> wrote:

>
> How are ppl using this? I'm trying to use it to
> re-configure, having
> tried both tcsh and bash, and neither seem to
> 'work':
>
> # ./configure `pg_config --configure`
> configure: error: invalid variable name:
> '--with-libraries
>
> So, is there another way I can use the output from
> pg_config to pass to
> configure?
>
> Thanks ...
>
> ----
> Marc G. Fournier Hub.Org Networking
> Services (http://www.hub.org)
> Email: scrappy(at)hub(dot)org Yahoo!: yscrappy
> ICQ: 7615664
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
> (send "unregister YourEmailAddressHere" to
> majordomo(at)postgresql(dot)org)
>

--brett


__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2005-06-09 03:26:06 Re: pg_config --configure ...
Previous Message Qingqing Zhou 2005-06-09 02:51:23 Re: adding new pages bulky way