On Fri, 22 Jun 2012 22:47:27 +0000, 拉佛 薩 <sera-p...@hotmail.com> wrote: > Hi All, > I'm having a trouble compiling the PyQt 4.9.1 against SIP 4.13.3.
Why not 4.9.2 (although it shouldn't make any difference to your problem)? > I'm > getting the following error during the compilation: > > PyQt-x11-gpl-4.9.1/sip/phonon/abstractaudiooutput.sip:33:33: error: > abstractaudiooutput.h: No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/abstractvideooutput.sip:33:33: > error: abstractvideooutput.h: No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/audiooutput.sip:33:25: error: > audiooutput.h: No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/backendcapabilities.sip:33:33: > error: backendcapabilities.h: No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/effect.sip:33:20: error: effect.h: > No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/abstractaudiooutput.sip:33:33: > error: abstractaudiooutput.h: No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/abstractvideooutput.sip:33:33: > error: abstractvideooutput.h: No such file or > directoryPyQt-x11-gpl-4.9.1/sip/phonon/audiooutput.sip:33:25: error: > audiooutput.h: No such file or directory... > It seems I need to install the Phonon library so I tried Phonon 4.6.0 and > add an include path in the Makefile in the _qt folder.I managed to > successfully compile PyQt but I'm getting the following error when > importing the module: > > ImportError: PyQt4/_qt.so: undefined symbol: > _ZNK6Phonon11VideoWidget8snapshotEv > Any idea what I was missing?Thanks! Phonon is part of Qt. It's difficult to say what you need to install because you haven't said anything about your Linux(?) distribution. Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt