Skip to content

installation error

4 messages · Govind Vinjamuri, Martin Maechler, Brian Ripley +1 more

#
Hello everybody, I am trying to install R on Solaris 2.6. I get the
following error

Thanks in advance

"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/rpc/auth_kerb.h:14,
                 from /usr/include/rpc/rpc.h:39,
                 from saveload.c:229:
/appl/gnu/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/rpc/auth_kerb.h:14,
                 from /usr/include/rpc/rpc.h:39,
                 from saveload.c:229:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `saveload.o'
Current working directory /tmp/R-1.3.0/src/main
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /tmp/R-1.3.0/src/main
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /tmp/R-1.3.0/src
*** Error code 1
make: Fatal error: Command failed for target `R'

--
Govind Vinjamuri
NSA Unix Administrator
Clinical Research Computing Unit (CRCU)
215-573-5977


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Govind> Hello everybody, I am trying to install R on Solaris 2.6. I get the
    Govind> following error

    Govind> Thanks in advance

    Govind> "In file included from /usr/include/sys/turnstile.h:12,
    Govind> from /usr/include/sys/t_lock.h:20,
    Govind> from /usr/include/sys/vnode.h:37,
    Govind> from /usr/include/sys/stream.h:21,
    Govind> from /usr/include/netinet/in.h:38,
    Govind> from /usr/include/rpc/auth_kerb.h:14,
    Govind> from /usr/include/rpc/rpc.h:39,
    Govind> from saveload.c:229:
    Govind> /appl/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/param.h:187:
    Govind> warning: `NBBY' redefined
    Govind> /usr/include/sys/select.h:45: warning: this is the location of the
    Govind> previous definition
    Govind> In file included from /usr/include/sys/stream.h:26,
    Govind> from /usr/include/netinet/in.h:38,
    Govind> from /usr/include/rpc/auth_kerb.h:14,
    Govind> from /usr/include/rpc/rpc.h:39,
    Govind> from saveload.c:229:
    Govind> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
    Govind> *** Error code 1
    ............


Most probably A mismatch of gcc installation and OS header files.
You have /appl/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/.....
                                         ^^^^^^^^^^^^
and tell us that you have Solaris 2.6.

You might need to re-install gcc;
actually I think (from reports of Brian Ripley and others) that it would be
worth to get gcc 3.0  and install that.

    Govind> Govind Vinjamuri
    Govind> NSA Unix Administrator
    Govind> Clinical Research Computing Unit (CRCU)
    Govind> 215-573-5977

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Don't use gcc compiled for Solaris 2.5.1 on Solaris 2.6.  We've seen this
before a couple of times, and that was the error.

Also, gcc-2.7.2.3 is ancient.  I suggest getting 2.95.3 (or 3.0 if you use
.0 releases: it works for me) for 2,6, or compiling it from source.
On Fri, 27 Jul 2001, Govind Vinjamuri wrote:

            
Um.

  
    
#
Something doesn't match. You say you are installing R on Solaris 2.6,
but then have  gnu/gcc-lib/sparc-sun-solaris.2.5.1

My guess is that you are picking up a stale version of the gcc libraries.

My $0.02 ... Tim
## Tim Hoar, Associate Scientist              email: thoar at ucar.edu     ##
## Geophysical Statistics Project             phone: 303-497-1708       ##
## National Center for Atmospheric Research   FAX  : 303-497-1333       ##
## Boulder, CO  80307                    http://www.cgd.ucar.edu/~thoar ##

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