Re: [HACKERS] pg_config --configure ...

2005-06-09 Thread Peter Eisentraut
Marc G. Fournier wrote: > Sweet, that's it ... could you add an EXAMPLE section to the man page > showing this? Seems I'm not the only one that was a bit confused how > to use it, based on other 'try this' that ppl sent :) Done. -- Peter Eisentraut http://developer.postgresql.org/~petere/

Re: [HACKERS] pg_config --configure ...

2005-06-09 Thread Marc G. Fournier
Sweet, that's it ... could you add an EXAMPLE section to the man page showing this? Seems I'm not the only one that was a bit confused how to use it, based on other 'try this' that ppl sent :) On Thu, 9 Jun 2005, Peter Eisentraut wrote: Marc G. Fournier wrote: # ./configure `pg_config -

Re: [HACKERS] pg_config --configure ...

2005-06-08 Thread Peter Eisentraut
Marc G. Fournier wrote: > # ./configure `pg_config --configure` > configure: error: invalid variable name: '--with-libraries The intended mode of usage is eval ./configure `pg_config --configure` -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of br

Re: [HACKERS] pg_config --configure ...

2005-06-08 Thread Mark Kirkwood
Marc G. Fournier wrote: On Wed, 8 Jun 2005, Brett Schwarz wrote: ./configure `pg_config --configure | tr "'" " "` Thought of that too, still blows up: How about ./configure `pg_config --configure|sed s/\'//g` Cheers Mark ---(end of broadcast)-

Re: [HACKERS] pg_config --configure ...

2005-06-08 Thread Michael Fuhr
On Thu, Jun 09, 2005 at 12:26:06AM -0300, Marc G. Fournier wrote: > > 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

Re: [HACKERS] pg_config --configure ...

2005-06-08 Thread Marc G. Fournier
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

Re: [HACKERS] pg_config --configure ...

2005-06-08 Thread Brett Schwarz
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 wor

[HACKERS] pg_config --configure ...

2005-06-08 Thread Marc G. Fournier
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