Possible Duplicate:
Problem Installing rgl
I'm trying to install the R package rgl on Ubuntu 9.10. I'm using R version 2.12.1.
I got the following error: "configure: error: missing required header GL/gl.h"
I asked this question earlier without the restriction that I use Ubuntu 9.10, and the answer I got was to update R, but I haven't been able to do this, possibly because Ubuntu 9.10 is not supported by the folks at CRAN.
Just do
sudo apt-get install r-cran-rgl
As there is a reason we spent time harder-to-install packages with less common dependencies. So that you do not have to worry.
If you insist on building it locally, you can still take advantage of the package for understanding its Build-Dependencies, i.e. apt-get build-dep r-cran-rgl
. For the current package (on Ubuntu 11.04) I have
Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 2.12.1), cdbs, \
libgl1-mesa-dev | libgl-dev, \
libglu1-mesa-dev | libglu-dev, \
libpng12-dev, libx11-dev, libxt-dev, x11proto-core-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With