Re: BUG #3614: pg_config returns incorrect information for includedir-server - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3614: pg_config returns incorrect information for includedir-server
Date
Msg-id 16045.1190329165@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3614: pg_config returns incorrect information for includedir-server  ("Michael Akinde" <michael.akinde@met.no>)
Responses Re: BUG #3614: pg_config returns incorrect information for includedir-server  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: BUG #3614: pg_config returns incorrect information for includedir-server  (Michael Akinde <michael.akinde@met.no>)
List pgsql-bugs
"Michael Akinde" <michael.akinde@met.no> writes:
> This issue seems to be general to many of the paths returned - pg_config
> inserts /postgresql/ - while the actual installation directory does not
> include this path.

Hmm ... works fine for me in both 8.2.5 and HEAD, which means either
we fixed it since 8.2.4 (but I see nothing relevant in the CVS logs),
or there's something relevant you didn't mention.

One thing to be aware of is that pg_config's path output is not just
hardwired strings; the paths are computed relative to the location of
the pg_config executable.  So if you'd moved the executable from where
it was supposed to be installed, possibly that would explain it.

If that's not it, could we see the complete output of pg_config,
especially the full list of configure options?  I'm also wondering if
you tried a VPATH build; if so, what were the full paths of the source
and build directories?  (That one's just grasping at a straw; I don't
*think* VPATH should have anything to do with this...)

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3623: initialisation probl.
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #3614: pg_config returns incorrect information for includedir-server