Compilation of R under Mandrake Linux 6.1 (helios)

John Maindonald
Thu, 11 Nov 1999 17:57:58 +1100 (EST)

I've just installed Mandrake Linux, then compiled R-0.65.1 .
Whether because I omitted some necessary items when I selected
software for installion, or because they anyway needed to be
loaded afterwards, I found it necessary to load the following
packages in order to compile R-0.65.1
  pgcc-g77-1.1.3-3mdk.i586.rpm        (Fortran g77 compiler)
  XFree66-devel-3.3.5-3mdk.i586.rpm   (X.h etc header files)

In addition I had the problem which Jack Fenner (;
6 Sep 1999 message) noted for installation under Caldera Linux 2.2,
i. e. /usr/X11R6/lib/ was not getting linked.
I used his solution, i.e. after running ./configure
edit the src/main/Makefile

Two lines down from
$(top_builddir)/bin/R.X11: $(OBJECTS) $(RLIBS)
is a line that starts $(LDCMD)
Add -L /usr/X11R6/lib before $(DLLFLAGS)
and -lX11 at the end of the line (which was line 122 in my Makefile).
(NB minus ell X eleven)

After that, make and make install ran just fine.

John Maindonald               email :        
Statistical Consulting Unit,  phone : (6249)3998        
c/o CMA, SMS,                 fax   : (6249)5549  
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: