cmake don't find Postgres when Postgres is installed with "postgresql-9.3.4-3-linux-x64.run" installer (http://www.enterprisedb.com/products-services-training/pgdownload) Postgres is installed in /opt/PostgreSQL/9.3 Reproducible: Always Expected Results: Add a file "FindProgreSQL.cmake" in cmake/modules to find postgres install
Hi, thanks for the report. We're using FindCalligraPostgreSQL.cmake (in SOURCEDIR/cmake/modules/FindCalligraPostgreSQL.cmake) to be independent of possible outdated FindPostgreSQL.cmake. Our macro finds three required elements, my values for example: PostgreSQL_INCLUDE_DIR:PATH=/usr/include/pgsql PostgreSQL_LIBRARY:FILEPATH=/usr/lib64/libpq.so PostgreSQL_TYPE_INCLUDE_DIR:PATH=/usr/include/pgsql/server
Created attachment 91115 [details] more search dirs Could you please try this patch?
If we find solution before Saturday it can go to 2.9.0. If not, 2.9.1.
Setting for 2.9.5 as it's still not fixed. Waiting for more info.
kdb.git/cmake/modules/FindPostgreSQL.cmake (3.0) and kexi.git/cmake/modules/FindKexiPostgreSQL.cmake (3.0) now contain PostgreSQL_KNOWN_VERSIONS variable that supports up to 9.6. These tests are used now so closing this bug. Feel free to reopen if there are further issues.