I don't know that it's a matter of getting configure.py to figure things out. The information is already in the Makefile in /python. Here's a patch that seems to be working for me. Use/modify it as you see fit.
Thanks for the pointer. I appreciate it. Mark Post -----Original Message----- From: Jim Bublitz [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 1:19 PM To: [email protected] Cc: Post, Mark K Subject: Re: [PyKDE] PyKDE can't find KDE libraries in /opt/kde/lib64 On Thursday 10 August 2006 09:30, Post, Mark K wrote: > I'm trying to build kdebindings 3.5.4 on my 64-bit Slack/390 system. > When make gets to the pykde directory, I get the following error: > cd ./pykde ; \ > export QTDIR=/usr/lib/qt/ ; \ > /usr/bin/python configure.py -c -k /opt/kde -d > /usr/lib64/python2.4/site-packages -v /opt/kde/share/sip/ -t > "$builddir/pykde" > > PyKDE version 3.11.3 > ------- > > Python include directory is /usr/include/python2.4 > Python version is 2.4.1 > > sip version is 4.2.1 (4.2.1) > > Qt directory is /usr/lib/qt/ > Qt version is 3.3.6 > > PyQt directory is /tmp/kdebindings-3.5.4/python/pyqt/sip > PyQt version is 3.14.1 (3.14.1) > The build directory is /tmp/kdebindings-3.5.4/python/pykde. > > Error: Couldn't locate KDE3 lib directory (/opt/kde is KDE base) > > > > The KDE libraries are located under /opt/kde/lib64, not /opt/kde/lib. I > found the "--with-qt-libraries=" parameter for configure to find > /user/lib/qt/lib64, but didn't see a corresponding one for KDE itself. > I can work around the problem by creating a symbolic link (ln -s > /opt/kde/lib64 /opt/kde/lib), but would prefer to fix it instead. Any > help will be appreciated. -n /opt/kde/lib64 Same thing for 64 bit SuSE - not sure about other distributions. Eventually configure.py will be able to figure this out.. If the command line is too long, the -z (-z <filename>) option should let you put all of the switches in a file, one per line (haven't tested it in a long time though). Jim
python.makefile.in.diff
Description: python.makefile.in.diff
_______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
