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

Gerard Vermeulen gerard.vermeulen at grenoble.cnrs.fr
Sat May 28 14:54:55 BST 2005


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);
}

Gerard




More information about the PyQt mailing list