You will need to install the Debian package
libxml-dev before you can
install the R XML package.
Mahbub Latif <ahmlatif at yahoo.com> writes:
I was trying to install XML package in a linux
(dabian) machine and got the following error
I am not sure whether there is any error in my
installion. I appreciate suggestions to install
properly in this machine.
Thanks in advance.
Mahbub.
######Errors####
$ R CMD INSTALL -l /usr/local/lib/R/library/
XML_0.93-4.tar.gz
* Installing *source* package 'XML' ...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works...
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for xml-config... no
checking for libxml/parser.h... no
checking for gnome-xml/parser.h... no
checking for libxml/parser.h... (cached) no
checking for gnome-xml/parser.h... (cached) no
checking for libxml/parser.h... (cached) no
Cannot find parser.h. Set the value of the
variable
LIBXML_INCDIR
to point to where it can be found.
ERROR: configuration failed for package 'XML'