[Rd] Installation error (PR#9190)

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 30 18:09:39 CEST 2006


This is a bug in your compiler installation, not one in R.

I notice you have a very old version of gcc, and that you have a system
header (stdio.h) in /usr/local/include.

It seems likely that you have a version of the mismatch problem discussed 
in the R-admin manual:

  @command{gcc} makes modified versions of some header files, and
  so (for example) @command{gcc} compiled under Solaris 2.6 will not
  compile @R{} under Solaris 2.7. 


On Wed, 30 Aug 2006, lenon at fstrf-wi.org wrote:

> Full_Name: Patrick Lenon
> Version: 2.3.1
> OS: Solaris 10
> Submission from: (NULL) (144.92.92.204)
> 
> 
> During ./configure of R 2.3.1 (R-home directory of `/u/home/lenon/R/ru231/') I
> got this feedback shown below.  
> 
> configure: WARNING: floatingpoint.h: present but cannot be compiled
> configure: WARNING: floatingpoint.h:     check for missing prerequisite
> headers?
> configure: WARNING: floatingpoint.h: see the Autoconf documentation
> configure: WARNING: floatingpoint.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: floatingpoint.h: proceeding with the preprocessor's result
> configure: WARNING: floatingpoint.h: in the future, the compiler will take
> precedence
> configure: WARNING:     ## ----------------------------------- ##
> configure: WARNING:     ## Report this to r-bugs at R-project.org ##
> configure: WARNING:     ## ----------------------------------- ##
> 
> Subsequently the "make" failed with this error:
> 
> /usr/local/include/stdio.h:186: error: conflicting types for `FILE'
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.1/include/floatingpoint.h:52:
> error: previous declaration of `FILE'
> make[3]: *** [bakslv.o] Error 1
> make[3]: Leaving directory `/u/home/lenon/R/ru231/R-2.3.1/src/appl'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/u/home/lenon/R/ru231/R-2.3.1/src/appl'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/u/home/lenon/R/ru231/R-2.3.1/src'
> make: *** [R] Error 1
> 
> I did a search for 'floatingpoint.h' in the R bug archive and got no results.
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-devel mailing list