[R] Installation of R-1.4.1 on Solaris 2.7

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Apr 17 17:02:46 CEST 2002


These are (as far as I recall) the symptoms of using gcc compiled for
Solaris <=2.6 on Solaris 2.7.  As gcc makes copies of header files, it is
essential that it is re-compiled when the OS is upgraded.

R 1.4.1 compiles out of the box on Solaris 2,7 with the current gcc, 3.0.4,
and also with 2.95,3,

On Wed, 17 Apr 2002, Ted Lystig wrote:

> I am trying to install R-1.4.1 on the Solaris 2.7 OS by compiling the
> source code.  Unfortunately, I obtain a fatal error during make
> (apparently while using gcc to compile arithmetic.c).  The configure
> command seemed to work acceptably (end of output follows).
>
> --(snip)--
>
> R is now configured for sparc-sun-solaris2.7
>
>   Source directory:          .
>   Installation directory:    /usr/local
>   C compiler:                gcc  -g -O2
>   C++ compiler:              c++  -g -O2
>   FORTRAN compiler:          g77  -g -O2
>
>   X11 support:               yes
>   Gnome support:             no
>   Tcl/Tk support:            no
>
>   R profiling support:       yes
>   R as a shared library:     no
>
> configure: warning: you cannot build info versions of the R manuals
>
> --(snip)--
>
> I don't have the latest version of makeinfo installed, hence the above
> warning, which I'm not concerned about.  What does concern me is the error
> message from make (which is longer, and follows).  Any suggestions as to
> how to proceed would be greatly appreciated.
>
> 	-Ted
>
> --(snip)--
>
> ankh(81)> make
> creating src/scripts/R.fe
> `libappl.a' is up to date.
> `libnmath.a' is up to date.
> `libunix.a' is up to date.
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H   -g -O2 -c arithmetic.c -o arithmetic.o
> arithmetic.c:58: warning: `struct exception' declared inside parameter
> list
> arithmetic.c:58: warning: its scope is only this definition or
> declaration,
> arithmetic.c:58: warning: which is probably not what you want.
> arithmetic.c: In function `matherr':
> arithmetic.c:60: dereferencing pointer to incomplete type
> arithmetic.c:61: `DOMAIN' undeclared (first use this function)
> arithmetic.c:61: (Each undeclared identifier is reported only once
> arithmetic.c:61: for each function it appears in.)
> arithmetic.c:62: `SING' undeclared (first use this function)
> arithmetic.c:65: `OVERFLOW' undeclared (first use this function)
> arithmetic.c:68: `UNDERFLOW' undeclared (first use this function)
> arithmetic.c:69: dereferencing pointer to incomplete type
> arithmetic.c: In function `do_math1':
> arithmetic.c:1075: `acosh' undeclared (first use this function)
> arithmetic.c:1076: `asinh' undeclared (first use this function)
> arithmetic.c:1077: `atanh' undeclared (first use this function)
> *** Error code 1
> make: Fatal error: Command failed for target `arithmetic.o'
> Current working directory
> /.../chalmers.se/fs/cab/math/.users/lystig/home/BIN/R-DIR/R-1.4.1/src/main
> *** Error code 1
> make: Fatal error: Command failed for target `R'
> Current working directory
> /.../chalmers.se/fs/cab/math/.users/lystig/home/BIN/R-DIR/R-1.4.1/src/main
> *** Error code 1
> make: Fatal error: Command failed for target `R'
> Current working directory
> /.../chalmers.se/fs/cab/math/.users/lystig/home/BIN/R-DIR/R-1.4.1/src
> *** Error code 1
> make: Fatal error: Command failed for target `R'
> ankh(82)>
>
> --(snip)--
>
> =======================================
> Ted Lystig, Ph.D.
> Department of Mathematical Statistics
> Chalmers University of Technology
> S-412 96 Göteborg
> Sweden
>
> email:  lystig at math.chalmers.se
> phone: +46 31 772 5342
> FAX:   +46 31 772 3508
> =======================================
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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