[R-SIG-Mac] Problem with readline when building R from source.

Rolf Turner r.turner at auckland.ac.nz
Fri May 21 02:33:21 CEST 2010


I (just now) attempted to build an older version of R (2.10.1)
from source.  The ./configure step came to a halt with an error:

> configure: error: --with-readline=yes (default) and headers/libs are not available

In the past I had been able to build R from source with no problems.

A short time ago, after installing R 2.11.0 (and having some problems with x11()
plotting) I attempted to go back to 2.10.1 by building from source, and found
that I couldn't, due to the foregoing configure error.

I was then told I could resolve the x11() plotting problems by updating my OS.
I finally got around to doing that --- just now --- and indeed this fixed the
x11() plotting problems.

I then figured I'd check and if it had also fixed the ``headers/libs are not
available'' problem --- it hadn't.

So can anyone tell me (preferably in monosyllables, i.e. please make it easy
to understand) how I can fix the ``headers/libs are not available'' problem?
I.e. how do I make the ``headers/libs'' available?

I ***would*** like to be able to build R from source, just as a fallback.

Ta.

	cheers,

		Rolf Turner


P. S.  My OS is Mac OS X 10.6.3.  The screen output from configure,  just before
the error, was:

        .
        .
        .
checking for library containing dlopen... none required
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... yes
checking for rl_callback_read_char in -lreadline... no
checking for history_truncate_file... no

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################



More information about the R-SIG-Mac mailing list