[PyKDE] Compiling SIP in Mandrake 8.2 with Python 2.2

gvermeul at grenoble.cnrs.fr gvermeul at grenoble.cnrs.fr
Mon Jan 20 08:03:01 GMT 2003


> Hi,
> 
>  I'm having some trouble to compile sip. Can anybody lend a hand ?
>  I tried sip-3.3.2 and sip-x11-gpl-3.5 both with the same results:
> 
> $ python build.py -l qt install
> ******************************************************************************
> Building SIP 3.3.2 for Python 2.2 on linux-i386.
> ******************************************************************************
> ******************************************************************************
> /usr/lib/python2.2/site-packages is the SIP module installation directory.
> ******************************************************************************
> ******************************************************************************
> /usr/include/python2.2 contains Python.h.
> ******************************************************************************
> ******************************************************************************
> /usr/lib/qt2 is the Qt base directory.
> ******************************************************************************
> ******************************************************************************
> /usr/lib/qt2/include contains qglobal.h.
> ******************************************************************************
> ******************************************************************************
> Qt 2.3.1 is being used.
> ******************************************************************************
> ******************************************************************************
> /usr/bin/tmake will be used to generate Makefiles.
> ******************************************************************************
> ******************************************************************************
> Qt thread support is disabled.
> ******************************************************************************
> ******************************************************************************
> /usr/bin/make will be used as the make program.
> ******************************************************************************
> ******************************************************************************
> Error: /usr/bin/tmake failed with an exit code of 127.
> ******************************************************************************
> 
> The file qttest was created in a /tmp/ subdir!
> Any ideas ?
> 
> IMPORTANT: Please cc to my e-mail address any response because I have
>            not yet subscribed to the list.
> 
> Thanks in advance.
> Rod Senra
> rsenra at acm.org
> 
> PS: My Python version:
>     Python 2.2 (#1, Feb 24 2002, 16:21:58)
>     [GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux-i386
> 

Maybe moc or some other files are missing.

Do you have installed the libqt2-devel-2.3.1 RPM?

Be careful with Mandrake, because it allows to install Qt3 and Qt2
on the same system. So "export QTDIR=/usr/lib/qt2".

Gerard

PS: if I remember well you should do

python build.py "your options"
make
make install



-------------------------------------------------------------
This message was sent using HTTPS service from CNRS Grenoble.
         --->   https://grenoble.cnrs.fr   <---         





More information about the PyQt mailing list