[R] How do I compile with readline?
John S. Walker
jsw9c at avery.med.virginia.edu
Tue Jan 12 23:13:09 CET 1999
I'm a newbie to the R list. I'm trying to compile my version of R with
the readline library and it doesn't seem to work. I've tried
--enable-readline and while the readline_history options appear to be set
in the config.cache file activated I don't seem to be linking agains the
readline library (it is in it's usual place). I'm not getting any error
messages. Any suggestions?
I noticed that a few people have been having trouble with building shared
libraries under linux. This can happen if you have upgraded your gcc,
g77, libc or libc++ installation (e.g. for compiling Octave). It seems to
break the Imake system (Imake.tmpl seems to be corrupted or out of date).
Using the xmkmf system to test how to make shared libs is what fails in
the R configure script. A short term fix is to use config.site and set
SHLIBLDFLAGS to -shared. This works for me. As far as I can tell the
fault is with whatever is broken in the Imake setup not the R ./configure
script. Given the frequency with which this is happening (from the list
posts) it might be worthwhile trying to come up with another strategy to
find out how to make shared libs. Unfortunately having said that, I
haven't a clue how to do it.
Dept of Physiology
University of Virginia
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help