[R] Installing Package rgl - Compilation Fails - FreeBSD

Rainer Hurling rhurlin at gwdg.de
Wed Feb 21 19:47:35 CET 2007


Just another note:

rgl_0.70-2 works also for R-2.5.0 on FreeBSD 7.0-CURRENT (amd64) and for 
R-2.4.1 on (i386).

Rainer


Prof Brian Ripley wrote:
> This looks to me like a problem in your OpenGL, I am afraid.
> 
> I've made available a (completely unofficial) revised tarball at
> 
> http://www.stats.ox.ac.uk/pub/R/rgl_0.70-2.tar.gz
> 
> that attempts to work around various configure issues.  Not only does it 
> assume a vanilla make, it also tests if the various headers and 
> libraries are actually present (without assuming they are in .../lib, 
> which they are not on my main system).  So the enquiry with originally 
> started this thread will get a clear error from configure about what is 
> wrong.
> 
> Duncan: I have left in -Iext in PKG_CPPFLAGS, but AFAICS it is only 
> needed on Windows.  We've lost the ability to use a static libpng unless 
> we have libpng-config:  that is I am afraid inevitable as there is no 
> way to find where it might be, and you can't just grab a object of the 
> right name on a multi-architecture system.  Actually, I think it is 
> fundamentally broken as only on a few systems would a static library be 
> PIC (and as i386 Linux with recent gcc is one of those, people tend to 
> forget that).
> 
> Brian Ripley



More information about the R-help mailing list