Bug 344255 - PostgreSQL driver dependencies not found on Kexi configure stage
Summary: PostgreSQL driver dependencies not found on Kexi configure stage
Status: CLOSED UPSTREAM
Alias: None
Product: KEXI
Classification: Applications
Component: KexiDB (show other bugs)
Version: 2.9.5
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 20:38 UTC by phil.tagada
Modified: 2016-11-01 21:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
more search dirs (908 bytes, patch)
2015-02-16 21:34 UTC, Jarosław Staniek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phil.tagada 2015-02-16 20:38:53 UTC
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
Comment 1 Jarosław Staniek 2015-02-16 21:29:12 UTC
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
Comment 2 Jarosław Staniek 2015-02-16 21:34:33 UTC
Created attachment 91115 [details]
more search dirs

Could you please try this patch?
Comment 3 Jarosław Staniek 2015-02-18 23:35:42 UTC
If we find solution before Saturday it can go to 2.9.0. If not, 2.9.1.
Comment 4 Jarosław Staniek 2015-06-10 14:26:07 UTC
Setting for 2.9.5 as it's still not fixed. Waiting for more info.
Comment 5 Jarosław Staniek 2016-11-01 21:42:57 UTC
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.