Hi again Christian,<br><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 3:19 PM, Christian Lohmaier <span dir="ltr"><<a href="mailto:lohmaier%2Blibreoffice@googlemail.com">lohmaier+libreoffice@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">> Can't we somehow make the redland smart enough to use the version of libxml<br><div class="im">
> configure found at top-level? That seems to me to be the root cause of the<br>
> problem.<br>
<br>
</div>Yes, but that'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 "root" 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="YES"<br>LIBXML_CFLAGS="-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include/libxml2"<br>LIBXML_LIBS="-lxml2 -lz -lpthread -liconv -lm"<br>
<br>So we've solved one problem at least. Redland still isn't picking up the LIBXML_CFLAGS though-- I'm beginning to think that maybe the problem is the fact that we're trying to set environment variables (CPPFLAGS, CFLAGS, etc.) in CONFIGURE_FLAGS in raptor's makefile.mk...<br>
<br>CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --enable-parsers="rdfxml ntriples turtle trig guess rss-tag-soup" --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="-shared" CC="$(raptor_CC)" CPPFLAGS="-nostdinc $(INCLUDE)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols -L$(ILIB:s/;/ -L/)" LIBS="$(raptor_LIBS)" OBJDUMP="$(WRAPCMD) objdump" LIBXML2LIB=$(LIBXML2LIB) XSLTLIB="$(XSLTLIB)"<br>
<br>... as manually setting CFLAGS and LDFLAGS and then running configure inside raptor'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>