Skip to content
Prev 937 / 398513 Next

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

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.