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
Marc Schwartz
2008-May-20 17:53 UTC
[R-sig-Fedora] Problems with installing the rgl package
> 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, > > PaulPaul, 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: mesa-libGLU-devel-7.1-0.29.fc9.i386.rpm 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. HTH, Marc Schwartz
Possibly Parallel Threads
- update.packages() as ordinary user, /usr/lib/R/site-library is not writable
- Updating packages after install of r-base 2.6.2: cant update rgl
- Upgrading
- packages MANOR, qvalue, and tkWidgets fail install on Fedora 7 with latest R-beta build
- update packages with R on Vista: error