Problems installing R 2.2.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems installing R 2.2.1

Anne P Shelton
We are trying to install R2.2.1 on a  IBM P655 Cluster, SuSE LE 9.1
We are using gcc v 3.3.3
 
and we are getting this error on make
 
g77 -fPIC  -g -O2 -ffloat-store -c dlamc.f -o dlamc.lo
g77  -fPIC  -g -O2 -c dlapack0.f -o dlapack0.lo
g77  -fPIC  -g -O2 -c dlapack1.f -o dlapack1.lo
g77  -fPIC  -g -O2 -c dlapack2.f -o dlapack2.lo
g77  -fPIC  -g -O2 -c dlapack3.f -o dlapack3.lo
g77  -fPIC  -g -O2 -c cmplx.f -o cmplx.lo
gcc -shared -L/usr/local/lib  -o libRlapack.so dlamc.lo dlapack0.lo
dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo  -lf77blas -latlas -lg2c
-lm -lgcc_s
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
/bin/ld: Error: The symbol `s_wsfe' has a R_PPC_REL24 relocation, that
means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
-fPIC.
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
/bin/ld: Error: The symbol `do_fio' has a R_PPC_REL24 relocation, that
means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
-fPIC.
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
/bin/ld: Error: The symbol `do_fio' has a R_PPC_REL24 relocation, that
means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
-fPIC.
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
/bin/ld: Error: The symbol `e_wsfe' has a R_PPC_REL24 relocation, that
means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
-fPIC.
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
/bin/ld: Error: The symbol `s_stop' has a R_PPC_REL24 relocation, that
means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
-fPIC.
collect2: ld returned 1 exit status
make[4]: *** [libRlapack.so] Error 1
make[4]: Leaving directory
`/opt/devel/POWER/R/R-2.2.1/src/modules/lapack'
make[3]: *** [R] Error 2
make[3]: Leaving directory
`/opt/devel/POWER/R/R-2.2.1/src/modules/lapack'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/opt/devel/POWER/R/R-2.2.1/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/opt/devel/POWER/R/R-2.2.1/src'
make: *** [R] Error 1
 
Any ideas would be appreciated.  I will continue reading the
documentation.

 
Anne Shelton
ITS Research IT Group
University at Albany
1400 Washington Ave. - MSC-100
Albany, NY 12222
 
Office: 437-4525  Cell: 788-8634
 

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: Problems installing R 2.2.1

Peter Dalgaard
"Anne P Shelton" <[hidden email]> writes:

> We are trying to install R2.2.1 on a  IBM P655 Cluster, SuSE LE 9.1
> We are using gcc v 3.3.3
>  
> and we are getting this error on make
>  
> g77 -fPIC  -g -O2 -ffloat-store -c dlamc.f -o dlamc.lo
> g77  -fPIC  -g -O2 -c dlapack0.f -o dlapack0.lo
> g77  -fPIC  -g -O2 -c dlapack1.f -o dlapack1.lo
> g77  -fPIC  -g -O2 -c dlapack2.f -o dlapack2.lo
> g77  -fPIC  -g -O2 -c dlapack3.f -o dlapack3.lo
> g77  -fPIC  -g -O2 -c cmplx.f -o cmplx.lo
> gcc -shared -L/usr/local/lib  -o libRlapack.so dlamc.lo dlapack0.lo
> dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo  -lf77blas -latlas -lg2c
> -lm -lgcc_s
> /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
> /bin/ld: Error: The symbol `s_wsfe' has a R_PPC_REL24 relocation, that
> means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
> -fPIC.
> /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
> /bin/ld: Error: The symbol `do_fio' has a R_PPC_REL24 relocation, that
> means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
> -fPIC.
> /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
> /bin/ld: Error: The symbol `do_fio' has a R_PPC_REL24 relocation, that
> means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
> -fPIC.
> /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
> /bin/ld: Error: The symbol `e_wsfe' has a R_PPC_REL24 relocation, that
> means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
> -fPIC.
> /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux
> /bin/ld: Error: The symbol `s_stop' has a R_PPC_REL24 relocation, that
> means '/usr/local/lib/libf77blas.a(xerbla.o)' was compiled without
> -fPIC.
> collect2: ld returned 1 exit status
> make[4]: *** [libRlapack.so] Error 1
> make[4]: Leaving directory
> `/opt/devel/POWER/R/R-2.2.1/src/modules/lapack'
> make[3]: *** [R] Error 2
> make[3]: Leaving directory
> `/opt/devel/POWER/R/R-2.2.1/src/modules/lapack'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/opt/devel/POWER/R/R-2.2.1/src/modules'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/opt/devel/POWER/R/R-2.2.1/src'
> make: *** [R] Error 1
>  
> Any ideas would be appreciated.  I will continue reading the
> documentation.

Looks like you need to recompile ATLAS (or stop trying to link against
it). This is slightly tricky because ATLAS is not too keen on making
PIC code. AFAIR (it's been a while) you may or may not be given the
choice of modifying flags during the configuration phase (where need
to stick in -fPIC all over the place). Alternatively, you can just let
it run and diddle the Make.Linux_* file afterwards.

--
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([hidden email])                  FAX: (+45) 35327907

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html