Skip to content

rgl 0.81 in R 2.8 on Mac OS X

3 messages · Duncan Murdoch, Ken Knoblauch, Simon Urbanek

#
Kenneth Knoblauch wrote:
That's not a problem -- the build script builds 2 versions of some 
files, and the first time through they don't exist, so you get that 
error, which is ignored.

The problem is with the Freetype library, which is being detected at 
build time but which is not available at run time.  All I can say is 
that it works for me, I don't know why it doesn't work for you.  (I'm on 
OS X 10.4.11, you're probably on 10.5?)  You can try to configure rgl 
without Freetype by using --disable-ftgl as a configure option, i.e.

R CMD INSTALL --configure-args=--disable-ftgl ...

but I don't know how to get it to work.

I've copied this to R-sig-mac; maybe someone there can suggest a fix.

Duncan Murdoch
#
Just a followup.  With the updated CRAN R 2.8.0 binaries,
and installing the binary builds of the packages, all works
fine again.  I'd still like to track down the source of
the problem discussed at the beginning of this thread (at
the bottom of this mail), if anyone has some suggestions,
however.

Thank you.

Ken


Quoting Duncan Murdoch <murdoch at stats.uwo.ca>:

  
    
#
Ken,

I didn't follow the earlier discussion, but I can suggest why it works  
in R 2.8.0 :). For R 2.8.0 we now use an updated (static) freetype in  
R. On the CRAN build machine it has higher precedence than Apple's  
freetype, so that's what rgl binary ends up using.
But then, I didn't see any problems before so it's hard to tell...

Cheers,
S
On Oct 23, 2008, at 6:44 , Kenneth Knoblauch wrote: