[R] installation error

Martin Maechler maechler at stat.math.ethz.ch
Fri Jul 27 16:59:16 CEST 2001


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



More information about the R-help mailing list