[R-sig-Geo] xml package not install

Rainer Stuetz rainer.stuetz at gmail.com
Tue Oct 5 13:01:03 CEST 2010


On Mon, Oct 4, 2010 at 10:15 PM, Ricardo Rodríguez
<ricardorodot02 at gmail.com> wrote:
> hi all, I have problems with  installation of package 'XML'  and I need as
> rgdal not working with grass for lack of this package suggestions.
>
> * installing *source* package ‘XML’ ...
> ....
> checking for xml2-config... no
> Cannot find xml2-config
> ERROR: configuration failed for package ‘XML’

The xml2-config script installed by LIBXML could not be found on your system.
You didn't specify your distribution, but for example in Debian/Ubuntu
you need to
install the libxml2-dev package:

> apt-file search xml2-config
libxml2-dev: /usr/bin/xml2-config
libxml2-dev: /usr/share/man/man1/xml2-config.1.gz
> sudo apt-get install libxml2-dev

Also see this: http://cran.r-project.org/web/packages/XML/INSTALL

HTH,
Rainer



More information about the R-sig-Geo mailing list