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.