[R] Installation help
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Thu Jul 26 09:22:20 CEST 2001
On Wed, 25 Jul 2001, Leslea J. Lehoucq wrote:
> Hello,
>
> I am trying to compile R using the Sun WorkShop 6.0 (Forte) compilers.
> I don't think I am having a problem with the compilers, but instead with
>
> figuring out how to modify the R configuration to use non-Gnu compilers.
>
> I found in your documentation that one should modify the config.site
> file
> to change compilers, compiler flags, library paths, etc. I made
> modifications
> in this file, but the configure script still seems to be relying on the
> Gnu
> compilers rather than the compilers I've specified. It picks up my
> changes
> to the fortran compiler (using f77 instead of g77), but ignores my
> specification
> of the cc compiler rather than gcc. Since I couldn't use config.site to
> fix
> my problem, I configured with whatever the configure script was giving
> me,
> and then went into the Makeconf file to change compiler, library paths,
> and
> other flags. I have made some progress in compiling (i.e. when I run
> gmake I am getting the right compilers, paths, and flags), but my build
> is
> failing at a certain point.
>
> Do you know of anyone who has compiled R with the Solaris WorkShop 6.0
> (Forte) compilers? Pointers would be greatly appreciated.
Yes, I do it as part of the regular testing.
You need to remove config.cache and then re-run configure, as the CC value
is cached to be gcc. I would have CC=cc and make sure the compiler is in
your path.
Also, you need to set FPICFLAGS to -PIC, and -Kpic should be -KPIC.
(I think configure would have figured these out if you had left them
unset.)
Start again from a clean sheet, edit config.site before you do anything and
it should work. It has for me many times.
--
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