[R-SIG-Mac] installing rgl with the 3.0 RC

Duncan Murdoch murdoch.duncan at gmail.com
Tue Feb 5 17:07:52 CET 2013

On 05/02/2013 10:46 AM, Prof Brian Ripley wrote:
> On 05/02/2013 13:25, Duncan Murdoch wrote:
> > On 13-02-05 8:07 AM, Bryan Hanson wrote:
> >> Thanks for taking the time to look at this carefully Duncan.  I don't
> >> see the warning you mention, and I don't see the string R_pretty0 in
> >> the log either.  I'm appending right here in case there is something
> >> else you want to look at.  I restarted my computer but the result is
> >> the same.  I'm on OSX OS X 10.8.2 (12C60). Thanks, Bryan
> >
> > Okay, now you're getting a different error than you described before.
> > This one I think you can fix:  you need Freetype, and rgl needs to be
> > able to find it when you do the install.  Normally it does that using
> > the freetype-config utility, but you're not finding that:
> >
> > [deletions]
> >> checking for freetype-config... no
> >
> > I thought (from online readings) that Freetype should be available in a
> > standard OSX install, so I'm not sure why it's not working for you.  You
> > can disable the Cocoa (native) support by configuring with the configure
> > option
> >
> > install.packages("rgl", ..., configure.args="--disable-cocoa")
> >
> > and then you should be able to get the install to complete, but it might
> > be better to figure out why freetype-config isn't working for you.
> On Mountain Lion it's part of XQuartz which has a different layout than
> Apple's X11 had.  freetype-config is in /usr/X11/bin, and that is not by
> default on the path.  You need it for the X11 part too.
Thanks, that's helpful.   I'll see if an update to autoconf is enough to 
find it.  If not, I'll try a manual addition to configure.ac.

And then I'll try sending the update to CRAN...

Duncan Murdoch

More information about the R-SIG-Mac mailing list