[PyKDE] PyQt not compiling

David Blair dblair99 at home.com
Mon May 21 05:00:16 BST 2001


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
'./'`sip_helper.cpp
In file included from
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/iostream.h:31,

                 from sip_helper.cpp:33:
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:
In method `struct streampos streambuf::pubseekoff(long long int,
ios::seek_dir, int = 3)':
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:362:
conversion from `__off64_t' to non-scalar type `streampos' requested
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:
In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int =
3)':
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streambuf.h:364:
`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
ideas?

Dave Blair






More information about the PyQt mailing list