need PyQt installation help for Debian linux
hi, i am currently trying to install PyQt according to the instructions given on the website service-spi.web.cern.ch/service-spi/external/pyqt/3.11/rh73_gcc32/_SPI/install.txt
the website says to install Qt, then followed by qscitilla, sip and finally PyQt. i encountered a problem when trying to 'make' PyQt.
the error message is as follow:
make[1]: Entering directory `/usr/PyQt-x11-gpl-3.13/qt'
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -fno-exceptions -fno-rtti -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBU
G -DQT_THREAD_SUPPORT -I. -I/usr/qt-embedded-free-3.3.3/include/python2.3 -I/usr/local/include/python2.3 -I/usr/qt-e
mbedded-free-3.3.3/include -o sipqtcmodule.o sipqtcmodule.cpp
sipqtcmodule.cpp: In function `struct PyObject * func_qAppClass(PyObject *, PyObject *)':
sipqtcmodule.cpp:11172: implicit declaration of function `int qAppClass(...)'
sipqtcmodule.cpp:11172: assignment to `const char *' from `int' lacks a cast
sipqtcmodule.cpp: In function `struct PyObject * func_qt_xrootwin(PyObject *, PyObject *)':
sipqtcmodule.cpp:11194: implicit declaration of function `int qt_xrootwin(...)'
sipqtcmodule.cpp: In function `struct PyObject * func_qt_xscreen(PyObject *, PyObject *)':
sipqtcmodule.cpp:11229: implicit declaration of function `int qt_xscreen(...)'
sipqtcmodule.cpp: In function `struct PyObject * func_qt_xdisplay(PyObject *, PyObject *)':
sipqtcmodule.cpp:11251: implicit declaration of function `int qt_xdisplay(...)'
sipqtcmodule.cpp:11251: assignment to `void *' from `int' lacks a cast
make[1]: *** [sipqtcmodule.o] Error 1
make[1]: Leaving directory `/usr/PyQt-x11-gpl-3.13/qt'
make: *** [all] Error 2
any advice is greatly appreciated.
thanks!
Last edited by kst; 10-28-2004 at 10:13 PM.
|