Opened 11 years ago
Closed 11 years ago
#2678 closed defect (fixed)
Build fails with multiple postgresql servers installed
Reported by: | strk | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.1.2 |
Component: | QA/buildbots | Version: | 2.1.x |
Keywords: | Cc: |
Description
I'm not sure if this ticket is valid, anyway travis build is failing due to multiple postgresql server dev headers being installed.
The problem seems to be that ./configure finds PostgreSQL headers for 9.3.3: https://travis-ci.org/postgis/postgis/builds/21026125#L955 while the default environment gets psql(1) connect to PostgreSQL 9.1.1: https://travis-ci.org/postgis/postgis/builds/21026125#L683
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
pg_config --version gives 9.3.3: https://travis-ci.org/postgis/postgis/builds/21026125#L679
We should maybe check the version of the database we connect to and refuse to run "make check" for regress if the database version doesnt' match the built against version.
In any case for travis it'd be better to only build against the installed version (9.1.1). I'll try that.