Hi again Christian,<br><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 3:19 PM, Christian Lohmaier <span dir="ltr">&lt;<a href="mailto:lohmaier%2Blibreoffice@googlemail.com">lohmaier+libreoffice@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">&gt; Can&#39;t we somehow make the redland smart enough to use the version of libxml<br><div class="im">
&gt; configure found at top-level? That seems to me to be the root cause of the<br>
&gt; problem.<br>
<br>
</div>Yes, but that&#39;s also missing one step, as LO is compiled against the<br>
10.4uSDK to enforce compatibility with Mac OS X Tiger.<br>
Thus it is important that the build uses the Mac-provided libraries to<br>
begin with. As Tor just mentioned there have been a couple of fixes<br>
regarding this just today (the 3.4 branch is not that much affected as<br>
the master branch)<br>
<br>
So while not the &quot;root&quot; cause, it is an important aspect of the problem.<br></blockquote><div><br>Ok, I just pulled from master, which I notice includes a fix for the issue you and Tor mentioned.  <br></div></div>
<br clear="all">My <a href="http://MacOSXX86Env.Set.sh">MacOSXX86Env.Set.sh</a> now contains:<br><br>SYSTEM_LIBXML=&quot;YES&quot;<br>LIBXML_CFLAGS=&quot;-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/libxml2&quot;<br>LIBXML_LIBS=&quot;-lxml2 -lz -lpthread -liconv -lm&quot;<br>
<br>So we&#39;ve solved one problem at least. Redland still isn&#39;t picking up the LIBXML_CFLAGS though-- I&#39;m beginning to think that maybe the problem is the fact that we&#39;re trying to set environment variables (CPPFLAGS, CFLAGS, etc.) in CONFIGURE_FLAGS in raptor&#39;s makefile.mk...<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>... as manually setting CFLAGS and LDFLAGS and then running configure inside raptor&#39;s build directory with the above options seems to make the problem go away.<br><br>-- <br>William Lachance<br><a href="mailto:wrlach@gmail.com">wrlach@gmail.com</a><br>