[R] R-installation regarding.

Paul Hiemstra p.hiemstra at geo.uu.nl
Tue Mar 23 14:41:15 CET 2010


Hi Frederick,

The development files for readline are not available. Install them to 
get this working. For debian/ubuntu the package to install is called 
libreadline-dev or something. SUSE's package manager might have a 
similar package. Alternatively you can skip installing R from source and 
use binary packages that are available in .dev, .rpm etc from CRAN [1]. 
This ensures you have the latest version of R and that upgrading is done 
through the package manager of SUSE, minimizing your work.

cheers,
Paul

[1] http://cran.r-project.org/bin/linux/suse/

fredrick devadoss wrote:
> Hello All,
>
> I am new to R and tried to install R in Linux system (OS: Open SUSE). After untar the source code, changed the directory, and typed the command ./configure, it was checking a list...finally it gave an error message. Here with i have enclosed the error message.
>
> Check-list goes like this:
>
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for gfortran option to produce PIC... -fPIC
> checking if gfortran PIC flag -fPIC works... yes
> checking if gfortran static flag -static works... yes
> checking if gfortran supports -c -o file.o... yes
> checking if gfortran supports -c -o file.o... (cached) yes
> checking whether the gfortran linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for cos in -lm... yes
> checking for sin in -lm... yes
> checking for dlopen in -ldl... yes
> checking readline/history.h usability... no
> checking readline/history.h presence... no
> checking for readline/history.h... no
> checking readline/readline.h usability... no
> checking readline/readline.h presence... no
> checking for readline/readline.h... no
> checking for rl_callback_read_char in -lreadline... no
> checking for main in -lncurses... yes
> checking for rl_callback_read_char in -lreadline... no
> checking for history_truncate_file... no
> configure: error: --with-readline=yes (default) and headers/libs are not available
>
> Can anyone help me in this regard?
>
> Expecting your reply and thanks in advance.
>
> Warm regards
> Fredrick.
>
> ______________________________________________
> 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.
>   


-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul



More information about the R-help mailing list