[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    RE: [PyKDE] PyQt not compiling
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2001-05-21 23:33:57
[Download RAW message or body]

>===== Original Message From David Blair <dblair99@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
>'./'`sip_helper.cpp
>In file included from
>/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/iostrea
m.h:31,
>
>                 from sip_helper.cpp:33:
>/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/streamb
uf.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/streamb
uf.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/streamb
uf.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/streamb
uf.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?

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.

Phil



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic