On Saturday 19 November 2011, Aleix Pol wrote: > 2011/11/19 Alexander Neundorf <[email protected]> > > > On Saturday 19 November 2011, Aleix Pol wrote: > > > Hi, > > > At the KDE Mobile sprint I have been trying to get madde to compile KDE > > > Applications on harmattan using cmake. > > > > > > I have got it to work but there are some problems coming from the way > > > we find KDE and I'm not sure how to fix them correctly. The problem is > > > > mainly > > > > > the two files that specify where things are installed: > > > KDELibsDependencies.cmake and KDELibs4LibraryTargets-debian.cmake. Both > > > have the same problem: they are using paths that are relative to the > > > system's root and I need them to be relative to the system targetted by > > > cmake $ENV{SYSROOT_DIR}. > > > > Is the RPATH the problem or where causes it problems exactly ? > > > > Alex > > No, the problem is hardcoded compile-time locations.
Yes, and which problem do they cause ? > My ugly-hack-workaround is this: > http://proli.net/meu/kde/kde_cmake_madde.patch I'm downloading QtSDK right now, this contains MADDE, right ? Is this running ARM in a virtual machine or does it work differently ? @@ -18,7 +18,7 @@ SET_PROPERTY(TARGET KDE4__nepomukquery APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBIAN) SET_TARGET_PROPERTIES(KDE4__nepomukquery PROPERTIES IMPORTED_LINK_DEPENDENT_LIBRARIES_DEBIAN "KDE4__kdecore;KDE4__nepomuk" - IMPORTED_LOCATION_DEBIAN "/usr/lib/libnepomukquery.so.4.7.0" + IMPORTED_LOCATION_DEBIAN "$ENV{SYSROOT_DIR}/usr/lib/libnepomukquery.so.4.7.0" IMPORTED_SONAME_DEBIAN "libnepomukquery.so.4" ) If IMPORTED_LOCATION_DEBIAN says /usr/lib/libfoo.so, then libfoo.so has been installed to that directory. How was that done ? Is that really /usr/lib in the root filesystem of the host or something else ? Was this maybe done in a virtual machine ? And why is it needed later on relative to something else ? I don't understand the setup yet. Alex _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
