[Rd] XML package for Darwin

Stefano Iacus jago at mclink.it
Sat Sep 20 23:14:13 MEST 2003


Thanks Jan,
I got it build now (using libxml2) but make check fails with the same  
errors you reported.
stefano

On Sabato, set 20, 2003, at 17:03 Europe/Rome, Jan de Leeuw wrote:

> I can get it to build and install quite easily, I have not tested it in
> any way. In fact R CMD CHECK fails in running all examples.
> Output files included below.
>
>  <00check.log><XML-Ex.Rout>
>
> 1. I use libxml from fink (1.8.17-3 )
>
> 2. When linking XML.so I manually add the flag "-Xlinker -m" because
>
> ld: warning multiple definitions of symbol _xmlParserError
> Utils.o definition of _xmlParserError in section (__TEXT,__text)
> /sw/lib/libxml.dylib(error.lo) definition of _xmlParserError
>
> My understanding is that xmlParserError from Utils.c is supposed to
> overwrite the one from libxml, but simple overriding is not possible
> in OS X flat namespaces. The linker flag forces the right definition.
>
> Here is some configure output
>
> checking libxml/parser.h usability... yes
> checking libxml/parser.h presence... yes
> checking for libxml/parser.h... yes
> Found the libxml parser.h in /sw/include/gnome-xml/libxml/
> Located parser file /sw/include/gnome-xml/parser.h
> -D__DEBUGGING__ -I/sw/include/gnome-xml -I/sw/include/gnome-xml/libxml  
> -I/sw/include/gnome-xml
> Using libxml 1.8.*!
> checking for gzopen in -lz... yes
> checking for xmlParseFile in -lxml... yes
> New style libxml!
>
> Configuration information:
>
> Libxml settings
>
> libxml include directory: /sw/include/gnome-xml
> libxml library directory: -L/sw/lib -lxml -lz -lz  -lxml
> libxml 2:                 no
>
> Compilation flags:        -D__DEBUGGING__ -I/sw/include/gnome-xml  
> -I/sw/include/gnome-xml/libxml -DLIBXML -I/sw/include/gnome-xml
> Link flags:               -L/sw/lib -lxml -lz -lz  -lxml
>
>
> On Sep 20, 2003, at 2:10 , Stefano Iacus wrote:
>
>> Has anyone successfully built the XML package for Darwin R 1.8.0  
>> alpha?
>>
>> If so, in what configurations?
>>
>> stefano
>>
>> ______________________________________________
>> R-devel at stat.math.ethz.ch mailing list
>> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>>
>>
> ===
> Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
> Editor: Journal of Multivariate Analysis, Journal of Statistical  
> Software
> US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
> phone (310)-825-9550;  fax (310)-206-5658;  email:  
> deleeuw at stat.ucla.edu
> homepage: http://gifi.stat.ucla.edu
>   
> ----------------------------------------------------------------------- 
> --------------------------
>           No matter where you go, there you are. --- Buckaroo Banzai
>                    http://gifi.stat.ucla.edu/sounds/nomatter.au
>   
> ----------------------------------------------------------------------- 
> --------------------------



More information about the R-devel mailing list