To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=51542 Issue #:|51542 Summary:|libxmlsec will not build with system libxml2 Component:|porting Version:|OOo 2.0 Beta Platform:|Sun URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|mh Reported by:|sparcmoz
------- Additional comments from [EMAIL PROTECTED] Mon Jul 4 05:28:26 -0700 2005 ------- on GNU/linux sparc debian/unstable libxml2 will not build with gcc-4.0 see issue 50821. So I build --with-system-libxml. Then libxmlsec will not build make[3]: Entering directory `/home/jim/ooo/libxmlsec/unxlngs.pro/misc/build/xmlsec1-1.2.6/src' > if /bin/sh ../libtool --mode=compile ccache gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE=\"xmlsec1\" -I.. -I../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/home/jim/ooo/solver/680/unxlngs.pro/inc/external -g -O2 -MT app.lo -MD -MP -MF ".deps/app.Tpo" -c -o app.loapp.c; \ then mv -f ".deps/app.Tpo" ".deps/app.Plo"; else rm -f ".deps/app.Tpo"; exit 1; fi ccache gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE=\"xmlsec1\" -I.. -I../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/home/jim/ooo/solver/680/unxlngs.pro/inc/external -g -O2 -MT app.lo -MD -MP -MF .deps/app.Tpo -c app.c -fPIC -DPIC -o .libs/app.o app.c:20:25: error: libxml/tree.h: No such file or directory In file included from ../include/xmlsec/xmlsec.h:22, from app.c:22: ../include/xmlsec/strings.h:27: error: parse error before 'xmlSecNs' There is no mention of SYSTEM_LIBXML in libxmlsec On debian/unstable the system headers are in /usr/include/libxml2/libxml If I copy those headers to /usr/include/libxml then libxmlsec builds OK. My environment has LIBXML_CFLAGS='-I/usr/include/libxml2 ' But in libxmlsec unxlngs.pro/inc/xmlsec/Makefile:LIBXML_CFLAGS = -I/home/jim/ooo/solver/680/unxlngs.pro/inc/external --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]