Hey,<br><br>I&#39;ve been attempting to get LibreOffice master built on my Mac running 10.6. Per the instructions on the wiki, I installed XCode with the 10.4 SDK option and the various ports mentioned here <a href="http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies">http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies</a> (I used macports instead of manual installation but I got the impression that&#39;s ok).<br>
<br>I&#39;ve been stuck with a problem building the redland module though. It seems to want to compile something called &#39;raptor&#39; using a system version of libxml, and is getting stuck:<br><br>checking for libxml/parser.h... no<br>
checking for libxml/hash.h... no<br>checking for libxml/SAX2.h... no<br>checking if libxml xmlEntity has name_length field... no<br>checking if libxml xmlEntity has etype field... no<br>checking if libxml xmlSAXHandler has initialized field... no<br>
checking if libxml xmlSAXHandler has externalSubset field... no<br>checking for xmlSAX2InternalSubset... no<br>checking for xmlCtxtUseOptions... no<br>checking if libxml has parser option XML_PARSE_NONET... no<br>checking libxml/HTMLparser.h usability... no<br>
checking libxml/HTMLparser.h presence... no<br>checking for libxml/HTMLparser.h... no<br>checking if libxml has parser option HTML_PARSE_NONET... no<br>checking for xsltSaveResultToString... yes<br>checking for system libxslt library... yes - version 1.1.24<br>
checking for xsltInit... no<br>checking libxslt/xslt.h usability... yes<br>checking libxslt/xslt.h presence... yes<br>checking for libxslt/xslt.h... yes<br>checking XML parser to use... configure: error: No XML parser available - please install expat or libxml<br>
dmake:  Error code 1, while making &#39;../<a href="http://unxmacxi.pro/misc/build/so_configured_so_raptor">unxmacxi.pro/misc/build/so_configured_so_raptor</a>&#39;<br><br>I most definitely do have libxml2 installed on my system though (both one installed by xcode and one by macports) and this was picked up by the top-level configure. Here&#39;s what my top level set_soenv looks like: <br>
<br>ToFile( &quot;LIBXML_CFLAGS&quot;,     &quot;-I/opt/local/include/libxml2&quot;,    &quot;e&quot; );<br>ToFile( &quot;LIBXML_LIBS&quot;,       &quot;-L/opt/local/lib -lxml2 -lz -lpthread -liconv -lm&quot;,      &quot;e&quot; );<br>
<br> Any ideas on what the problem could be here? I did notice that redland/raptor/<a href="http://makefile.mk">makefile.mk</a> defines the configure flags to be:<br><br>CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --enable-parsers=&quot;rdfxml ntriples turtle trig guess rss-tag-soup&quot; --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore       --with-regex-library=posix --with-decimal=none --with-www=xml --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch=&quot;-shared&quot; CC=&quot;$(raptor_CC)&quot; CPPFLAGS=&quot;-nostdinc $(INCLUDE)&quot; LDFLAGS=&quot;-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols  -L$(ILIB:s/;/ -L/)&quot; LIBS=&quot;$(raptor_LIBS)&quot; OBJDUMP=&quot;$(WRAPCMD) objdump&quot; LIBXML2LIB=$(LIBXML2LIB) XSLTLIB=&quot;$(XSLTLIB)&quot;<br>
<br>Do we need to somehow change this to include LIBXML_CFLAGS and LIBXML_LIBS? Just changing CPPFLAGS to &quot;-nostdinc $(INCLUDE) $(LIBXML_CFLAGS)&quot; unfortunately didn&#39;t seem to help. Any advice on how to tackle this appreciated.<br clear="all">
<br>-- <br>William Lachance<br><a href="mailto:wrlach@gmail.com">wrlach@gmail.com</a><br>