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

From Michael Akinde
Subject BUG #3614: pg_config returns incorrect information for includedir-server
Date
Msg-id 200709171336.l8HDasCJ041445@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3614: pg_config returns incorrect information for includedir-server
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3614
Logged by:          Michael Akinde
Email address:      michael.akinde@met.no
PostgreSQL version: 8.2.4
Operating system:   linux/Fedora Core 5
Description:        pg_config returns incorrect information for
includedir-server
Details:

Postgres server is configured and installed to
prefix=~/local/pgsql

Running:

pg_config --includedir-server

Returns:

~/local/pgsql/include/postgresql/server

However, the server files are in fact installed to:

~/local/pgsql/include/server

This is a problem for the compilation/installation of packages that utilize
this option - e.g., postgis.

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.

pgsql-bugs by date:

Previous
From: "jack"
Date:
Subject: BUG #3613: Numeric type problem
Next
From: Neil Conway
Date:
Subject: Re: psql CLI: warn about ongoing transaction on exit