« Return to Thread: [Cooker] R: Cannot install XML package

[Cooker] R: Cannot install XML package

by falcaraz-3 :: Rate this Message:

Reply to Author | View in Thread

I do need the odfWeave package for R, but one of the dependences is the
XML package and I am having problems to install it (no mather if using
externally R CMD INSTALL <ML....> or, inside R, the install.packages()
command. I have libxml2 installed and it is a release young that the
2.6, mentioned in the XML-package documentation as minimum. The error is
the next one:

%%%%%%%%%%%%%%%%%%%%%%%%
DocParse.c: En la función ‘notifyError’:
DocParse.c:1051: error: el formato no es una cadena literal y no tiene
argumentos de formato
DocParse.c: En la función ‘R_findXIncludeStartNodes’:
DocParse.c:1574: aviso: se pasa el argumento 2 de ‘addXInclude’ desde un
tipo de puntero incompatible
make: *** [DocParse.o] Error 1
chmod: no se puede acceder a «/usr/lib/R/library/XML/libs/*»: No existe
el fichero o el directorio
ERROR: compilation failed for package 'XML'
** Removing '/usr/lib/R/library/XML'

The downloaded packages are in
/root/tmp/Rtmp11MqyA/downloaded_packages
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("XML") :
installation of package 'XML' had non-zero exit status
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Perhaps a mandriva xml package is missing. Could anyone help me?, using
Ubuntu the compilation of the XML package for R is very smooth.

Thanks in advance

--
Francisco Alcaraz Ariza
Departamento de Biología Vegetal
Universidad de Murcia
E-30100 Murcia (España)


 « Return to Thread: [Cooker] R: Cannot install XML package