[R] Issues in installing rgl in Mac OS 10.6.8
Hans Ekbrand
hans at sociologi.cjb.net
Sat Mar 10 12:49:56 CET 2012
On Fri, Mar 09, 2012 at 04:52:31PM -0800, A Ezhil wrote:
> Dear All,
>
> I am trying to install rgl on my mac notebook from the source file. I tried using: /usr/bin/R64 CMD INSTALL rgl_0.92.798.tar.gz and get the following
> error message:
>
> checking for X... no
> configure: error: X11 not found but required, configure aborted.
> ERROR: configuration failed for package ‘rgl’
> * removing
> ‘/Library/Frameworks/R.framework/Versions/2.14/Resources/library/rgl’
> * restoring previous
> ‘/Library/Frameworks/R.framework/Versions/2.14/Resources/library/rgl’
>
> I do see a directory X11 installed under /usr and Sys.getenv("PATH") inside R gives me: [1] "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
>
> Could you please hep me to install rgl package?
Not really, but I can offer a hint: I think your system has the
_runtime_ libraries for X11 (in /usr/X11), but you need _development_
libraries to comile rgl.
I have no knowledge about Mac OS, but in my system, Debian GNU/Linux,
the needed libraries to build rgl from source are:
libgl1-mesa-dev
libglu1-mesa-dev
mesa-common-dev
--
Hans Ekbrand (http://sociologi.cjb.net) <hans at sociologi.cjb.net>
More information about the R-help
mailing list