[BioC] XML package cannot be installed

David Westergaard david at harsk.dk
Sat Jul 28 11:08:53 CEST 2012


Dear Wayne,

XML is complaining it cannot find xml2-config (From  Cannot find
xml2-config). You need to have the libxml2 package installed on your
system. If you are running a debian flavor, you can get it from
aptitude. I'm not familiar with redhat, but I guess it should be in
whatever packaging system it uses.

Best,
David


2012/7/28 Wayne Zhang [guest] <guest at bioconductor.org>:
>
> in order to install the "charm" package in R in my laptop I installed the dependent pakages first. But during the process of installing the package XML",  I encounted an error below.
> Could you help me out? Thanks.
>
>  -- output of sessionInfo():
>
>    package ‘XML’ successfully unpacked and MD5 sums checked
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> No ability to remove finalizers on externalptr objects in this verison of R
> checking for sed... /bin/sed
> checking for pkg-config... /usr/bin/pkg-config
> checking for xml2-config... no
> Cannot find xml2-config
> ERROR: configuration failed for package ‘XML’
> * removing ‘/usr/lib64/R/library/XML
>
>
>
>
> sessionInfo()
> R version 2.15.1 (2012-06-22)
> Platform: x86_64-redhat-linux-gnu (64-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>  [7] LC_PAPER=C                 LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> --
> Sent via the guest posting facility at bioconductor.org.
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list