[R] configure can't find readline -- but it's there!

Marc Schwartz marc_schwartz at me.com
Fri Dec 30 05:28:14 CET 2011


On Dec 29, 2011, at 7:14 PM, Cable, Sam B Civ USAF AFMC AFRL/RVBXI wrote:

> Am trying to install 2.14.0 on a CentOS system.  The configure script
> apparently can't find something to do with the readline library:
> 
> Configure: error: --with-readline=yes (default) and headers/libs are not
> available
> 
> Yes, I know I need readline 4.2 or later.  "yum" assures me that rev 5.1
> is already installed.
> 
> And I know I need to provide configuration flags if it is in a
> non-system directory, but such is not the case.  readline was put in
> with a standard OS installation.
> 
> And I know that I need the full developer package, as opposed to the
> user only versions, but the heck if I can find any such separate
> package.  "yum" doesn't know anything about it.
> 
> So, in short, I have a completely standard install of readline, as far
> as I can tell, but the configure script can't find it.
> 
> Anyone have any ideas?
> 
> Thanks.


Hi,

The typical solution would be to install the readline-devel RPM, which is where the header files, etc. would be available. 

So as root:

  yum install readline-devel

or if you have sudo enabled:

  sudo yum install readline-devel

HTH,

Marc Schwartz



More information about the R-help mailing list