Current problems compiling kdelibs

Stromek stromek at realtime.sk
Mon Jan 29 16:05:49 CET 2007


On Mon, Jan 29, 2007 at 03:40:06PM +0100, Christian Ehrlicher wrote:
> 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.

yep, it worked, because your program files are in "C:\Programme". Mine
are in "C:\Program Files". According to the error c1 has written,
those \&quot;&quot before and after are treated as two empty strings.
They are not treated as enclosing the given path.

-- 
Stromek



More information about the Kde-windows mailing list