Rex Dieter wrote: > Phil Thompson wrote:
>>> I'm having trouble getting PyQt-4.1 to build on an rhel4/x86_64 box. No >>> matter what I do, after running configure.py, pyqtconfig.py contains: >>> 'LIBDIR_X11': '/usr/X11R6/lib', >>> instead of >>> 'LIBDIR_X11': '/usr/X11R6/lib64', >>> (which is what is in sipconfig.py). >>> >>> Any tips/tricks? Where is PyQt-4.x getting it's value of LIBDIR_X11 >>> from (other than sipconfig.py)? >>> >>> For the record, PyQt-3.17 builds fine and its pyqtconfig.py ends up with >>> 'LIBDIR_X11': '/usr/X11R6/lib64', >> >> PyQt gets everything from your Qt installation - not sipconfig.py. > > So, qmake.conf? Where mine has: > QMAKE_LIBDIR_X11 = /usr/X11R6/lib64 Methinks I've found a bug or 2 (whether it is PyQt4 or qt4 dunno): 1. QT_INSTALL_DATA, mkspecs location. qt4 has been configured so that qmake -query QT_INSTALL_DATA returns /usr/share/qt4 So, mkspecs lives in /usr/share/qt4/mkspecs But on after running configure.py, PyQt4's Makefiles contain references to non-existant -I/usr/lib64/qt4/mkspecs/linux-g++-64 2. /usr/share/qt4/mkspecs/common/linux.conf contains: QMAKE_LIBDIR_X11 = /usr/X11R6/lib but, /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf contains: include(../common/linux.conf) ... QMAKE_LIBDIR_X11 = /usr/X11R6/lib64 Isn't the latter LIBDIR_X11 definition supposed to override the value in common/linux.conf? Now, if I manually change /usr/share/qt4/mkspecs/common/linux.conf to contain instead: QMAKE_LIBDIR_X11 = /usr/X11R6/lib64 then PyQt-4.1 uses *that* proper value. ??? -- Rex _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
