[R] installing R-1.3.1 on Solaris 2.6

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jan 9 12:11:53 CET 2002


On Tue, 8 Jan 2002, wei, xiaoyan wrote:

> Hi All,
>
> I am trying to install R1.3.1 on solaris 2.6 using the gcc/g77 compiler.
>
> The configure step succeeded, but make failed. The compiler versions I used
> are:
> 	gcc version 2.95.2 19991024 (release)
> 	g77 version 2.95.2 19991024 (release)
> 	CC  workshop Compilers 5.0 98/12/15 C++ 5.0
> I can't use the c++ compiler(v2.95.2), since it failed the configure step. I
> can't use f77 either, because we have no license and we are cutting cost in
> the department.

(g++ also works from 2.95.2, but you do need /usr/local/lib in
LD_LIBRARY_PATH to use it.)

> I used all default compiling flags in config.site.
>
> My question is:
> Has anyone installed R1.3.1 successfully using gcc/g77 ( I know people have
> success stories using the Forte compiler, but that is not an option for me)?
>
> Which version do I have to use? Which flags do I have to set?

Definitely, with that compiler, out of the box.  I would suggest you try
1.4.0 though, or even R-patched.tar.gz.

You do need a working ar, though, and

ld: warning: file ../unix/libunix.a ignored: unable to locate archive =
symbol table
ld: warning: file ../appl/libappl.a ignored: unable to locate archive =
symbol table
ld: warning: file ../nmath/libnmath.a ignored: unable to locate archive =
symbol table

is your problem.  Which ar are you using, and it is really for Solaris
2.6?  You should be using

auk% which ar
/usr/ccs/bin/ar

You could try running ranlib on the libraries and see if it goes through.

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