[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    RE: [PyKDE] PyKDE can't find KDE libraries in /opt/kde/lib64
From:       "Post, Mark K" <mark.post () eds ! com>
Date:       2006-08-10 17:59:08
Message-ID: 5A14AF34CFF8AD44A44891F7C9FF410508178FA7 () usahm236 ! amer ! corp ! eds ! com
[Download RAW message or body]

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@nwinternet.com] 
Sent: Thursday, August 10, 2006 1:19 PM
To: pykde@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


["python.makefile.in.diff" (application/octet-stream)]

--- kdebindings-3.5.4/python/Makefile.in.orig	2006-07-24 10:59:11.000000000 -0400
+++ kdebindings-3.5.4/python/Makefile.in	2006-08-10 13:35:34.000000000 -0400
@@ -573,7 +573,7 @@
 	cd $(srcdir)/sip ; \
 	export QTDIR=${qt_dir} ; \
 	export PYTHONPATH=$$builddir/sip:$$PYTHONPATH ; \
-	@PYTHON@ configure.py -b @bindir@ -d ${site_packages} -e ${python_inc_dir} -l qt-mt \
-v ${sip_dir} -t "$$builddir/sip" INCDIR_QT=@qt_includes@ +	@PYTHON@ configure.py -b \
@bindir@ -d ${site_packages} -e ${python_inc_dir} -l qt-mt -v ${sip_dir} -t \
"$$builddir/sip" INCDIR_QT=@qt_includes@ LIBDIR_QT=@qt_libraries@  @(cd sip ; \
$(MAKE))  echo "" > sipdone
 
@@ -601,7 +601,7 @@
 	export PYTHONPATH=$$builddir/pykde:$$PYTHONPATH ; \
 	cd $(srcdir)/pykde ; \
 	export QTDIR=${qt_dir} ; \
-	@PYTHON@ configure.py -c -k @prefix@ -d ${site_packages} -v ${sip_dir} -t \
"$$builddir/pykde" +	@PYTHON@ configure.py -c -k @prefix@ -d ${site_packages} -v \
${sip_dir} -t "$$builddir/pykde" -n "${kde_libraries}"  echo "" > prepkde
 
 install:



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic