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

List:       kde-pim
Subject:    Re: [Kde-pim] Error during compilation of trunk
From:       "Friedrich W. H. Kossebau" <Friedrich.W.H () kossebau ! de>
Date:       2006-08-03 16:19:33
Message-ID: 200608031819.33389.Friedrich.W.H () kossebau ! de
[Download RAW message or body]

Am Donnerstag, 3. August 2006 17:57, schrieb Friedrich W. H. Kossebau:
> Am Donnerstag, 3. August 2006 17:30, schrieb Tobias Koenig:
> > On Thu, Aug 03, 2006 at 05:17:38PM +0200, Friedrich W. H. Kossebau wrote:
> > > Which might make sense given the broken LD_LIBRARY_PATH in
> > > kxml_compiler.sh: --- 8< ---
> > > #!/bin/sh
> > > # created by cmake, don't edit, changes will be lost
> > >
> > > LD_LIBRARY_PATH=/home/koder/Programmieren/kdesvn/trunk/KDE/build.debug/
> > >kd
> > > epim/lib/./:/home/koder/Programmieren/kdeinstall/lib:/home/koder/Progra
> > >mmi
> > > eren/kdeinstall/lib:/home/koder/Programmieren/kdeinstall/lib${LD_LIBRAR
> > >Y_P ATH+: $LD_LIBRARY_PATH}
> > > "/home/koder/Programmieren/kdesvn/trunk/KDE/build.debug/kdepim/kode/kxm
> > >l_ compiler/kxml_compiler" "$@" --- 8< ---
> > >
> > > But where does cmake get their data to create this file? I tried cmake
> > > 2.4.2 and 2.4.3, both on clean checkouts and cleared build path. Looks
> > > like a typo + instead of }, but grepping for "LIBRARY_PATH+" in kdepim
> > > did not yield anything, same with ../../../kdeinstall/share/CMake
> >
> > The code which creates the .sh wrapper is in
> >   cmake/modules/KDE4Macros.cmake
> > under
> >   KDE4_HANDLE_RPATH
> >
> > Maybe that helps during investigation?
>
> Thanks, but no success so far. Even worse. Could anybody please try this on
> her system:
> grep "LIBRARY_PATH+" build --include="*.sh" -R
>
> I have this problem for all modules obviously... :(

Everyone should I guess :)

Found the culprit:
kdelibs/cmake/modules/kde4_exec_via_sh.cmake  has the line
${_library_path_variable}=${_ld_library_path}\${${_library_path_variable}+:
\$${_library_path_variable}} \"${_executable}\" \"$@\"

Commited by dfaure on 537457, so taking David into cc: (Hi!)

Is there a bug with this line or with my system? Why does it expand the way it 
does here?

Thanks
Friedrich
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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