QGIS trunk failed to build with PostgreSQL 9.3.0 #17341
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Build/Install
Related to compiling or installing QGIS
Author Name: Xavier Fung (Xavier Fung)
Original Redmine Issue: 8599
Affected QGIS version: master
Redmine category:build/install
Cannot build QGIS trunk version with PostgreSQL 9.3.0. The header file location has changed.
Scanning dependencies of target postgresprovider
[ 37%] Building CXX object src/providers/postgres/CMakeFiles/postgresprovider.dir/qgspostgresprovider.cpp.o
In file included from /usr/include/libpq-fe.h:29:0,
from /home/xavier/dev/qgis-git/src/qgis/src/providers/postgres/qgspostgresconn.h:31,
from /home/xavier/dev/qgis-git/src/qgis/src/providers/postgres/qgspostgresprovider.h:24,
from /home/xavier/dev/qgis-git/src/qgis/src/providers/postgres/qgspostgresprovider.cpp:32:
/usr/include/postgres_ext.h:26:27: fatal error: pg_config_ext.h: No such file or directory
#include "pg_config_ext.h"
^
compilation terminated.
make[2]: *** [src/providers/postgres/CMakeFiles/postgresprovider.dir/qgspostgresprovider.cpp.o] Error 1
make[1]: *** [src/providers/postgres/CMakeFiles/postgresprovider.dir/all] Error 2
make: *** [all] Error 2
A temp workaround is to symlink pg_config_ext.h to /usr/include.
The text was updated successfully, but these errors were encountered: