Dear, list!
No matter what I've tried, I've failed to compile sip-4.3.2 - it
failed to find qmail specs.
I have qt compiled and installed to /usr with the following configure options:
/configure -prefix /usr \
-docdir /usr/share/doc/qt \
-headerdir /usr/include/qt \
-plugindir /usr/lib/qt/plugins \
-datadir /usr/share/qt \
-translationdir /usr/share/qt/translations \
-sysconfdir /etc/qt \
-qt-gif \
-system-zlib \
-system-libpng \
-system-libjpeg \
-system-libmng \
-plugin-imgfmt-png \
-plugin-imgfmt-jpeg \
-plugin-imgfmt-mng \
-no-exceptions \
-thread \
-tablet
(I'm using Linux From Scratch distro)
kdebindings-3.5.1, which has sip bundles fails to compiles with
exactly the same error.
I've attached straightforward patch to fix the problem for me, but I'm
not sure if this is the right solution, since I'm unfamiliar both with
qt and python :), although things seem to work.
P.S. I'm not on the list, so please CC me.
--
Zaar
sip configure scripts has troubles finding location of qmake specs - fix it
Signed-off-by: Hai Zaar <[EMAIL PROTECTED]>
--- sip-4.3.2/configure.py.orig 2006-02-17 20:52:44.000000000 +0200
+++ sip-4.3.2/configure.py 2006-02-17 20:54:24.000000000 +0200
@@ -527,9 +527,9 @@
if opt_platform:
fname = os.path.join("specs", opt_platform)
elif "QMAKESPEC" in os.environ.keys():
- fname = os.path.join(qt_dir, "mkspecs", os.environ["QMAKESPEC"], "qmake.conf")
+ fname = os.path.join(qt_dir, "share", "qt", "mkspecs", "mkspecs", os.environ["QMAKESPEC"], "qmake.conf")
else:
- qname = os.path.join(qt_dir, "mkspecs", "default", "qmake.conf")
+ qname = os.path.join(qt_dir, "share", "qt", "mkspecs", "default", "qmake.conf")
if os.access(qname, os.F_OK):
fname = qname
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde