[R-sig-Fedora] Problems with installing the rgl package

Marc Schwartz marc_schwartz at comcast.net
Tue May 20 19:53:04 CEST 2008

> Dear All,
> I am having the following problem while trying to install the rgl
> package on R 2.7.0:
> configure: error: missing required header GL/glu.h
> ERROR: configuration failed for package 'rgl'
> ** Removing '/usr/lib/R/library/rgl'
> ** Restoring previous '/usr/lib/R/library/rgl'
> The downloaded packages are in
>         /tmp/RtmpRLEDta/downloaded_packages
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages(update[instlib == l, "Package"], l, contriburl =
> contriburl,  :
>   installation of package 'rgl' had non-zero exit status
> Any ideas?
> Thanks in advnace,
> Paul


You don't indicate which version of Fedora/RH you are on, but you need 
to install the libGLU headers, which for F9 are in:


So, as root, you'll likely need:

   yum install mesa-libGLU-devel

Once that is installed, you should be good to go unless you are also 
missing other dependencies as well.


Marc Schwartz

More information about the R-SIG-Fedora mailing list