Pedro Cordeiro Estrela <[EMAIL PROTECTED]> writes:

> Hello useRs!
>  
>  I'm REALLY having trouble with readline when compiling R. 2.2 from source   
> during ./configure.
>  Here are the last lines of the configure log:
>  
>  checking readline/history.h usability... yes
>  checking readline/history.h presence... yes
>  checking for readline/history.h... yes
>  checking readline/readline.h usability... yes
>  checking readline/readline.h presence... yes
>  checking for readline/readline.h... yes
>  checking for rl_callback_read_char in -lreadline... no


>  checking for main in -lncurses... no
>  checking for main in -ltermcap... no
>  checking for main in -ltermlib... no
>  checking for rl_callback_read_char in -lreadline... no

<twice?>

This check is in there to check for some really old readline versions
that didn't allow the style of readline interface that R used. Do you
happen to have such an older version that could get picked up by the
linker? 

What's inside config.log corresponding to the messages? These tests
generally work by compiling and linking a small test program, and if
that fails, you get the "no" part. However, sometimes the program
fails for some other reason and the message becomes misleading.


>  checking for history_truncate_file... no
>  configure: error: --with-readline=yes (default) and headers/libs are not 
> available
>  
>  I'm on a ASUS W2V laptop (Chipset 915PM), on Mandriva 2005LE distro, 
> libreadline5  and readline5-devel installed.
>  
>  I managed to get it compiled and installed  using option --with-readline=no. 
> However, as I use R dayly, I'd like to get a functional terminal again....
>  
>  Can I do something to fix this, is it a configure script error or should I 
> just change distro? :))
>  
>  The R.2.0 rpm for mandrake installs ok.
>  
>  here the location of my libreadline files
>  /usr/lib/libreadline.a
>  /usr/lib/libreadline.so
>  /lib/libreadline.so.5
>  /lib/libreadline.so.5.0
>  /lib/libreadline.so
>  
>   CheeRs!
>  
>  Pedro
> 
> 
> ____________________________________________________________
> 
> Pedro Cordeiro Estrela
> PhD. student
> 
> UMR 2695: Origine structure et évolution de la biodiversité
> Département de systématique et évolution
> Muséum National d'Histoire Naturelle 
> 
> 55, rue Buffon
> 75005
> Paris - FRANCE
> 
> tel: (33) [0]1 40 79 30 86
> fax: (33) [0]1 40 79 30 63
> [0] : from france only
> _____________________________________________________________
>               
> ---------------------------------
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
   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
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] 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 via email to