[R] readline, 64bit solaris build
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Aug 2 23:27:59 CEST 2004
On Mon, 2 Aug 2004, roger koenker wrote:
> I've built a 64bit version of R 1.9.1 on a solaris 2.9 sparc system.
> seems quite functional, except that readline produces the following:
> > configure:21277: checking for rl_callback_read_char in -lreadline
> > configure:21307: cc -xarch=v9 -o conftest -xO5 -xlibmil -dalign
> > -I/usr/local/include -L/us
> > r/local/lib conftest.c -lreadline -ldl -ltermcap -lm >&5
> > ld: warning: file /usr/local/lib/libreadline.a(callback.o): wrong ELF
> > class: ELFCLASS32
> > Undefined first referenced
> > symbol in file
> > rl_callback_read_char conftest.o
> > ld: fatal: Symbol referencing errors. No output written to conftest
> > configure:21313: $? = 1
> > configure: failed program was:
> > | /* confdefs.h. */
> in config.log... do I interpret this correctly as a gentle suggestion
> that readline should be remade as a 64bit library? Can this be done?
Yes, yes. You need to build it with cc -xarch=v9 or gcc -m64: looks like
I used the latter and probably there was a good reason.
> (superficial) look at the readline docs didn't offer any advice in this
> direction, nor did my googling produce any.
> I realize that the real hidden message here is probably to accept
> that it is time to make the transition to ESS, but I'm still resisting
Um, you need a 64-bit emacs with readline for a 64-bit ESS ....
> and hope that someone could suggest a way to get readline going.
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