Ticket #90 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Building pdns on RHEL4+pgsql 8.1 fails - can't find headers

Reported by: anon Owned by: somebody
Priority: normal Milestone:
Component: component1 Version: 2.0
Severity: normal Keywords:


During the configure phase, I'm seeing the following:

checking for PgSQL include directory... configure: error: Didn't find the PgSQL include dir in '/usr/local/pgsql/include/pgsql /usr/local/include/postgresql/ /usr/local/include /opt/pgsql/include/pgsql /opt/pgsql/include /usr/include/pgsql/ /usr/include/postgresql'

/usr/include/postgresql exists but the header files now seem to live in /usr/include/postgresql/server. The configure.in seems a little opaque in terms of adding to the possible header locations.

I'm using RHEL4 and the pgsql rpms from the webapps channel (8.1.3)

Change History

Changed 9 years ago by anon

On Fedora 6, libpq-fe.h is installed in /usr/include, I guess it's the same for RHEL4. Don't forget to install the postgresql-devel package. You can tell configure where to find the postgresql headers with .configure --with-modules="gmysql" --with-pgsql-includes=/usr/include.

Maybe Bert can add /usr/include to the list of locations where autoconf searches for the postgres headers.

Changed 9 years ago by ahu

  • status changed from new to closed
  • resolution set to fixed

Fixed by commit 998

Note: See TracTickets for help on using tickets.