[PyKDE] install problem of SIP-20050527 on Mandrake-10.2

Phil Thompson phil at riverbankcomputing.co.uk
Sat May 28 16:05:12 BST 2005


On Saturday 28 May 2005 2:54 pm, Gerard Vermeulen wrote:
> I get:
>
> Executing(%build): /bin/sh -e /home/packer/RPM/tmp/rpm-tmp.32284
> + umask 022
> + cd /home/packer/RPM/BUILD
> + cd sip-snapshot-20050527
> + QTDIR=/usr/lib/qt3
> + python configure.py -lqt-mt
> This is SIP snapshot-20050527 for Python 2.4 on linux2.
> Error: The Qt edition could not be determined by parsing
> /usr/lib/qt3/include/qconfig.h.
> error: Bad exit status from /home/packer/RPM/tmp/rpm-tmp.32284 (%build)
>
> Reason is that Mandrake-10.2 puts Qt's qconfig.h in another place:
> /usr/lib/qt3/include/multiarch-i386-linux/qconfig.h
> and /usr/lib/qt3/include/qconfig.h includes a non-Qt header from
> /usr/include: -- start header --
> #define _MULTIARCH_HEADER qconfig.h
> #include <multiarch-dispatch.h>
> -- end header --
>
> I did not check what you are looking for in qconfig.h but the following
> C++ program prints LICENSEE and LICENSE:
>
> #include <qt.h>
> #include <stdio.h>
>
> int main()
> {
>   printf("%s, %s\n", QT_PRODUCT_LICENSEE, QT_PRODUCT_LICENSE);
> }

Tonight's snapshot will have a -c flag to allow you to specify the directory 
containing qconfig.h - untested.

Phil




More information about the PyQt mailing list