[R] ERROR: compilation failed for package 'rgl'

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Aug 4 22:50:28 CEST 2004


Korponai János <korponai at georgikon.hu> writes:

> X-BeenThere: r-help at stat.math.ethz.ch
> X-Mailman-Version: 2.1.5
...
> Sender: r-help-bounces at stat.math.ethz.ch
> Errors-To: r-help-bounces at stat.math.ethz.ch

[What happened with the mail headers? Confused my mail filtering.]

> I could not install rgl package. What is missing?
> 
> daphnia:~# R CMDR INSTALL rgl_0.64-13.tar.gz
                  ^

Here's an R too many, but the things that you're missing are include
files for GL code:

> opengl.h:19:19: GL/gl.h: No such file or directory
> opengl.h:20:20: GL/glu.h: No such file or directory
> x11gui.h:13:20: GL/glx.h: No such file or directory

You don't actually say what your platform is and the version info is
insufficient to distinguish between SuSE and RedHat for instance. What
you need to do exactly depends on distribution. In RedHat you seem to
need to install XFree86-devel whereas SuSE wants XFree86-Mesa-devel.
You probably also need the actual libraries: XFree86-Mesa-libGL and
XFree86-Mesa-libGLU (RH), respectively XFree86-Mesa (SuSE).

-- 
   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




More information about the R-help mailing list