R-beta: compiling R-0.62.3 on SuSe Linux

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat Oct 3 13:43:41 CEST 1998

owner-r-help at stat.math.ethz.ch writes:

> >>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 kind of thing is normal. Just configure's way of finding out that
you don't have that lib.

> I still tried to run 'make' and this resulted in failure messages
> of which I include the following:
> >>make[3]: Leaving directory `/usr/local/R-0.62.3/src/appl'
> >>cd unix; make
> >>make[3]: 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
> >>dataentry.h:23: X11/Xlib.h: No such file or directory
> >>dataentry.h:24: X11/Xutil.h: No such file or directory
> >>dataentry.h:25: X11/keysym.h: No such file or directory
> >>dataentry.h:26: X11/cursorfont.h: No such file or directory

This, however, indicates that you're not set for compiling any X11
program, including R. I don't know SuSe very well, but I'd suspect that
you're missing an "X11-devel" package or something like that.

(R doesn't have the proper #ifdef's in to compile without X11,
although it probably should get them at some point.)

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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 mailing list