Opened 13 years ago

Closed 12 years ago

#32112 closed defect (fixed)

qgis +postgis: no files matched glob pattern "postgresql*"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: qgis

Description

qgis +postgis cannot be installed if one does not already have a postgresql port installed:

$ sudo port install qgis +postgis
Error: qgis: Error executing postgis: no files matched glob pattern "postgresql*"
Error: Unable to open port: Error evaluating variants
To report a bug, see <http://guide.macports.org/#project.tickets>

The way the postgis variant is programmed is extremely weird. Ports should not change their behavior based on what other ports are already installed.

Change History (5)

comment:1 Changed 13 years ago by Veence (Vincent)

Thanks Ryan for pointing this out, I’m going to have a look at this ASAP. I must clean up all the oddities in the Portfile before the next version arrives.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

It's important, in this new world in which we build binaries of ports. The postgresql the user wants to use might not be the postgresql used on the buildbot, for example.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

jmr has fixed this specific error message in r87359/r87360 but the matter of qgis building itself differently depending on the installed postgresql version still remains. I imagine there should be postgresql variants for each supported version instead.

comment:4 Changed 13 years ago by Veence (Vincent)

I have modified the Portfile in r91391. You now have to choose explicitly between postgresql 9.0 or 9.1

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.