Sun, 13 Oct 2002 08:14:38 +0100 (BST)
On Sat, 12 Oct 2002, Jan de Leeuw wrote:
> There are some problems with XML under OS X, nothing serious,
> but manual intervention is required.
> 1. For some reason the package has problems matching up the
> proper include and lib files for xml or xml2. If I install a fresh
> libxml2 and point the environmental variables to it, it still
> complains about mismatched header and lib files,
> which suggests, perhaps, that the test in configure uses something
> specific. It works if I point explicitly to the include files for xml1.
> Both xml1 and xml2 are in /sw, because they come from fink. Maybe
> use xmlConf.sh or xml2Conf.sh
> 2. xmlParserError is defined in libxml, but Utils.o tried to override
> it with a new definition. That does not work in OS X, unless one
> specifies explicitly that that is what one wants. Adding "-Xlinker
> -m" to the link of XML.so indicates we need the first definition we
> come across, which is the one in Utils.o in this case. And that is
> what is intended.
Same problem under Windows, which I can only solve (at least when
statically loading libxml2) by building a version of error.c (from
libxml2) without xmlParserError. It's really a design fault in libxml2:
the replaceable parts should be in separate moodules.
Brian D. Ripley, email@example.com
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: firstname.lastname@example.org