On Sat, Jun 4, 2011 at 10:47 AM, Christian Lohmaier <span dir="ltr"><<a href="mailto:lohmaier%2Blibreoffice@googlemail.com" target="_blank">lohmaier+libreoffice@googlemail.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi William, *,<br>
<div><br>
On Sat, Jun 4, 2011 at 4:01 PM, William Lachance <<a href="mailto:wrlach@gmail.com" target="_blank">wrlach@gmail.com</a>> wrote:<br>
> On Sat, Jun 4, 2011 at 7:55 AM, Christian Lohmaier<br>
> <<a href="mailto:lohmaier%2Blibreoffice@googlemail.com" target="_blank">lohmaier+libreoffice@googlemail.com</a>> wrote:<br>
>><br>
</div><div>>> <a href="http://cgit.freedesktop.org/libreoffice/libs-extern/commit/?id=4a97a447960d97441d2e151f8ed10ccc4a1b8431" target="_blank">http://cgit.freedesktop.org/libreoffice/libs-extern/commit/?id=4a97a447960d97441d2e151f8ed10ccc4a1b8431</a><br>
><br>
> Unfortunately this didn't quite fix the problem for me, as there still seems<br>
> to be other places in raptor's configure file which try to get libxml's<br>
> include/library path from 'xml2-config'.<br>
<br>
</div>yes, it is called in different places, but that's the only place where<br>
its return value is acually reused.<br>
<br>
How did you check that it doesn't work for you? if you just pull, it<br>
is not enough, as the additional patch will not be applied, as the<br>
build thinks it already did pass that step. rm -rf unxmac* in redland,<br>
then try again please.<br></blockquote><div><br>Ok, as discussed on irc, this still really didn't work for me, the problem being that we were still using the output of xml2-config/xslt-config to do compile-time checks, even though we didn't wind up using the cflags/ldflags that these scripts generate. If a user has an incompatible xml2-config (e.g. from macports, my case), the configuration will thus fail for no good reason.<br>
<br>Christian suggested modifying the configure script not to use xml2-config/xslt-config at all. Here's a patch which does exactly that. I'm not exactly thrilled by the size/complexity of this patch for what it does, but at the same time it does seem a bit crazy for LO not to build just because libxml is installed in MacPorts (which is not uncommon: it's a dependency of ImageMagick for instance).<br>
<br>-- <br></div></div>William Lachance<br><a href="mailto:wrlach@gmail.com" target="_blank">wrlach@gmail.com</a><br>