[MacPorts] #48649: qgis install fails due to qt4-mac/qt5-mac conflict

MacPorts noreply at macports.org
Sat Feb 6 14:10:55 PST 2016


#48649: qgis install fails due to qt4-mac/qt5-mac conflict
---------------------+---------------------
  Reporter:  fw@…    |      Owner:  vince@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.3
Resolution:          |   Keywords:
      Port:  qgis    |
---------------------+---------------------

Comment (by fw@…):

 I was able to successfully install qgis +grass now, after uninstalling
 qwt52 to permit it to install the conflicting qwt61.  I had no dependents
 for qwt52, so it was probably just a leftover from the earlier qgis
 install.

 However, an attempted build of qgis +grass +qt5 failed in the configure
 phase.  Here is what's probably the relevant logfile excerpt:
 {{{
 :info:configure CMake Error at cmake/FindQScintilla.cmake:58 (FILE):
 :info:configure   file failed to open for reading (No such file or
 directory):
 :info:configure
 :info:configure     /opt/local/libexec/qt5/include/Qsci/qsciglobal.h
 :info:configure Call Stack (most recent call first):
 :info:configure   CMakeLists.txt:309 (FIND_PACKAGE)
 :info:configure
 :info:configure
 :info:configure -- Found QScintilla2:
 /opt/local/libexec/qt5/lib/libqscintilla2.dylib ()
 :info:configure CMake Error at cmake/FindQCA.cmake:88 (message):
 :info:configure   Could not find QCA >= 2.0.3
 :info:configure Call Stack (most recent call first):
 :info:configure   CMakeLists.txt:312 (FIND_PACKAGE)
 :info:configure
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 }}}
 The qscintilla and qca packages are installed:
 {{{
 MacPro:~ fw$ port installed qscintilla
 The following ports are currently installed:
   qscintilla @2.9.1_0 (active)
 MacPro:~ fw$ port installed qca
 The following ports are currently installed:
   qca @2.1.0_1+qt5 (active)
 }}}
 So the original problem reported in this ticket is in fact resolved, due
 to the ability of qt4 and qt5 to coexist, but qgis still doesn't work with
 qt5.  That might deserve a new ticket (while closing this one).

 I'll attach the complete logfile of the failure, anyway.

-- 
Ticket URL: <https://trac.macports.org/ticket/48649#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list