[PyKDE] PyKDE can't find KDE libraries in /opt/kde/lib64

Post, Mark K mark.post at eds.com
Thu Aug 10 18:59:08 BST 2006


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:jbublitz at nwinternet.com] 
Sent: Thursday, August 10, 2006 1:19 PM
To: pykde at mats.imk.fraunhofer.de
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.makefile.in.diff
Type: application/octet-stream
Size: 1012 bytes
Desc: python.makefile.in.diff
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060810/d1462c71/python.makefile.in.obj


More information about the PyQt mailing list