[PyQt] Compiling PyQt 4.9.1 with SIP 4.13.3

2012-06-25 Thread 拉佛 薩

Hi All,
I'm having a trouble compiling the PyQt 4.9.1 against SIP 4.13.3.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?
My Linux distribution is Scientific Linux 
6.2:https://www.scientificlinux.org/news/sl62

Thanks!
Michael 
  ___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Compiling PyQt 4.9.1 with SIP 4.13.3

2012-06-23 Thread Phil Thompson
On Fri, 22 Jun 2012 22:47:27 +, 拉佛 薩 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 listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Compiling PyQt 4.9.1 with SIP 4.13.3

2012-06-22 Thread 拉佛 薩

Hi All,
I'm having a trouble compiling the PyQt 4.9.1 against SIP 4.13.3.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!
Michael   ___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt