Skip to content

Instantly share code, notes, and snippets.

@AngelBerihuete
Created February 18, 2016 09:21
Show Gist options
  • Save AngelBerihuete/6df591b189188d82e714 to your computer and use it in GitHub Desktop.
Save AngelBerihuete/6df591b189188d82e714 to your computer and use it in GitHub Desktop.
Problems with glu.h in the installation of rgl package under Linux OpenSuse distribution
When yo try to install rgl in R you have an error about glu.h
%%%%%%%%%%%%%%%
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: missing required header GL/glu.h
ERROR: configuration failed for package ‘rgl’
* removing ‘/home/angel/R/x86_64-suse-linux-gnu-library/3.2/rgl’
Warning in install.packages :
installation of package ‘rgl’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpUlg2zO/downloaded_packages’
%%%%%%%%%%%%%%%
This is because you need glu.h library to compile rgl package.
You can solve this by installing
zypper in freeglut-devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment