From bullard at berkeley.edu  Thu Oct 12 02:52:09 2006
From: bullard at berkeley.edu (James Bullard)
Date: Wed, 11 Oct 2006 17:52:09 -0700
Subject: [Rd] Compiling R 2.4.0 in ubuntu/linux
In-Reply-To: <1160605011.2343.22.camel@graptoleberis.geog.ucl.ac.uk>
References: <ca7bd80e0610111458u7956d43cvb8920e1f2ea09e11@mail.gmail.com>
	<1160605011.2343.22.camel@graptoleberis.geog.ucl.ac.uk>
Message-ID: <452D91B9.8090700@berkeley.edu>



Gavin Simpson wrote:
> 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.

On ubuntu (dapper) the package is:

libreadline5-dev


> 
> 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
>




[Rd] Compiling R 2.4.0 in ubuntu/linux
James Bullard