[R] Installation of R-3.0.3
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Mar 18 22:53:00 CET 2014
This really belongs on the R-devel list, in so far as it is an R issue
at all.
The most likely explanation is that you have a mismatch between your
readline headers and library. That symbol needs readline >= 6.0.
On 18/03/2014 18:53, Fong Chun Chan wrote:
> Hi,
>
> I am trying to install the newest version of R-3.0.3 from source and I've
> been successful in the configuration using this command:
>
> ./configure --enable-R-shlib --with-x=no
> --prefix=/home/fcchan/usr/local/R-3.0.3
>
> When I run make, I run into this issue:
>
> gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
> -I../../src/extra/pcre -I../../src/extra -I../../src/extra/xz/api -I.
> -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -fopenmp -fpic -g -O2 -c Rmain.c -o Rmain.o
> gcc -std=gnu99 -Wl,--export-dynamic -fopenmp -L/usr/local/lib64 -o R.bin
> Rmain.o -L../../lib -lR -lRblas
> ../../lib/libR.so: undefined reference to `rl_sort_completion_matches'
> collect2: ld returned 1 exit status
>
> Looking around it appears to be associated with the readline library which
> I've successfully installed. This is my linux operating system build if it
> helps (I don't have admin on the machine)
>
> cat /proc/version
> Linux version 2.6.18-164.el5 (mockbuild at builder10.centos.org) (gcc version
> 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Sep 3 03:28:30 EDT 2009
>
> Any help would be appreciated. Thanks,
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list