[R] installing R-1.3.1 on Solaris 2.6

wei, xiaoyan wei_xiaoyan at emc.com
Fri Jan 11 00:24:10 CET 2002


Thank Professor Ripley for the reply.

I tried R-1.4.0, updated path and LD_LIBRARY_PATH etc, the installation
succeeded with gcc/g77!

I do have one question though. At the end of the outputs from configure,
I saw a line:
	R as a shared library: no
which probably means that I cannot use R as a shared library. 
What configuration do I need to support R as a shared library?

Thanks,
--Xiaoyan
(P.S. I attached the output from configure for your reference)



-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Wednesday, January 09, 2002 6:12 AM
To: wei, xiaoyan
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] installing R-1.3.1 on Solaris 2.6


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20020110/3e6b0ccc/log.txt


More information about the R-help mailing list