[patch] kdelibs/cmake/modules/kde4_exec_via_sh.cmake

Friedrich W. H. Kossebau Friedrich.W.H at kossebau.de
Thu Aug 3 20:02:11 BST 2006


Hi,

while having had problems to get kxml_compiler in kdepim to run in a fresh 
environment with no old installs I found a strange string for LD_LIBRARY_PATH 
in the wrapper script. And once aware of it I found it in all wrapper 
scripts. Try to find it yourself:

grep "LIBRARY_PATH+" build --include="*.sh" -R

It should look like this (care for "${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"):

LD_LIBRARY_PATH=/home/koder/Programmieren/kdesvn/trunk/KDE/build.debug/kdepim/lib/./:/home/koder/Programmieren/kdeinstall/lib:/home/koder/Programmieren/kdeinstall/lib:/home/koder/Programmieren/kdeinstall/lib${LD_LIBRARY_PATH+:
$LD_LIBRARY_PATH} "/home/koder/Programmieren/kdesvn/trunk/KDE/build.debug/kdepim/kode/kxml_compiler/kxml_compiler" "$@"

Attatched is a patch which could be solving this problem. I have close to no 
knowledge about our buildsystem, especially the old line in the file made 
zero sense to me, so please tell if the patch is fine.
All I know is: It worked for me (tm).

Okay to commit?

Friedrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde4_exec_via_sh.cmake.patch
Type: text/x-diff
Size: 529 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060803/b002ff50/attachment.patch>


More information about the kde-core-devel mailing list