Compilation of R under Mandrake Linux 6.1 (helios)

About this list Date view Thread view Subject view Author view Other groups

Subject: Compilation of R under Mandrake Linux 6.1 (helios)
From: John Maindonald (john.maindonald@anu.edu.au)
Date: Thu 11 Nov 1999 - 16:57:58 EST


Message-Id: <199911110657.RAA18539@leonard.anu.edu.au>

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 (jnf@pcisys.net;
6 Sep 1999 message) noted for installation under Caldera Linux 2.2,
i. e. /usr/X11R6/lib/libX11.so.6.1 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 : john.maindonald@anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
Australia
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:10 EST