From pykde Sun May 29 10:08:37 2005 From: Phil Thompson Date: Sun, 29 May 2005 10:08:37 +0000 To: pykde Subject: Re: [PyKDE] install problem of SIP-20050527 on Mandrake-10.2 Message-Id: <200505291108.37279.phil () riverbankcomputing ! co ! uk> X-MARC-Message: https://marc.info/?l=pykde&m=111736139911286 On Sunday 29 May 2005 6:44 am, Gerard Vermeulen wrote: > On Sat, 28 May 2005 16:05:12 +0100 > > Phil Thompson wrote: > > 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 > > > -- end header -- > > > > > > I did not check what you are looking for in qconfig.h but the following > > > C++ program prints LICENSEE and LICENSE: > > > > > > #include > > > #include > > > > > > 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. > > I have to apply the following patch: > > [packer@titan BUILD]$ gendiff sip-snapshot-20050528 .gv > --- sip-snapshot-20050528/configure.py.gv 2005-05-29 > 04:30:12.000000000 +0200 +++ sip-snapshot-20050528/configure.py 2005-05-29 > 07:39:03.000000000 +0200 @@ -379,7 +379,7 @@ > else: > qconfigdir = qt_incdir > > - qconfig = os.path.join(qt_incdir, "qconfig.h") > + qconfig = os.path.join(qconfigdir, "qconfig.h") > > if not os.access(qconfig,os.F_OK): > siputils.error("qconfig.h could not be found in %s." % > qconfigdir) [packer@titan BUILD]$ Whoops - thank you. Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde