pg-config --includedir-server - Mailing list pgsql-bugs

From elein
Subject pg-config --includedir-server
Date
Msg-id 5.1.0.14.2.20020904160120.00a43ec0@pop.norcov.com
Whole thread Raw
Responses Re: pg-config --includedir-server
List pgsql-bugs
PostgreSQL 7.2.2 SuSe 7.3

This is a new installation not an update.  (New machine ;-)
If this is a bug it probably will only affect new/clean installations
of 7.2.*

Per docs 12.5.6 Writing Code I ran pg_config --includedir-server to verify
the location on the C include files.  It said /usr/local/pgsql/include/server.

Neither the files nor the directory were there, however.

pg_config --includedir showed one level up and it had some .h files
and the internal and libpq include directories.  postgres.h was not anywhere.

Either the install forgot this piece or I needed to configure with
some flag before I built.  Configure only seems to know about --includedir
not --includedir-server, though.  I did not configure with --includedir
as I believe it should be used to overwrite the default.  (Correct me if
that is not the case.)

Either configure needs to have the includedir-server option added
or revert to includedir, but the include files need to go somewhere
besides the source tree.

For new users this is sort of serious, however, new users probably
won't go looking for the header files right away.

I'm not following the bug mailing list, so please copy me on responses
especially if I am way out in left field.

elein
elein@norcov.com

:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:
     elein@norcov.com   (510)543-6079
     "Taking a Trip. Not taking a Trip." --anonymous
:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bug #756: suggestion: file with password instead of
Next
From: Rod Taylor
Date:
Subject: Re: Bug #756: suggestion: file with password instead of