Location of client header files

Started by Timothy H. Keittabout 25 years ago2 messages
#1Timothy H. Keitt
Timothy.Keitt@SUNYSB.Edu

I need to compile a complete list of different locations to find
"libpq-fe.h" in various PostgreSQL distributions so that I can
automatically add the correct path when compiling a client application.
Please post the location "libpq-fe.h" for your distribution and I will
compile a list and post it back to pgsql-hackers.

Thanks.
Tim

--
Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Phone: 631-632-1101, FAX: 631-632-7626
http://life.bio.sunysb.edu/ee/keitt/

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Timothy H. Keitt (#1)
Re: Location of client header files

Timothy H. Keitt writes:

I need to compile a complete list of different locations to find
"libpq-fe.h" in various PostgreSQL distributions so that I can
automatically add the correct path when compiling a client application.
Please post the location "libpq-fe.h" for your distribution and I will
compile a list and post it back to pgsql-hackers.

Besides the default /usr/local/pgsql/include, good candidates are
/usr/include/pgsql (RPMs) and /usr/include/postgresql (Debian?). Future
versions will provide a program 'pg_config' in the style of gtk-config
that will print the actual installation directory.

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/