Bug 104034

Summary: Python Bindings top Makefile.am doesn't provide KDE prefix path and thus building fails.
Product: [Developer tools] bindings Reporter: Ali Akcaagac <aliakc>
Component: generalAssignee: kde-bindings
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: build error.
patch to fix the issue.
patch to fix the issue.

Description Ali Akcaagac 2005-04-16 20:34:16 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc3.4.3 
OS:                Linux

There is a problem with the top Makefile.am in the python subdir which prevents the modules from being build. The problem is that it doesn't follow the prefix in which KDE is installed and with the previous Makefile.am it wasn't possible to compile the python stuff because the prefix dir wasn't applied to the configure.py files. The bug is illustrated with the first attachment and the second attachment provides a sane fix for this problem. Please test and report back or committ to CVS.
Comment 1 Ali Akcaagac 2005-04-16 20:34:48 UTC
Created attachment 10675 [details]
build error.
Comment 2 Ali Akcaagac 2005-04-16 20:35:28 UTC
Created attachment 10676 [details]
patch to fix the issue.
Comment 3 Ali Akcaagac 2005-04-16 20:48:28 UTC
Created attachment 10677 [details]
patch to fix the issue.

Sorry uploaded wrong first patch, this one should do it.
Comment 4 Jakub Stachowski 2005-04-16 21:13:25 UTC
CVS commit by qbast: 

Unbreak compilation when KDEDIR is not set and KDE is not in /usr.
Patch by Ali Akcaagac.
BUGS:104034


  M +1 -1      Makefile.am   1.9


--- kdebindings/python/Makefile.am  #1.8:1.9
@@ -54,5 +54,5 @@
         cd $(srcdir)/pykde ; \
         export QTDIR=${qt_dir} ; \
-        @PYTHON@ configure.py -c -d ${site_packages} -v ${sip_dir} -t "$$builddir/pykde"
+        @PYTHON@ configure.py -c -k @prefix@ -d ${site_packages} -v ${sip_dir} -t "$$builddir/pykde"
         echo "" > prepkde