Message-ID: <26774FA7-3354-40FD-B02B-7E5E6CF9094D@me.com>
Date: 2011-12-30T04:28:14Z
From: Marc Schwartz
Subject: configure can't find readline -- but it's there!
In-Reply-To: <39B5ED61E7BFC24FA8277B6DE92A9A3F04383CFD@fkimlki01.enterprise.afmc.ds.af.mil>
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