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.
Compiling R 2.4.0 in ubuntu/linux
3 messages · T C, Gavin Simpson, James Bullard
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/ %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
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