Bug 104034 - Python Bindings top Makefile.am doesn't provide KDE prefix path and thus building fails.
Summary: Python Bindings top Makefile.am doesn't provide KDE prefix path and thus buil...
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 20:34 UTC by Ali Akcaagac
Modified: 2005-04-16 21:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
build error. (1.60 KB, text/plain)
2005-04-16 20:34 UTC, Ali Akcaagac
Details
patch to fix the issue. (1.28 KB, patch)
2005-04-16 20:35 UTC, Ali Akcaagac
Details
patch to fix the issue. (479 bytes, patch)
2005-04-16 20:48 UTC, Ali Akcaagac
Details

Note You need to log in before you can comment on or make changes to this bug.
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