[MacPorts] #26943: KDE4 apps ceased working after qt4-mac upgrade, and after a while configure would not find cmake and qmake

MacPorts noreply at macports.org
Fri Oct 22 01:06:36 PDT 2010


#26943: KDE4 apps ceased working after qt4-mac upgrade, and after a while configure
would not find cmake and qmake
-------------------------------------------+--------------------------------
 Reporter:  ygramul.el.multiple@…          |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:                                       
Component:  ports                          |     Version:  1.9.1                                
 Keywords:                                 |        Port:  kile-devel, attica                   
-------------------------------------------+--------------------------------
 Hello,
 I'm running Mac OS X Leopard, version 10.5.8; my Xcode version is 3.1.2

 I had several problems today, one after another. Maybe they should
 constitute different tickets, but I thought it better to tell the whole
 story first. From the beginning:

 1- Today I upgraded several ports, among them qt4-mac from version 4.6.3_6
 to 4.7.0_0. Everything was fine.

 2- After that I rebooted the system and tried to initiate kile (I had the
 kile-devel @2.1b4 installed). It failed to initiate, and when called from
 the terminal, it displayed the following message:

 {{{
 LSOpenFromURLSpec() failed with error -10810.
 }}}

 It was the same with other KDE4 applications, such as okular.

 3- I thought that maybe the major version upgrade of qt4 was the cause,
 and decided to recompile kile-devel and its dependencies. My last install
 was with the default variant, and this time I selected the +debug variant.
 Macports spent a while recompiling qt4-mac and other dependencies in that
 variant. Everything seemed all right.

 4- Suddenly, when compiling attica (@0.2.0), an error occured:

 {{{
 CMake Error at /opt/local/share/cmake/modules/FindQt4.cmake:1240
 (MESSAGE):
   Qt qmake not found!
 Call Stack (most recent call first):
   lib/CMakeLists.txt:10 (find_package)
 }}}

 It seems not to find qmake, but it is in my path and I can use it. It also
 complained about phonon, though it had already been successfully compiled
 and installed:

 {{{
 Error: ######################################################
 Error: A copy of phonon could not be found. Please install
 Error: qt4-mac to provide this. If you have already done this
 Error: your Qt installation is missing the phonon backend.
 Error: Please reinstall Qt4 with phonon support.
 Error: ######################################################
 }}}

 I attach the log file for attica.

 5- After that, I decided that I might try to recompile kile-devel without
 the +debug flag. I uninstalled it and installed it again. It complained
 again about phonon:

 {{{
 Error: ######################################################
 Error: A copy of phonon could not be found. Please install
 Error: qt4-mac to provide this. If you have already done this
 Error: your Qt installation is missing the phonon backend.
 Error: Please reinstall Qt4 with phonon support.
 Error: ######################################################
 }}}

 and then gave another error:

 {{{
 CMake Error at /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:98
 (MESSAGE):
   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
 Call Stack (most recent call first):
   CMakeLists.txt:5 (find_package)
 }}}

 cmake is installed and accessible from the shell.

 7- With this, the system has found a sort of equilibrium: kile-devel won't
 install and attica won't install. The currently active qt4-mac and phonon
 ports are qt4-mac @4.7.0_0+debug+quartz and phonon @4.4.2_1+debug.

 That's more or less the whole story. Seems that I did an awfully good mess
 today. Sorry for the chaotic ticket, but this is my first time... If you
 think it's better to split it, just tell me.

 Thanks,

 Al.

-- 
Ticket URL: <https://trac.macports.org/ticket/26943>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list