[MacPorts] #22370: py26-pyqt4 4.6.1_0 does not build Phonon module

MacPorts noreply at macports.org
Wed Nov 4 11:59:21 PST 2009


#22370: py26-pyqt4 4.6.1_0 does not build Phonon module
-------------------------------+--------------------------------------------
 Reporter:  des@…              |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.1                                
 Keywords:                     |        Port:  py26-pyqt4 qt4-mac                   
-------------------------------+--------------------------------------------
 The Phonon module in py26-pyqt4 does not get built with the rest of PyQt4,
 even though Phonon is enabled in my Qt4 build.  (I am using qt4-mac
 @4.5.3_0+darwin_10 .)

 The problem seems to be that Phonon is not detected properly during the
 configure phase.  I ran the exact configure.py command run by "port
 install", but added `--verbose`, which produced the following error [added
 line-breaks and indentation so the formatting doesn't get screwed up]:

 {{{
 nebelung> /opt/local/bin/python2.6
     configure.py -g -q /opt/local/libexec/qt4-mac/bin/qmake --confirm-
 license
     LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib" --verbose
 ...
 Checking to see if the phonon module should be built...
 /usr/bin/g++-4.2 -DQT_NO_DEBUG -DQT_PHONON_LIB -I.
     -I/opt/local/libexec/qt4-mac/mkspecs/default
     -I/opt/local/libexec/qt4-mac/lib/phonon.framework/Headers
     -I/opt/local/libexec/qt4-mac/include -pipe -Os -w cfgtest_phonon.cpp
 -o
     cfgtest_phonon -F/opt/local/libexec/qt4-mac/lib
     -L/opt/local/libexec/qt4-mac/lib -F/opt/local/Library/Frameworks
     -L/opt/local/lib -framework phonon -L/opt/local/lib
     -L/opt/local/libexec/qt4-mac/lib -F/opt/local/libexec/qt4-mac/lib
     -framework QtDBus -L/opt/local/lib -L/opt/local/libexec/qt4-mac/lib
     -F/opt/local/libexec/qt4-mac/lib -ldbus-1 -lpthread -framework QtXml
     -framework QtGui -framework Carbon -framework AppKit -lpng -framework
 QtCore
     -lz -lm -framework ApplicationServices
 In file included from cfgtest_phonon.cpp:1:
 /opt/local/libexec/qt4-mac/lib/Phonon.framework/Headers/VideoWidget:1:38:
 error:
     ../../phonon/videowidget.h: No such file or directory
 cfgtest_phonon.cpp: In function ‘int main(int, char**)’:
 cfgtest_phonon.cpp:5: error: expected type-specifier before ‘Phonon’
 cfgtest_phonon.cpp:5: error: expected `;' before ‘Phonon’
 ...
 }}}

 This used to work in earlier, 4.5.x versions of PyQt4.  Indeed, I
 confirmed just now that building PyQt4 4.5.4 by hand successfully detects
 Phonon.

 I have also confirmed that the videowidget.h file does not exist on my
 system.  That suggests this might be a problem with qt4-mac -- but if that
 is the case, I don't understand why 4.5.4 builds correctly.  Perhaps 4.6
 requires some additional features not present in qt4-mac?

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


More information about the macports-tickets mailing list