[kde-linux] Koffice and libxml2.la

Jan Simonson nytt at simonson.se
Fri Oct 21 13:31:02 UTC 2005


When compiling koffice 1.4.2 from source on a FC4 system it stops 

make[4]: Entering directory 
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith 
-O2 -Wformat-security -Wmissing-format-attribute 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF    -o libmswordimport.la 
-rpath /opt/local/kde-3.4.3/lib/kde3 -module -avoid-version -module 
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined 
-R /opt/local/kde-3.4.3/lib -R /opt/local/kde-3.4.3/lib 
-R /opt/local/qt-3.3.5/lib -R /usr/X11R6/lib  mswordimport.lo 
document.lo conversion.lo texthandler.lo tablehandler.lo 
graphicshandler.lo ../../../lib/kofficeui/libkofficeui.la ../../../lib/kofficecore/libkofficecore.la ../../../lib/store/libkstore.la 
-L/usr/local/lib -lwv2 -lgsf-1 -lgobject-2.0 -lxml2 -lpthread -lz -lm 
grep: /usr/lib/libxml2.la: No such file or directory
/bin/sed: can't read /usr/lib/libxml2.la: No such file or directory
libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
make[4]: *** [libmswordimport.la] Fel 1

The important psrt being:
grep: /usr/lib/libxml2.la: No such file or directory

After some search I found:
but I can't find any way to make koffice compile. As I understand it  
libxml2.la is gone and will remain gone. ("No this is a policy 
decision, we won't packages .la anymore."). So I guess the dependency 
will be removed some time later.

Is there a work-around possible for koffice 1.4.2?

Jan Simonson

More information about the kde-linux mailing list