[R] R-0.99 installation on UNIX
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Mon Feb 28 10:25:35 CET 2000
On Tue, 22 Feb 2000, jens wrote:
> > Date: Tue, 22 Feb 2000 13:03:35 +0100
> > From: jens <jniesch at gwdg.de>
> >
> > I have trouble to install R on Sparc Sun Solaris 2.6.
> > make returns the error message:
> > Undefined symbol first referenced in file
> > d_lg10 ../appl/libappl.a(uncmin.o)
> > d_sign ../appl/libappl.a(dpoco.o
> >
> > Anybody can help me out?
>
> Try installing the current version, 0.99.0, which does a better
> job of finding the right libraries. If that fails come back to us
> with a listing of Makeconf in the top-level build directory,
> and details of the compilers you used.
>
> --
> 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
>
> I tried the R-0.99.0 version and got the following for make
>
> Undefined symbol first referenced in file
> i_len xxxpr.o
> d_sign ../appl/libappl.a(dpoco.o)
>
> The compilers used are
> C: gcc version 2.81
> FORTRAN: f2c (from the gnu download packet f2c-1993_04_28_tar.gz)
That is really ancient! I suggest you install gcc-2.95.2, including g77,
if you do not have the Sun compilers. You will find life much easier with
a real Fortran compiler.
> The Makeconf reads:
>
> PACKAGE = R
> VERSION = 0.99.0
>
> AR = ar
> AWK = gawk
> BLAS = blas.o
> CC =
> gcc
> CFLAGS = -g -O2
> CPICFLAGS = -fPIC
> CPPFLAGS =
> DEFS =
> -DHAVE_CONFIG_H
> DLLFLAGS =
> DVIPS = false
> FC =
> FFLAGS =
> FLIBS =
That's wrong. You need -lf2c there, and possibly -L/path/to/it. I would
have expected -lm too, but you have that in LIBS, I see, which may well
suffice. Try setting FLIBS in config.site, or just alter Makeconf and see
if the compilation succeeds (and you will need to alter it in etc/Makeconf
too).
--
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