[R] Build on Solaris 8 gcc-3.1 fails make check

cberry@tajo.ucsd.edu cberry at tajo.ucsd.edu
Wed Jul 17 22:22:39 CEST 2002


Dear R-help,


I am trying to build R-1.5.1 on a Sun Blade 100 (sparc). 

It fails make check when var(1) returns NaN instead of NA.

Using gcc-2.95.3 from sunfreeware.com, the build succeeds and passes
make check

I have:

 Solaris 8
 gcc-3.1 (built on that machine from sources and installed in
   /usr/local/gcc-3.1 with binaries symlink'ed to /usr/local/bin)


A synopsis is at the bottom of this message.

The web page
 
        http://hacuna.ucsd.edu/Rbuild-Problem/

has these files from this attempt

    Makeconf               3k  
    Makefile               4k  
    Makefrag.cc            1k  
    Makefrag.cxx           1k  
    Makefrag.f77           1k  
    R-build-session      140k  <<=== terminal output from session
    base-Ex.Rout.fail    376k  <<== from /tests/Examples 
    config.log           104k  
    config.status         56k  
    gcc-v--help.out       35k  <<== details about compiler

files not labelled '<<==' are from the top source dir.

A briefer synopsis is below.

Please cc replies to me - I subscribe to DIGEST form of R-help.

Thanks,

Chuck

p.s. On that same machine using gcc-2.95.3 from sunfreeware.com, the
build succeeds and passes make check. Using gcc-3.1 from
sunfreeware.com, it fails in the same way as decribed above.

Briefly, I did this:

# ./configure R_PAPERSIZE=letter CPPFLAGS=  LDFLAGS= 
( CPPFLAGS= suppresses annoying messages like these:
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system
directory)
[deleted]

R is now configured for sparc-sun-solaris2.8

  Source directory:          .
  Installation directory:    /usr/local
  C compiler:                gcc  -g -O2
  C++ compiler:              g++  -g -O2
  FORTRAN compiler:          g77  -g -O2

  X11 support:               yes
  Gnome support:             no
  Tcl/Tk support:            yes
  Readline support:          no

  R profiling support:       yes
  R as a shared library:     no

# make
[deleted]
# make check
make[1]: Entering directory `/space/local/src/R-1.5.1/tests'
make[2]: Entering directory `/space/local/src/R-1.5.1/tests'
make[3]: Entering directory `/space/local/src/R-1.5.1/tests/Examples'
make[4]: Entering directory `/space/local/src/R-1.5.1/tests/Examples'
make[4]: Leaving directory `/space/local/src/R-1.5.1/tests/Examples'
make[4]: Entering directory `/space/local/src/R-1.5.1/tests/Examples'
collecting examples for package 'base' ...
make[5]: Entering directory `/space/local/src/R-1.5.1/src/library'
 >>> Building/Updating help pages for package `base'
     Formats: text example 
make[5]: Leaving directory `/space/local/src/R-1.5.1/src/library'
running code in 'base-Ex.R' ...make[4]: *** [base-Ex.Rout] Error 1
make[4]: Leaving directory `/space/local/src/R-1.5.1/tests/Examples'
make[3]: *** [test-Examples] Error 2
make[3]: Leaving directory `/space/local/src/R-1.5.1/tests/Examples'
make[2]: *** [test-Examples] Error 2
make[2]: Leaving directory `/space/local/src/R-1.5.1/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving directory `/space/local/src/R-1.5.1/tests'
make: *** [check] Error 2
[deleted]

# bin/R

R : Copyright 2002, The R Development Core Team
Version 1.5.1  (2002-06-17)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.

R is a collaborative project with many contributors.
Type `contributors()' for more information.

Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.

Type `q()' to quit R.


> stopifnot(  is.na(var(1)), !is.na(var(1)) )
Error: !is.na(var(1)) is not TRUE
> var(1)
[1] NaN
> q()



Charles C. Berry                        (858) 534-2098 
                                         Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	         UC San Diego
http://hacuna.ucsd.edu/members/ccb.html  La Jolla, San Diego 92093-0645

 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list