[R-SIG-Mac] Installing rgl - error: X11 not found but required, configure aborted

Steve Lianoglou mailinglist.honeypot at gmail.com
Sun Mar 11 00:15:53 CET 2012

Hi Ezhil,

On Thu, Mar 8, 2012 at 2:53 PM, Ezhil A <ezhil05 at gmail.com> wrote:
> Dear All,
> I am trying to install rgl from the source file: rgl_0. 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. Do I need to instruct rgl to
> look for /usr/X11/bin? If so, how do I do that?

Check if you have X11.app in /Applications/Utilities

Also, when you get that sorted out, I think I needed to follow the
instructions here:

in order to install rgl from source, namely you'd do:

R CMD INSTALL rgl_0.92.798.tar.gz –configure-args=”–disable-carbon” rgl

But, if you're not running R-devel, why not just install the prebuilt
package using `install.packages`?

(pretty sure that you'd still need to ensure X11 is installed, though)


Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

More information about the R-SIG-Mac mailing list