[R] readline, 64bit solaris build

roger koenker rkoenker at uiuc.edu
Mon Aug 2 23:55:56 CEST 2004


Many, many thanks, ./configure is now happy, and make is chugging 
along....


url:	www.econ.uiuc.edu/~roger        	Roger Koenker
email	rkoenker at uiuc.edu			Department of Economics
vox: 	217-333-4558				University of Illinois
fax:   	217-244-6678				Champaign, IL 61820

On Aug 2, 2004, at 4:27 PM, Prof Brian Ripley wrote:

> 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.
>> Everything
>> 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.
>
>> My
>> (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
>> this,
>
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list