[R] Problems installing R-2.8.0 on Suse linux 10.1

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 31 08:20:50 CET 2008


On Thu, 30 Oct 2008, William Hudspeth wrote:

> Hello, I am trying to install R on Suse linux 10.1. To get configure to
> run correctly, I had to set FPICFLAGS=fPIC.

FPICFLAGS=-fPIC would have been correct (or -fpic).  It is odd that 
FFLAGS has been set to -g and not '-g -O2': did you change that?  And also 
odd that FC has been set to g77, which is not a Fortran 90/95 compiler.

Your problem was a direct result of your incorrect setting.  However, I am 
rather surprised that any change was needed, as R's configure correctly 
finds FPICFLAGS on many Linux systems, and I am sure has in the past on 
Suse 10.1.

>
> R is now configured for i686-pc-linux-gnu
>
>  Source directory:          .
>  Installation directory:    /usr/local
>
>  C compiler:                gcc -std=gnu99  -g -O2
>  Fortran 77 compiler:       g77  -g
>
>  C++ compiler:              g++  -g -O2
>  Fortran 90/95 compiler:    g77 -g
>  Obj-C compiler:
>
>  Interfaces supported:      X11
>  External libraries:        readline
>  Additional capabilities:   PNG, JPEG, TIFF, iconv, MBCS, NLS
>  Options enabled:           shared BLAS, R profiling, Java
>
>  Recommended packages:      yes
>
>
> When I then run make, I get:
>
> make[3]: Entering directory `/usr/local/src/R-2.8.0/src/extra/blas'
> make[4]: Entering directory `/usr/local/src/R-2.8.0/src/extra/blas'
> g77  fPIC  -g -c blas.f -o blas.o
> g77: cannot specify -o with -c or -S and multiple compilations
> make[4]: *** [blas.o] Error 1
> make[4]: Leaving directory `/usr/local/src/R-2.8.0/src/extra/blas'
> make[3]: *** [R] Error 2
> make[3]: Leaving directory `/usr/local/src/R-2.8.0/src/extra/blas'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/usr/local/src/R-2.8.0/src/extra'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/usr/local/src/R-2.8.0/src'
> make: *** [R] Error 1
>
>
> Help would be appreciated,
>
> William
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list