pg-config --includedir-server

From: elein <elein(at)norcov(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Cc: elein(at)norcov(dot)com
Subject: pg-config --includedir-server
Date: 2002-09-04 23:18:06
Message-ID: 5.1.0.14.2.20020904160120.00a43ec0@pop.norcov.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)norcov(dot)com

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sean Chittenden 2002-09-05 00:38:00 Re: Schemas not available for pl/pgsql %TYPE....
Previous Message Tom Lane 2002-09-04 22:16:00 Re: Schemas not available for pl/pgsql %TYPE....