Skip to content
Prev 86198 / 398506 Next

problem to install R on linux

I ran into the same issue and again it was not having proper PATH (with include folders set) and LD_LIBRARY_PATH set.

-----Original Message-----
From: Andr?? Bel?? [mailto:andbelo at gmail.com] 
Sent: Thursday, February 09, 2006 11:24 PM
To: Bhola, Gautam
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] problem to install R on linux

Hi, thanks for your e-mail, but it was not the case. I found the lines 
with the "readline/readline.h" information. This was because I did not 
have the realine package installed. After installing it I was able to 
install the R-2.0.0 using the .rpm binary version, however, I'm still 
not able to install the v2.2.1 from the source. Now I'm getting the 
following error after the ./configure command:

"...
checking whether we can compute C Make dependencies... yes, using gcc -MM
checking whether gcc supports -c -o FILE.lo... yes
checking how to get verbose linking output from gfortran... configure: 
WARNING: c ompilation failed

checking for Fortran libraries of gfortran...
checking how to get verbose linking output from gcc... -v
checking for C libraries of gcc...  -L/usr/local/lib 
-L/usr/lib/gcc/i586-mandriva -linux-gnu/4.0.1 
-L/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../.. -lgcc_s
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: cannot 
compile a s imple Fortran program
See `config.log' for more details."

I guess this is related to my compiler but I have no clue about how to 
fix it...
Thanks,
AB
Bhola, Gautam wrote:
----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}