[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Problem installing PyQt 3.5 with Qt 3.0.4...
From: Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date: 2003-04-14 12:04:06
[Download RAW message or body]
On Monday 14 April 2003 12:10 pm, Laurent Claustre wrote:
> I've got the same problem compiling on solaris 7 and 8, problem comes
> from the Python.h file which
> include unistd.h where truncate is defined has truncate64 (POSIX Large
> Support).
> To make PyQt working patch the your-sip-dir/siplib/sipQt.h file like that:
> #include <Python.h>
> #if defined(truncate)
> # undef truncate
> #endif
> #include <qobject.h>
> #include <sip.h>
>
> Trollteck takes care about all the POSIX LFS redefinitions and does
> such an undef (e.g. your-qt-dir/src/kernel/qapplication_x11.cpp:6157)
>
> If someone can propose a better way to patch this bug ?
The current snapshots #include Python.h before stdio.h based on a previous
suggestion. I can't test it though.
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic