[MacPorts] #41704: qgis not compiled on 10.9
#41704: qgis not compiled on 10.9 ------------------------+-------------------------------- Reporter: mabouali@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ------------------------+-------------------------------- Hi, qgis is not compiling on MAC OSX 10.9 (Maverick) One problem is that QGIS depends on py27-pyqt4-devel and py27-qscintilla however, py27-qscintilla depends on py27-pyqt4. But you can not have both py27-pyqt4 and py27-pyqt4-devel. I edited the dependency of qgis using "sudo port edit --edit nano egis" and changed the dependency to only py27-pyqt4, however it is still not compiling. It fails at build stage. Any solution??? -- Ticket URL: <https://trac.macports.org/ticket/41704> MacPorts <http://www.macports.org/> Ports system for OS X
#41704: qgis not compiled on 10.9 -------------------------+-------------------------------- Reporter: mabouali@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by mabouali@…): I think I solved it myself. if you got the same problem as I had here is the solution: issue: sudo port edit --editor nano py27-qscintilla find the line that it is appending the dependency and instead of using py27-pyqt4 by default change it so that it uses py27-pyqt4-devel. then just go and install qgis as usual, i.e. sudo port install qgis. cheers, Replying to [ticket:41704 mabouali@…]:
Hi, qgis is not compiling on MAC OSX 10.9 (Maverick)
One problem is that QGIS depends on py27-pyqt4-devel and py27-qscintilla however, py27-qscintilla depends on py27-pyqt4.
But you can not have both py27-pyqt4 and py27-pyqt4-devel.
I edited the dependency of qgis using "sudo port edit --edit nano egis" and changed the dependency to only py27-pyqt4, however it is still not compiling. It fails at build stage.
Any solution???
-- Ticket URL: <https://trac.macports.org/ticket/41704#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41704: qgis depends on py27-pyqt4-devel -------------------------+-------------------------------- Reporter: mabouali@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: qgis | -------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: vince@… (added) * resolution: => invalid * port: => qgis Comment: You do not need to edit any file. Please revert your edits (or, if you use the usual rsync for syncing, run "sudo port sync" to revert them automatically). qgis's python27 variant does indeed declare a dependency on py27-pyqt4-devel. I assume that is intentional and do not recommend trying to circumvent that. Presumably qgis requires features of pyqt4 that are not available in the stable version yet, therefore the dependency has been made on the development version. Most other ports that depend on the Python 2.7 version pyqt4, such as py27-qscintilla, can use either py27-pyqt4 or py27-pyqt4-devel, whichever you have installed. So if you already have py27-pyqt4 installed, the solution is to deactivate it: {{{ sudo port -f deact py27-pyqt4 }}} Then install py27-pyqt4-devel: {{{ sudo port install py27-pyqt4-devel }}} Now you can install qgis. -- Ticket URL: <https://trac.macports.org/ticket/41704#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41704: qgis depends on py27-pyqt4-devel -------------------------+-------------------------------- Reporter: mabouali@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: qgis | -------------------------+-------------------------------- Comment (by vince@…): Sorry I missed that one. Great you were able to figure out the best way to fix that problem! -- Ticket URL: <https://trac.macports.org/ticket/41704#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts