From gavin.simpson at ucl.ac.uk  Thu Oct 12 00:16:51 2006
From: gavin.simpson at ucl.ac.uk (Gavin Simpson)
Date: Wed, 11 Oct 2006 23:16:51 +0100
Subject: [Rd] Compiling R 2.4.0 in ubuntu/linux
In-Reply-To: <ca7bd80e0610111458u7956d43cvb8920e1f2ea09e11@mail.gmail.com>
References: <ca7bd80e0610111458u7956d43cvb8920e1f2ea09e11@mail.gmail.com>
Message-ID: <1160605011.2343.22.camel@graptoleberis.geog.ucl.ac.uk>

On Wed, 2006-10-11 at 17:58 -0400, T C wrote:
> I'm not sure if this is the place to post this question, but, I am
> having trouble compiling the source code. I do have a suitable C
> compiler and f2c but I get this error when I run ./configure
> 
> configure: error: --with-readline=yes (default) and headers/libs are
> not available
> 
> Any ideas? Thanks.

You need the readline development headers, which in general are found in
<package_name>-devel package available for your distribution. You might
have readline installed, but clearly you don't have the development
headers or they are installed in a non-standard place that the configure
script can't find them.

I'm not familiar with Ubuntu, but on Fedora the package you need is
readline-devel. Install it using Ubuntu's package manager and then try
to recompile.

And please *don't* post to both R-Help *and* R-devel; posting to one
list is quite sufficient and only R-devel is the appropriate list for
questions of this nature.

HTH

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Gavin Simpson                 [t] +44 (0)20 7679 0522
 ECRC & ENSIS, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/cv/
 London, UK. WC1E 6BT.         [w] http://www.ucl.ac.uk/~ucfagls/
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




[Rd] Compiling R 2.4.0 in ubuntu/linux
Gavin Simpson