[MacPorts] #50946: Build failure in qgis
MacPorts
noreply at macports.org
Tue May 17 13:04:48 PDT 2016
#50946: Build failure in qgis
-------------------------+---------------------
Reporter: hansen.m@… | Owner: vince@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: qgis |
-------------------------+---------------------
Comment (by f.baart@…):
Not sure if this helps, but I noticed that there is some cmake magic [1]
going on that generates a wrapper script if the pyuic4 script is not
present. The script was named pyuic4-2.7 instead of pyuic4.
Another thing I noticed was that in another pyuic4 wrapper script [2] the
executable python is called explicitly, which for me was referring to
python35, without PyQt4 installed.
To get qgis building I had made 2 changes:
* I had to port select python27 and then set it back afterwards.
* I also created a symbolic link from pyuic4 to pyuic4-2.7 (in
/opt/local/bin), but I did not test it without this link.
[1] in the file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis//qgis/work/qgis-2.14.2/mac/cmake/1qt.cmake.in
[2] the file
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.2/scripts/pyuic4-wrapper.sh
--
Ticket URL: <https://trac.macports.org/ticket/50946#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list