Re: [R] compile errors with rgl-0.70.570 on FreeBSD

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Sun 08 Apr 2007 - 15:41:00 GMT

Bernardo,

thank you for your tips. But before version 0.70.570 rgl was running fine on my system. All necessary GL files are installed.

Duncan Murdoch is working on a configure script to get rgl also work on Mac OSX. Some of his changes breaks things for FreeBSD. We tested it without posting on r-help@.

Duncan now tries to find a solution for all platforms.

Rainer Hurling

Bernardo Rangel Tura schrieb:
> On Wed, 2007-04-04 at 21:12 +0200, Rainer Hurling wrote:

>> Thank you for your work on rgl.
>>
>> Reading in another thread about your new (inofficial) version of rgl 
>> (see below) I tried it with R version 2.5.0 alpha (2007-03-31 r40986) 
>> under FreeBSD 7.0-CURRENT. Unfortunately I got the following error:
>>
>> -------
>> #R CMD INSTALL rgl_0.70.570.tar.gz
>> * Installing to library '/usr/local/lib/R/library'
>> * Installing *source* package 'rgl' ...
>> checking for libpng-config... yes
>> configure: using libpng-config
>> configure: using libpng dynamic linkage
>> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
>> checking GL/gl.h usability... no
>> checking GL/gl.h presence... no
>> checking for GL/gl.h... no
>> checking GL/glu.h usability... no
>> checking GL/glu.h presence... no
>> checking for GL/glu.h... no
>> configure: error: missing required header GL/gl.h
>> ERROR: configuration failed for package 'rgl'
>> ** Removing '/usr/local/lib/R/library/rgl'
>> ** Restoring previous '/usr/local/lib/R/library/rgl'
>> -------

>
> Rainer,
>
> I have same problem in my Ubuntu.
> I solve instaling OpenGl in system, in my case I install this debian
> poackages:
>
> freeglut3, freeglut3-dev, libgl1-mesa-dev, libglu1-mesa-dev, libice-dev,
> libsm-dev, libx11-dev, libxau-dev, libxdmcp-dev, libxext-dev, libxt-dev,
> mesa-common-dev, x11proto-core-dev, x11proto-input-dev, x11proto-kb-dev,
> x11proto-xext-dev, xlibmesa-gl-dev and xtrans-dev
>
> If you install similar packages in your system I think your problem
> will be solve.
>

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon Apr 09 01:46:35 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 08 Apr 2007 - 17:31:01 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.