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

Paul Smith phhs80 at gmail.com
Wed May 21 12:58:21 CEST 2008


On Tue, May 20, 2008 at 6:53 PM, Marc Schwartz
<marc_schwartz at comcast.net> wrote:
>> 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?
>
> 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.

Thanks, Marc. Actually, on this machine, I am running F8. However,
your suggestion

yum install mesa-libGLU-devel

has solved the reported problem.

Paul



More information about the R-SIG-Fedora mailing list