R-beta: compiling R-0.62.3 on SuSe Linux
albrecht.gebhardt at uni-klu.ac.at
Thu Oct 1 01:05:06 CEST 1998
On Wed, 30 Sep 1998 owner-r-help at stat.math.ethz.ch wrote:
> On my RedHat 5.1 machine at the office I am happily using R
> installed from Martyn Plummer's RPM's of R-62.3 for RH 5.1
> At home I have SuSe Linux 5.3 on my PC and as RH 5.1 is libc6
> based and SuSe 5.3 is still libc5 based the RH 5.1 RPM's do
> not install and work on SuSe (even though they have a test
> version of glibc).
I'm using R (0.62.3) with SuSE 5.3 without problems.
You can find my R- (and other stuff) RPMs prepared for SuSE 5.3 on my
This RPM repository is generated with rpm2html, so it should help you
finding required packages (my R version needs libblas, this needs libF77
... and so on)
> I uncompressed/untarred the 'tgz' to /usr/local/ and then
> ran ./configure in the resulting directory /R-0.62.3
> This seemed to complete OK but consulting the config.log
> file showed things like:
> >>configure:1888: gcc -o conftest -g -O2 conftest.c -ldxml
> >> -ldl -lncurses -lm 1>&5
> >>/usr/i486-linux/bin/ld: cannot open -ldxml: No such file or directory
> >>configure: failed program was:
> >>#line 1881 "configure"
> >>#include "confdefs.h"
This is ok because libdxml does only exist on Digital Alpha machines. The
above message just illustrates the way "configure" works to determine if
a specific library exists: it tries to run a "cc -ldxml" and then parses
the error messages.
> I still tried to run 'make' and this resulted in failure messages
> of which I include the following:
> >>make: Leaving directory `/usr/local/R-0.62.3/src/appl'
> >>cd unix; make
> >>make: Entering directory `/usr/local/R-0.62.3/src/unix'
> >>gcc -g -O2 -I../../src/include -c dataentry.c
> >>In file included from dataentry.c:24:
> >>dataentry.h:22: X11/X.h: No such file or directory
The include path -I/usr/X11R6/include was missing in your commandline.
But more likely you have not installed the "xdevel"-RPM from your SuSE
CDs -- it contains these header files.
| Albrecht Gebhardt Tel.: (++43 463) 2700/837 |
| Institut fuer Mathematik Fax : (++43 463) 2700/834 |
| Universitaet Klagenfurt mailto:albrecht.gebhardt at uni-klu.ac.at |
| Villacher Str. 161 http://www-stat.uni-klu.ac.at/~agebhard |
| A-9020 Klagenfurt, Austria |
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
More information about the R-help