[R] Stuck in R installation, help~~

Selina queenina at gmail.com
Thu May 18 02:45:51 CEST 2006


Hi all,

I'm stuck in the installation of R.
When I run configure, I got the error:
configure: error: --with-readline=yes (default) and headers/libs are 
not available

I followed one answer in some post and use this:
./configure --with-prefix=/home/user/R-2.2.1 --with-readline=no

It successfully configured but I encountered another problem while make:

gcc -shared -L/usr/local/lib64  -o libRlapack.so dlamc.lo dlapack0.lo 
dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo  -lf77blas -latlas -lg2c 
-lm -lgcc_s
/usr/bin/ld: 
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/libf77blas.a(xerbla.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when 
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/libf77blas.a: 
could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libRlapack.so] Error 1
make[4]: Leaving directory `/home/user/R-2.2.1/src/modules/lapack'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/home/user/R-2.2.1/src/modules/lapack'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/user/R-2.2.1/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/user/R-2.2.1/src'
make: *** [R] Error 1

I just have no clue. I've been trying to fix this for a really long 
time. Any help or suggestion is highly appreciated!

Thanks

Selina




More information about the R-help mailing list