[PyKDE] PyQt not compiling

Phil Thompson phil at river-bank.demon.co.uk
Mon May 21 23:33:57 BST 2001

>===== Original Message From David Blair <dblair99 at home.com> =====
>I couldn't find a more appropriate place for this question.
>When I try to compile PyQt, I get this message:
>PyQt-2.4 > make
>make  all-recursive
>make[1]: Entering directory `/home/rick/PyQt-2.4'
>Making all in qt
>make[2]: Entering directory `/home/rick/PyQt-2.4/qt'
>c++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include/python2.1
>-I/usr/local/include/sip -I/usr/lib/qt2/include  -I/usr/X11R6/include
>-fno-exceptions -O2 -c -o sip_helper.o `test -f sip_helper.cpp || echo
>In file included from
>                 from sip_helper.cpp:33:
>In method `struct streampos streambuf::pubseekoff(long long int,
>ios::seek_dir, int = 3)':
>conversion from `__off64_t' to non-scalar type `streampos' requested
>In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int =
>`struct streampos' used where a `long long int' was expected
>make[2]: *** [sip_helper.o] Error 1
>make[2]: Leaving directory `/home/rick/PyQt-2.4/qt'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/rick/PyQt-2.4'
>make: *** [all-redirect] Error 2
>I don't get this message with any other Qt programs I compile. Any

This sounds very like the problem you get when compiling either gcc or glibc 
2.2 without a particular glibc patch applied. (I think it's covered in the gcc 
FAQ.) But it doesn't seem likely if your other Qt programs are Ok.


More information about the PyQt mailing list