[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#326457: qt-x11-free: FTBFS: Cannot find postgresql server headers



Package: qt-x11-free
Severity: serious
Version: 3:3.3.4-7

>From my build log, with postgresql packages from current unstable:

...
g++ -c -pipe -I/usr/include/mysql -I/usr/include/freetype2 -I/usr/include/postgresql -fno-exceptions -Wall -W -O2 -fPIC  -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED -I/tmp/buildd/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I.moc/release-shared/ -o .obj/qsql_psql.o ../../../../src/sql/drivers/psql/qsql_psql.cpp
../../../../src/sql/drivers/psql/qsql_psql.cpp:50:22: error: postgres.h: No such file or directory
../../../../src/sql/drivers/psql/qsql_psql.cpp:57:29: error: catalog/pg_type.h: No such file or directory
../../../../src/sql/drivers/psql/qsql_psql.cpp: In function 'QVariant::Type qDecodePSQLType(int)':
../../../../src/sql/drivers/psql/qsql_psql.cpp:127: error: 'BOOLOID' was not declared in this scope
...
make[4]: *** [.obj/qsql_psql.o] Error 1
make[4]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4/plugins/src/sqldrivers/psql'
make[3]: *** [sub-psql] Error 2
make[3]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4/plugins/src/sqldrivers'
make[2]: *** [sub-sqldrivers] Error 2
make[2]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4/plugins/src'
make[1]: *** [sub-plugins] Error 2
make[1]: Leaving directory `/tmp/buildd/qt-x11-free-3.3.4'
make: *** [libqt-stamp] Error 2

You can probably fix this by adding postgresql-server-dev-8.0 to the
Build-Depends and adding -I`pg_config --includedir-server` to the
include flags.

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card



Reply to: