Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS trunk failed to build with PostgreSQL 9.3.0 #17341

Closed
qgib opened this issue Sep 11, 2013 · 1 comment
Closed

QGIS trunk failed to build with PostgreSQL 9.3.0 #17341

qgib opened this issue Sep 11, 2013 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@qgib
Copy link
Contributor

qgib commented Sep 11, 2013

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.

@qgib
Copy link
Contributor Author

qgib commented Sep 15, 2013

Author Name: Xavier Fung (Xavier Fung)


I can confirm that this is no longer an issue as an updated package from Arch added back the required header file.


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant