Bug#313092: exim4: FTBFS: libpq-fe.h: No such file or directory

Kurt Roeckx Kurt Roeckx <kurt@roeckx.be>, 313092@bugs.debian.org
Sat, 11 Jun 2005 23:46:43 +0200


Package: exim4
Version: 4.51-1
Severity: serious

Hi,

Your package is failing to build with the following error:
gcc -c -g -Wall  -D_LARGEFILE_SOURCE -fno-strict-aliasing -O2
-I/usr/include/mysql -I/usr/include/postgresql pgsql.c
pgsql.c:32:52: libpq-fe.h: No such file or directory

You seems to have changed to the new libpq-dev package, but you
didn't do the whole transition properly.  /usr/include/postgresql
is not the correct location of the include files.  You should use
pg_config --includedir as the announcement indicated.  This
currently returns /usr/include/postgresql/8.0.

PS: It just continues building and then later fails to find the
lookups.a file.  I suggest you make it stop the build at the
first error.


Kurt