Mark Kimpel
2008-Oct-14 18:34 UTC
[R] XML_1.98-0 fails to build on Debian Lenny with gcc 4.3.2 and R-beta 2.8.0
Subject pretty much says it all. Wonder if there is there is some code in XML that the new gcc doesn't like? See output below: * Installing *source* package 'XML' ... 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 checking for sed... /bin/sed checking for xml2-config... no Cannot find xml2-config ERROR: configuration failed for package 'XML' ** Removing '/home/mkimpel/R_HOME/site-library-2.8.0/XML' ------------------------------------------------------------ Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 399-1219 Home Skype: mkimpel "The real problem is not whether machines think but whether men do." -- B. F. Skinner ****************************************************************** [[alternative HTML version deleted]]
Dirk Eddelbuettel
2008-Oct-14 19:00 UTC
[R] XML_1.98-0 fails to build on Debian Lenny with gcc 4.3.2 and R-beta 2.8.0
On Tue, Oct 14, 2008 at 02:34:57PM -0400, Mark Kimpel wrote:> Subject pretty much says it all. Wonder if there is there is some code in > XML that the new gcc doesn't like? See output below:You are wondering wronly.> * Installing *source* package 'XML' ... > 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 > checking for sed... /bin/sed > checking for xml2-config... no > Cannot find xml2-config > ERROR: configuration failed for package 'XML' > ** Removing '/home/mkimpel/R_HOME/site-library-2.8.0/XML'You seem to be a) missing the libxml2-dev package for Debian: sudo apt-get install libxml2-dev b) once again ignoring the fact that XML is available for you as a binary Debian package via sudo apt-get install r-cran-xml' c) also ignoring the fact that, should you still insist on building it yourself, that sudo apt-get build-dep r-cran-xml would do step a) for you d) forgetting that we repeatedly recommended r-sig-debian as a more suitable mailing list to you. Stunned, Dirk> > ------------------------------------------------------------ > Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry > Indiana University School of Medicine > > 15032 Hunter Court, Westfield, IN 46074 > > (317) 490-5129 Work, & Mobile & VoiceMail > (317) 399-1219 Home > Skype: mkimpel > > "The real problem is not whether machines think but whether men do." -- B. > F. Skinner > ****************************************************************** > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Three out of two people have difficulties with fractions.
Apparently Analagous Threads
- how to list variables enclosed in an environment
- 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze
- 'options=utils::recover' not working in .Rprofile or within R
- splitting strings efficiently
- RSPython won't load in R 2.6.0 under Linux