Current problems compiling kdelibs

Stromek stromek at realtime.sk
Mon Jan 29 15:31:37 CET 2007


On Sun, Jan 28, 2007 at 01:25:59PM +0100, Christian Ehrlicher wrote:
> Christian Ehrlicher schrieb:
> >Hi,
> >
> >kdelibs currently does not compile due to problems with 
> >meinproc/xmllint. I'm working on this issue but need some more time to 
> >fix things. For now I recommend to comment out kdelibs/doc in main 
> >CMakeLists.txt
> >
> >http://mail.gnome.org/archives/xml/2007-January/msg00166.html
> >http://lists.kde.org/?l=kde-commits&m=116992609520421&w=2
> >
> I've now fixed all problems with meinproc. You'll need an updated 
> xmllint avialable from here: 
> http://www.abi-neuhaus.de/chris/win32libs/7z/xmllint.7z
> It's compiled from current libxml2 svn snapshot and I hope those fixes 
> will go into libxml2 2.6.28.

Tried to compile kdepimlibs. Great, it works. However, the extra
quotes :) should be removed to work on all language versions of windows.

--- kdepimlibs-orig\kcal\CMakeLists.txt	2007-01-29 15:17:40.000000000 +0100
+++ kdepimlibs\kcal\CMakeLists.txt	2007-01-29 15:12:04.000000000 +0100
@@ -5,7 +5,7 @@
 #  add_definitions(-DICAL_UNIX_NEWLINE=1)
 #endif (UNIX)
 
-ADD_DEFINITIONS(-DPACKAGE_DATA_DIR=\\""${DATA_INSTALL_DIR}/libical"\\" ) # added manually
+ADD_DEFINITIONS(-DPACKAGE_DATA_DIR=\\"${DATA_INSTALL_DIR}/libical\\" ) # added manually
 
 if(KDE4_BUILD_TESTS)
     add_definitions(-DCOMPILING_TESTS)


With those extra quotes it creates the following output:

"PACKAGE_DATA_DIR=\""C:/Program Files/kdepimlibs/share/apps/libical\"""

which is \""C:/Program Files/kdepimlibs/share/apps/libical\"" and there is a complain about Files\kdepimlibs\share\apps\libical.

-- 
Stromek



More information about the Kde-windows mailing list