Hi. I've been mucking about with the kde 4.2 betas and I've got a
with problems how cmake recipes interact with kde 4.2 beta 2.

Basically whenever I compile kdepimlibs, Compile seems
significantly change KdepimLibsConfig.cmake (which gets installed in
/System/Links/Libraries/KdepimLibs/cmake/). The final installed
file isnt even syntactically correct! The installed file is very different from the file which you will find in the KdepimLibs
_build directory. The attached KdepimLibsConfig.cmake.diff shows you
the difference between these two files.

The consequence of this is that you will not be able to build
KDE-Base-Workspace, since it depends on this file (if you have kde-pim-libs installed).

However there is a work-around. If you first configure and
compile kde-pim-libs with Compile but do the installation manually
(i.e. cd into _build and "sudo make install"). This IMHO is
pretty good evidence that Compile is doing something weird on installation. Probably something indirect. Maybe its
a side effect of sandboxing. I don't know for sure.

If you use the work around then the installed file will be identical to the one in the _build directory. Also subsequent KDE stuff will compile
normally (well, at least the base stuff anyway).

I'll try and take a look at this but since I'm not really familiar with
Scripts/Compile I though I'd let you guys know! I also attach some draft
recipes for these kde modules, so you guys can see how this error occurs
without too much fafing around.


Steps to reproduce:

Compile KDE-Libs 4.1.85
Compile KDE-PIM-Libs 4.1.85
        // <-- Managled cmake file is installed here
Compile KDE-Base-Workspace 4.1.85
        // <-- Errors start appearing here

Thanks,

Frank




--- KdepimLibsConfig.cmake      2009-01-07 22:16:57.000000000 +0000
+++ /System/Links/Libraries/KdepimLibs/cmake/KdepimLibsConfig.cmake     
2009-01-07 22:17:56.000000000 +0000
@@ -8,34 +8,34 @@
 
 # set the directories
 if(NOT KDEPIMLIBS_INSTALL_DIR)
-   set(KDEPIMLIBS_INSTALL_DIR "/Programs/KDE-PIM-Libs/4.1.85")
+   set(KDEPIMLIBS_INSTALL_DIR "/usr
 endif(NOT KDEPIMLIBS_INSTALL_DIR)
 
-set(KDEPIMLIBS_DATA_DIR            "/Programs/KDE-PIM-Libs/4.1.85/share/apps")
-set(KDEPIMLIBS_DBUS_INTERFACES_DIR 
"/Programs/KDE-PIM-Libs/4.1.85/share/dbus-1/interfaces")
-set(KDEPIMLIBS_DBUS_SERVICES_DIR   
"/Programs/KDE-PIM-Libs/4.1.85/share/dbus-1/services")
-set(KDEPIMLIBS_INCLUDE_DIR         "/Programs/KDE-PIM-Libs/4.1.85/include")
-set(KDEPIMLIBS_LIB_DIR             "/Programs/KDE-PIM-Libs/4.1.85/lib")
-set(KDEPIMLIBS_BIN_DIR             "/Programs/KDE-PIM-Libs/4.1.85/bin") 
-set(KDEPIMLIBS_LIBEXEC_DIR         
"/Programs/KDE-PIM-Libs/4.1.85/lib/kde4/libexec")
-set(KDEPIMLIBS_SBIN_DIR            "/Programs/KDE-PIM-Libs/4.1.85/sbin")
-set(KDEPIMLIBS_HTML_DIR            
"/Programs/KDE-PIM-Libs/4.1.85/share/doc/HTML")
-set(KDEPIMLIBS_CONFIG_DIR          
"/Programs/KDE-PIM-Libs/4.1.85/share/config")
-set(KDEPIMLIBS_ICON_DIR            
"/Programs/KDE-PIM-Libs/4.1.85/share/icons") 
-set(KDEPIMLIBS_KCFG_DIR            
"/Programs/KDE-PIM-Libs/4.1.85/share/config.kcfg")
-set(KDEPIMLIBS_LOCALE_DIR          
"/Programs/KDE-PIM-Libs/4.1.85/share/locale")
-set(KDEPIMLIBS_MIME_DIR            
"/Programs/KDE-PIM-Libs/4.1.85/share/mimelnk")
-set(KDEPIMLIBS_SOUND_DIR           
"/Programs/KDE-PIM-Libs/4.1.85/share/sounds")
-set(KDEPIMLIBS_TEMPLATES_DIR       
"/Programs/KDE-PIM-Libs/4.1.85/share/templates")
-set(KDEPIMLIBS_KCONF_UPDATE_DIR    
"/Programs/KDE-PIM-Libs/4.1.85/share/apps/kconf_update")
-set(KDEPIMLIBS_AUTOSTART_DIR       
"/Programs/KDE-PIM-Libs/4.1.85/share/autostart")
-set(KDEPIMLIBS_XDG_APPS_DIR        
"/Programs/KDE-PIM-Libs/4.1.85/share/applications/kde4")
-set(KDEPIMLIBS_XDG_DIRECTORY_DIR   
"/Programs/KDE-PIM-Libs/4.1.85/share/desktop-directories")
-set(KDEPIMLIBS_SYSCONF_DIR         "/Programs/KDE-PIM-Libs/4.1.85/etc")
-set(KDEPIMLIBS_MAN_DIR             "/Programs/KDE-PIM-Libs/4.1.85/share/man")
-set(KDEPIMLIBS_INFO_DIR            "/Programs/KDE-PIM-Libs/4.1.85/share/info")
-set(KDEPIMLIBS_SERVICES_DIR        
"/Programs/KDE-PIM-Libs/4.1.85/share/kde4/services")
-set(KDEPIMLIBS_SERVICETYPES_DIR    
"/Programs/KDE-PIM-Libs/4.1.85/share/kde4/servicetypes")
+set(KDEPIMLIBS_DATA_DIR            "/System/Links/Shared/apps")
+set(KDEPIMLIBS_DBUS_INTERFACES_DIR "/System/Links/Shared/dbus-1/interfaces")
+set(KDEPIMLIBS_DBUS_SERVICES_DIR   "/System/Links/Shared/dbus-1/services")
+set(KDEPIMLIBS_INCLUDE_DIR         "/System/Links/Headers")
+set(KDEPIMLIBS_LIB_DIR             "/System/Links/Libraries")
+set(KDEPIMLIBS_BIN_DIR             "/usr/bin") 
+set(KDEPIMLIBS_LIBEXEC_DIR         "/System/Links/Libraries/kde4/libexec")
+set(KDEPIMLIBS_SBIN_DIR            "/usr/sbin")
+set(KDEPIMLIBS_HTML_DIR            "/System/Links/Shared/doc/HTML")
+set(KDEPIMLIBS_CONFIG_DIR          "/System/Links/Shared/config")
+set(KDEPIMLIBS_ICON_DIR            "/System/Links/Shared/icons") 
+set(KDEPIMLIBS_KCFG_DIR            "/System/Links/Shared/config.kcfg")
+set(KDEPIMLIBS_LOCALE_DIR          "/System/Links/Shared/locale")
+set(KDEPIMLIBS_MIME_DIR            "/System/Links/Shared/mimelnk")
+set(KDEPIMLIBS_SOUND_DIR           "/System/Links/Shared/sounds")
+set(KDEPIMLIBS_TEMPLATES_DIR       "/System/Links/Shared/templates")
+set(KDEPIMLIBS_KCONF_UPDATE_DIR    "/System/Links/Shared/apps/kconf_update")
+set(KDEPIMLIBS_AUTOSTART_DIR       "/System/Links/Shared/autostart")
+set(KDEPIMLIBS_XDG_APPS_DIR        "/System/Links/Shared/applications/kde4")
+set(KDEPIMLIBS_XDG_DIRECTORY_DIR   "/System/Links/Shared/desktop-directories")
+set(KDEPIMLIBS_SYSCONF_DIR         "/System/Settings")
+set(KDEPIMLIBS_MAN_DIR             "/System/Links/Shared/man")
+set(KDEPIMLIBS_INFO_DIR            "/System/Links/Shared/info")
+set(KDEPIMLIBS_SERVICES_DIR        "/System/Links/Shared/kde4/services")
+set(KDEPIMLIBS_SERVICETYPES_DIR    "/System/Links/Shared/kde4/servicetypes")
 
 # These two are just for compatibility with KDE 4.[01]
 set(KDEPIMLIBS4_DBUS_INTERFACES_DIR "${KDEPIMLIBS_DBUS_INTERFACES_DIR}")

Attachment: KDE-Libs--4.1.85--recipe.tar.bz2
Description: Binary data

Attachment: KDE-PIM-Libs--4.1.85--recipe.tar.bz2
Description: Binary data

Attachment: KDE-Base-Workspace--4.1.85--recipe.tar.bz2
Description: Binary data

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to