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'. Thanks, a quick reply would be greatly appreciated, Shai egoz [15:46] /opt/local/R-1.0.0 % make make[1]: Entering directory `/opt/local/R-1.0.0/tools' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/opt/local/R-1.0.0/tools' make[1]: Entering directory `/opt/local/R-1.0.0/afm' make[1]: Leaving directory `/opt/local/R-1.0.0/afm' make[1]: Entering directory `/opt/local/R-1.0.0/doc' make[1]: Leaving directory `/opt/local/R-1.0.0/doc' make[1]: Entering directory `/opt/local/R-1.0.0/etc' make[1]: Leaving directory `/opt/local/R-1.0.0/etc' make[1]: Entering directory `/opt/local/R-1.0.0/src' make[2]: Entering directory `/opt/local/R-1.0.0/src/scripts' mkdir ../../bin make[2]: Leaving directory `/opt/local/R-1.0.0/src/scripts' make[2]: Entering directory `/opt/local/R-1.0.0/src/include' mkdir ../../include mkdir ../../include/R_ext make[2]: Leaving directory `/opt/local/R-1.0.0/src/include' make[2]: Entering directory `/opt/local/R-1.0.0/src/appl' make[3]: Entering directory `/opt/local/R-1.0.0/src/appl' making Rsock.d from Rsock.c making S_compat.d from S_compat.c making approx.d from approx.c making bakslv.d from bakslv.c making binning.d from binning.c making chisqsim.d from chisqsim.c making chull.d from chull.c making cpoly.d from cpoly.c making cumsum.d from cumsum.c making distance.d from distance.c making fft.d from fft.c making fmin.d from fmin.c making fortran.d from fortran.c making lbfgsb.d from lbfgsb.c making loglin.d from loglin.c making lowess.d from lowess.c making machar.d from machar.c making massdist.d from massdist.c making pretty.d from pretty.c making pythag.d from pythag.c making rowsum.d from rowsum.c 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 Shai Shen-Orr Crown Human Genome Center and Bioinformatics Unit, Weizmann Institute of Science Home page and more contact info: http://bioinfo.weizmann.ac.il/~lvssso -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._