Re: [gentoo-user] Impossible to compile PyQt

2007-10-25 Thread econti

Willie Wong ha scritto:

On Wed, Oct 24, 2007 at 05:24:19PM +0200, Penguin Lover econti squawked:
  

Hi all,
the upgrade of my system has had another stop.

This time due to PyQt. I googled and found many problems regarding PyQt, 
but, because of my english, I did not understand what exactly to do.





I'm not quite sure, but might be related to bug190582

try either emerge PyQT-3.17.3

or 


downgrade dev-python/sip to 4.5.2-r1

Best of luck, 


W
  

The last one worked!

Thank you.

emilio

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Impossible to compile PyQt

2007-10-24 Thread econti

Hi all,
the upgrade of my system has had another stop.

This time due to PyQt. I googled and found many problems regarding PyQt, 
but, because of my english, I did not understand what exactly to do.


Here is my error log:
--
 Unpacking source...
 Unpacking PyQt-x11-gpl-3.17.tar.gz to 
/var/tmp/portage/dev-python/PyQt-3.17/work

 Source unpacked.
 Compiling source in 
/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17 ...

cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QInterlaceStyle'
cfgtest.cpp:5: error: expected `;' before 'QInterlaceStyle'
cfgtest.cpp:1:29: error: qwindowsxpstyle.h: No such file or directory
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QWindowsXPStyle'
cfgtest.cpp:5: error: expected `;' before 'QWindowsXPStyle'
QScintilla 1.5.1 is being used.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the qtext module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
Checking to see if the QWindowsStyle class is built in...
Qt v3.3.8 free edition is being used.
SIP 4.7 is being used.
These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml 
qtgl qtui

qtsql qtext.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in /usr/lib64/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
The Qt header files are in /usr/qt/3/include.
The qt-mt Qt library is in /usr/qt/3/lib64.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the qt module...
Creating the Makefile for the qt module...
Generating the C++ source for the qtext module...
Creating the Makefile for the qtext module...
Generating the C++ source for the qtgl module...
Creating the Makefile for the qtgl module...
Generating the C++ source for the qtui module...
Creating the Makefile for the qtui module...
Generating the C++ source for the qtcanvas module...
Creating the Makefile for the qtcanvas module...
Generating the C++ source for the qtnetwork module...
Creating the Makefile for the qtnetwork module...
Generating the C++ source for the qtsql module...
Creating the Makefile for the qtsql module...
Generating the C++ source for the qttable module...
Creating the Makefile for the qttable module...
Generating the C++ source for the qtxml module...
Creating the Makefile for the qtxml module...
Creating top level Makefile...
Creating pyuic Makefile...
Creating pylupdate Makefile...
Creating pyqtconfig.py...
make[1]: Entering directory 
`/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=k8 -O2 -pipe 
-fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 
-I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include 
-o sipqtcmodule.o sipqtcmodule.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=k8 -O2 -pipe 
-fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 
-I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include 
-o sipqtQPtrList.o sipqtQPtrList.cpp

sip/qt/qdir.sip:47:28: error: sipqtQFileInfo.h: No such file or directory
x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=k8 -O2 -pipe 
-fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 
-I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include 
-o sipqtQWorkspace.o sipqtQWorkspace.cpp
sip/qt/qwidgetlist.sip:38:26: error: sipqtQWidget.h: No such file or 
directory
sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or 
directory
sipqtcmodule.cpp:13422: error: 'sipQtFindConnection' was not declared in 
this scope

make[1]: *** [sipqtcmodule.o] Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: *** [sipqtQWorkspace.o] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'

make: *** [all] Error 2

!!! ERROR: dev-python/PyQt-3.17 failed.

Re: [gentoo-user] Impossible to compile PyQt

2007-10-24 Thread Willie Wong
On Wed, Oct 24, 2007 at 05:24:19PM +0200, Penguin Lover econti squawked:
 Hi all,
 the upgrade of my system has had another stop.
 
 This time due to PyQt. I googled and found many problems regarding PyQt, 
 but, because of my english, I did not understand what exactly to do.
 

I'm not quite sure, but might be related to bug190582

try either emerge PyQT-3.17.3

or 

downgrade dev-python/sip to 4.5.2-r1

Best of luck, 

W
-- 
You're very sure of your facts,  he said at last, I 
couldn't trust the thinking of a man who takes the Universe 
- if there is one - for granted. 
Sortir en Pantoufles: up 320 days, 15:39
-- 
[EMAIL PROTECTED] mailing list