Re: Frustrating issue with PGXS - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Frustrating issue with PGXS
Date
Msg-id 20070625144954.GG19058@svr2.hagander.net
Whole thread Raw
In response to Re: Frustrating issue with PGXS  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Frustrating issue with PGXS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jun 25, 2007 at 10:43:37AM -0400, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > I was actually about to post on this just a couple of days ago - it seems
> > pgxs really needs pg_config to be in your PATH.
> 
> Correct --- how else is it going to find out where the installation is?

You can specify the full path in the command to pg_config in your Makefile.
It'd be neat if the makefile could fint that out and use it for further
references to pg_config. I haven't had time to look into if this is at all
possible, though.

This is the easy error btw - you can get some fairly funky results if you
have 8.3devel locally and then say 8.0 with different compile options in
your PATH. Then it'll use your 8.3devel pg_config for the first step and
then fall back on the one in the PATH for later steps..

//Magnus


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: [PATCHES] New Zealand - TZ change
Next
From: Magnus Hagander
Date:
Subject: Re: msvc and vista fun