Re: Location of client header files - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Location of client header files
Date
Msg-id Pine.LNX.4.21.0011082053511.1138-100000@peter.localdomain
Whole thread Raw
In response to Location of client header files  ("Timothy H. Keitt" <Timothy.Keitt@SUNYSB.Edu>)
List pgsql-hackers
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/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: RE: [COMMITTERS] pgsql/src/backend/access/transam ( xact.c xlog.c)
Next
From: Tom Lane
Date:
Subject: Re: problems with configure