This was accidentally sent to R-help-owner instead of R-help [why on earth ??] Can anyone help here? -------------- next part -------------- An embedded message was scrubbed... From: "A. Jan Kutylowski" <ajanku at ulrik.uio.no> Subject: R-0.61.3 with readline Date: Fri, 8 May 1998 12:41:54 +0200 Size: 747 Url: https://stat.ethz.ch/pipermail/r-help/attachments/19980508/27f339b6/attachment.mht
R-beta: [ajanku@ulrik.uio.no: R-0.61.3 with readline]
2 messages · Martin Maechler, Peter Dalgaard
Martin Maechler <maechler at stat.math.ethz.ch> writes:
checking for main in -lreadline... yes but not this checking for readline/history.h... no so compilation fails.
Actually, that's not enough to cause compilation failure. The biostats
server has exactly the same set of configure responses. The latter one
only means that R can't save the command history so that you can't
access commands from an earlier session.
I bet the problem is that gcc cannot find the include files for
readline. The way to fix that is
a) figure out where readline.h is at. Let's say it's in
/opt/gnu/readline/readline.h
b) modify the makefile so that while compiling system.c, gcc will look
in the relevant directory. That would be: modify src/unix/Makefile so
that the relevant lines say
system.o: system.c ../include/Defn.h
$(CC) $(CFLAGS) -I/opt/gnu -c system.c
It's a bit annoying that configure can't figure it out by itself, but
on the other hand, there are limits to how many strange places it
should investigate for possible system files.
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._