[kde-linux] Koffice and libxml2.la

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


Hello,

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

---
make[4]: Entering directory 
`/home/kde3/koffice-1.4.2/filters/kword/msword'
/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_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-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 
-lglib-2.0
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:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154142
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?

Regards
Jan
-- 
Jan Simonson



More information about the kde-linux mailing list