Hi,
You need to install the headers/libs for readline. Probably using your
package manager, look for something like readline-devel.
cheers,
Paul
Yuan Zhidong wrote:> Dear Sir,
> When I install R on SUSE Linux Enterprise Server 10 (ia64)
> (Linux a450 2.6.16.21-0.8-default #1 SMP Mon Jul 3 18:25:39 UTC 2006
> ia64 ia64 ia64 GNU/Linux)
> it reported the wrong messages at the end:
>
> # ./configure checking build system
> type... ia64-unknown-linux-gnu
> checking host system type...
> ia64-unknown-linux-gnu loading site
> script
> './config.site'
> loading build specific script
> './config.site' checking for
> pwd...
> /bin/pwd
> checking whether builddir is srcdir...
> yes checking for working
> aclocal... found
> checking for working autoconf...
> found
>
.................................................................................................................
>
> 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
>
>
> Could you tell me how to fix the problem? Thank you!
>
> Best wishes,
>
> Yuan Zhidong
>
> ______________________________________________
> 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