[R] Installing R on Solaris

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Mar 27 18:56:17 CEST 2000


> Date: Mon, 27 Mar 2000 16:55:33 +0300
> From: Shai Shen-Orr <lvssso at bioinformatics.weizmann.ac.il>
> X-Accept-Language: en
> To: r-help at stat.math.ethz.ch
> Subject: [R] Installing R on Solaris
> 
> Hi, 
> 
> I've been trying to install R on Solaris, I've been following the
> instruction for configuring & compiling R (I have gcc and f77
> installed)- but I get Error messages.  I'd appreciate it if you could
> look at the output, (pasted below) and give me some advice on what to
> do.  I've attached the R install 'readme'.

I've seen this. Is your version of Solaris actually 2.5.1?  The system
I saw it on had the wrong version of gcc for its Solaris. The messages
indicate that it does not know if you are using 32-bit or 64-bit Solaris.

Also gcc 2.7.2.3 is rather old these days, and had its own private
header files: 2.8.1 and 2.95.2 are less susceptible to such problems.
(And the correct /usr/include/sys/param.h has 
#ifndef NBBY
#define NBBY    8                       /* number of bits per byte */
#endif
)
I suggest installing gcc 2.95.2.


> making sock.d from sock.c
> In file included from /usr/include/sys/turnstile.h:12,
>                  from /usr/include/sys/t_lock.h:20,
>                  from /usr/include/sys/vnode.h:37,
>                  from /usr/include/sys/stream.h:21,
>                  from /usr/include/netinet/in.h:38,
>                  from /usr/include/netdb.h:96,
>                  from sock.c:49:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/param.h:187:
> warning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the
> previous definition
> In file included from /usr/include/sys/stream.h:26,
>                  from /usr/include/netinet/in.h:38,
>                  from /usr/include/netdb.h:96,
>                  from sock.c:49:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> make[3]: *** [sock.d] Error 1
> make[3]: Leaving directory `/opt/local/R-1.0.0/src/appl'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/opt/local/R-1.0.0/src/appl'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/opt/local/R-1.0.0/src'
> make: *** [R] Error 1

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