Skip to content

R-beta: [ajanku@ulrik.uio.no: R-0.61.3 with readline]

2 messages · Martin Maechler, Peter Dalgaard

#
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
#
Martin Maechler <maechler at stat.math.ethz.ch> writes:
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.