Dear all,<br><br>I am trying to install the latest stable version of PyQt in my computer (Red Hat Enterprise Linux 5).<br><br>First, I installed SIP from source code (sip-4.12.1.tar.gz) in a non-standard folder (/software/sip-4.12.1) using the following protocol<br>
based on configure, make and make install:<br><br>---------------------------------------------------------------------------------------------------------------------------------------------------<br>python configure.py --bindir /software/sip-4.12.1/ \<br>
--destdir /software/sip-4.12.1 --incdir /software/sip-4.12.1/ \<br>--sipdir /software/sip-4.12.1/ --static<br><br>This is SIP 4.12.1 for Python 2.4.3 on linux2.<br>The SIP code generator will be installed in /software/sip-4.12.1.<br>
The sip module will be installed in /software/sip-4.12.1.<br>The sip.h header file will be installed in /software/sip-4.12.1.<br>The default directory to install .sip files in is /software/sip-4.12.1.<br>The platform/compiler configuration is linux-g++.<br>
Creating siplib/sip.h...<br>Creating siplib/siplib.c...<br>Creating siplib/siplib.sbf...<br>Creating sipconfig.py...<br>Creating top level Makefile...<br>Creating sip code generator Makefile...<br>Creating sip module Makefile...<br>
<br>make<br><br>make[1]: Entering directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/sipgen'<br>gcc -c -pipe -O2 -w -DNDEBUG -I. -o main.o main.c<br>gcc -c -pipe -O2 -w -DNDEBUG -I. -o transform.o transform.c<br>
gcc -c -pipe -O2 -w -DNDEBUG -I. -o gencode.o gencode.c<br>gcc -c -pipe -O2 -w -DNDEBUG -I. -o extracts.o extracts.c<br>gcc -c -pipe -O2 -w -DNDEBUG -I. -o export.o export.c<br>gcc -c -pipe -O2 -w -DNDEBUG -I. -o heap.o heap.c<br>
gcc -c -pipe -O2 -w -DNDEBUG -I. -o parser.o parser.c<br>gcc -c -pipe -O2 -w -DNDEBUG -I. -o lexer.o lexer.c<br>g++  -o sip main.o transform.o gencode.o extracts.o export.o heap.o parser.o lexer.o<br>make[1]: Leaving directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/sipgen'<br>
make[1]: Entering directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/siplib'<br>gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o siplib.o siplib.c<br>gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o apiversions.o apiversions.c<br>
gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o descriptors.o descriptors.c<br>gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o qtlib.o qtlib.c<br>gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o threads.o threads.c<br>
gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o objmap.o objmap.c<br>gcc -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o voidptr.o voidptr.c<br>g++ -c -pipe -O2 -w -DNDEBUG -DSIP_STATIC_MODULE -I. -I/usr/include/python2.4 -o bool.o bool.cpp<br>
rm -f libsip.a<br>ar cqs libsip.a siplib.o apiversions.o descriptors.o qtlib.o threads.o objmap.o voidptr.o bool.o<br>make[1]: Leaving directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/siplib'<br><br>make install<br>
<br>make[1]: Entering directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/sipgen'<br>cp -f sip /software/sip-4.12.1/sip<br>make[1]: Leaving directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/sipgen'<br>
make[1]: Entering directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/siplib'<br>cp -f libsip.a /software/sip-4.12.1/libsip.a<br>cp -f /share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/siplib/sip.h /software/sip-4.12.1/sip.h<br>
make[1]: Leaving directory `/share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/siplib'<br>cp -f sipconfig.py /software/sip-4.12.1/sipconfig.py<br>cp -f /share/lcbcpc35/software/SOURCES/sip/sip-4.12.1/sipdistutils.py /software/sip-4.12.1/sipdistutils.py<br>
--------------------------------------------------------------------------------------------------------------------------------------------<br><br>Then, I included the non-standard folder in my $PATH  variable so that:<br>
<br>$ which sip<br>/software/sip-4.12.1/sip<br><br>And finally, I tried to install PyQt-x11-gpl-4.8.3 from the sources. But when i tried to run configure, I found the following error message:<br><br>$ python configure.py<br>
Error: This version of PyQt requires SIP v4.12.1 or later<br><br>I tried to find information about this issue, but I could not solve the problem. Could anybody shed light on this problem?<br>Thanks a lot in advance,<br><br>
Pablo.<br><br><br><br><br><br><br><br><br><br><br><br>