[R] [Rd] Compiling R 2.4.0 in ubuntu/linux
Dirk Eddelbuettel
edd at debian.org
Thu Oct 12 03:26:59 CEST 2006
(redirected to r-help)
On 11 October 2006 at 17:52, James Bullard wrote:
| 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
But
apt-get install r-base-dev
is much more comrehensive as you need other header packages, compilers, ...
CRAN often has 'backports' of the current release for Debian stable and
Ubuntu though, though there is not yet a R 2.4.0. You can also rebuild the
package locally from (Debian) package sources which is what I do at work.
Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
More information about the R-help
mailing list