Current problems compiling kdelibs

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Mon Jan 29 15:40:06 CET 2007


Von: Stromek <stromek at realtime.sk>
> 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:
> 
> &quot;PACKAGE_DATA_DIR=\&quot;&quot;C:/Program
> Files/kdepimlibs/share/apps/libical\&quot;&quot;&quot;
> 
> which is \""C:/Program Files/kdepimlibs/share/apps/libical\"" and there is
> a complain about Files\kdepimlibs\share\apps\libical.
> 
It worked for me with current cmake (2.4.5/.6). And imho double quotes are needed (one for cmake and the quoted for the command). I'll test it later.

There are two more problems with xmllint
- it does not accept '\' in SGML_CATALOG_FILES
- it does not work when SGML_CATALOG_FILES points to another drive than your current working dir

I'll try to fix them and update xmllint then.

Christian
-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail



More information about the Kde-windows mailing list