Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-21 Thread Rainer Hurling
Brian, thank you for the adaptions. I tried the new version under R-2.5.0 (2007-01-23 r40560) on FreeBSD 7.0-CURRENT and got the following output. - #R CMD INSTALL rgl_0.70-1.tar.gz * Installing to library '/usr/local/lib/R/library' * Installing *source* package 'rgl' ... checking for

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-21 Thread Prof Brian Ripley
It seems log2 is not used so you can just comment out the line. I am working on a better configure script, and will have something to show you later today. BDR On Wed, 21 Feb 2007, Rainer Hurling wrote: Brian, thank you for the adaptions. I tried the new version under R-2.5.0 (2007-01-23

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-21 Thread Rainer Hurling
Ripley [EMAIL PROTECTED] Subject: Re: [R] Installing Package rgl - Compilation Fails - FreeBSD The problem is that rgl is apparently written for GNU make, and has (as shipped) ifdef MAKINGAGL [EMAIL PROTECTED]@ -Iext [EMAIL PROTECTED]@ else PKG_CPPFLAGS= -If:/R/R-2.4.1/src/extra/zlib

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-21 Thread Rainer Hurling
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

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-21 Thread Dirk Eddelbuettel
FWIW, Debian had working rgl packages since March 2004 -- version 0.64. So I respectfully disagree with the general state of despair regarding the source package. I had my build issues at times, but Daniel and Duncan worked hard and diligently to overcome these. Hence, apt-get install

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-21 Thread Rainer Hurling
Dirk, I agree with you. My statements were only related to rgl on FreeBSD. With the changes from Brian since yesterday I am finally able to compile and work with this package on all our FreeBSD scientific desktops. At the same time I am very conscious about the great job of Daniel and Duncan.

Re: [R] Installing Package rgl - Compilation Fails

2007-02-20 Thread Rick Bilonick
On Mon, 2007-02-19 at 15:11 -0600, Ranjan Maitra wrote: The error is different now. It now cannot find Xext library. Do a yum search on this and install that. yum provides libXext which will give you the package Xext which needs to be installed. You may also need to install the

Re: [R] Installing Package rgl - Compilation Fails

2007-02-20 Thread Duncan Murdoch
On 2/20/2007 9:44 AM, Rick Bilonick wrote: On Mon, 2007-02-19 at 15:11 -0600, Ranjan Maitra wrote: The error is different now. It now cannot find Xext library. Do a yum search on this and install that. yum provides libXext which will give you the package Xext which needs to be installed.

Re: [R] Installing Package rgl - Compilation Fails - Summary

2007-02-20 Thread Rick Bilonick
Summarizing: I'm running R 2.4.1 on a current FC6 32-bit system. In order to have the rgl R package install, I needed to install both mesa-libGLU-devel (FC6 version is 6.5.1-9) and libXext-devel (FC6) rpm packages. Thanks to everyone who commented. Rick B.

Re: [R] Installing Package rgl - Compilation Fails - Summary

2007-02-20 Thread Ranjan Maitra
Hi Duncan, I don't know if this will list all the dependencies for your documentation, since Rick's error messages did not involve libraries and header files already installed by him for something else, perhaps. Just a thought. Ranjan On Tue, 20 Feb 2007 11:59:24 -0500 Rick Bilonick [EMAIL

Re: [R] Installing Package rgl - Compilation Fails - Summary

2007-02-20 Thread Duncan Murdoch
On 2/20/2007 1:11 PM, Ranjan Maitra wrote: Hi Duncan, I don't know if this will list all the dependencies for your documentation, since Rick's error messages did not involve libraries and header files already installed by him for something else, perhaps. No, but it's a start: I'm

Re: [R] Installing Package rgl - Compilation Fails - Summary

2007-02-20 Thread Prof Brian Ripley
On Tue, 20 Feb 2007, Ranjan Maitra wrote: Hi Duncan, I don't know if this will list all the dependencies for your documentation, since Rick's error messages did not involve libraries and header files already installed by him for something else, perhaps. It will not, and most of this is

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-20 Thread Rainer Hurling
Duncan Murdoch schrieb: On 2/20/2007 1:11 PM, Ranjan Maitra wrote: Hi Duncan, I don't know if this will list all the dependencies for your documentation, since Rick's error messages did not involve libraries and header files already installed by him for something else, perhaps. No, but

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-20 Thread Prof Brian Ripley
The problem is that rgl is apparently written for GNU make, and has (as shipped) ifdef MAKINGAGL [EMAIL PROTECTED]@ -Iext [EMAIL PROTECTED]@ else PKG_CPPFLAGS= -If:/R/R-2.4.1/src/extra/zlib -DHAVE_PNG_H -If:/R/R-2.4.1/src/gnuwin32/bitmap/libpng -Iext PKG_LIBS=-lgdi32 -lopengl32 -lglu32

Re: [R] Installing Package rgl - Compilation Fails - FreeBSD

2007-02-20 Thread Duncan Murdoch
On 2/20/2007 4:45 PM, Prof Brian Ripley wrote: The problem is that rgl is apparently written for GNU make, and has (as shipped) ifdef MAKINGAGL [EMAIL PROTECTED]@ -Iext [EMAIL PROTECTED]@ else PKG_CPPFLAGS= -If:/R/R-2.4.1/src/extra/zlib -DHAVE_PNG_H

[R] Installing Package rgl - Compilation Fails

2007-02-19 Thread Rick Bilonick
I'm running R 2.4.1 (with the latest versions of all packages) on an FC6 32-bit system. When I try to install the rgl package, compilation fails: install.packages(rgl) --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done trying URL

Re: [R] Installing Package rgl - Compilation Fails

2007-02-19 Thread Oleg Sklyar
Check again your error message: opengl.hpp:24:20: error: GL/glu.h: No such file or directory you need to install mesa-libGLU-devel FC6 version is 6.5.1-7 which will provide development files for glut3. Needless to say the above will probably pool some dependencies and (-devel) means it will

Re: [R] Installing Package rgl - Compilation Fails

2007-02-19 Thread Ranjan Maitra
As the error message indicates, there is no GL/glu.h file installed in the system. If it is, the path is not properly set. % yum provides GL/glu.h on FC6 should give you some clues and tell you what to install, and also whether it should be installed. Ranjan On Mon, 19 Feb 2007 14:35:29

Re: [R] Installing Package rgl - Compilation Fails

2007-02-19 Thread Prof Brian Ripley
You are missing the OpenGLU headers. On FC5 they are in mesa-libGLU-devel From the README: REQUIREMENTS Windowing System (osx/carbon, unix/x11 or win32) OpenGL Library OpenGL Utility Library (GLU) On Mon, 19 Feb 2007, Rick Bilonick wrote: I'm running R 2.4.1 (with the

Re: [R] Installing Package rgl - Compilation Fails

2007-02-19 Thread Rick Bilonick
On Mon, 2007-02-19 at 19:56 +, Oleg Sklyar wrote: Check again your error message: opengl.hpp:24:20: error: GL/glu.h: No such file or directory you need to install mesa-libGLU-devel FC6 version is 6.5.1-7 which will provide development files for glut3. Needless to say the above

Re: [R] Installing Package rgl - Compilation Fails

2007-02-19 Thread Ranjan Maitra
The error is different now. It now cannot find Xext library. Do a yum search on this and install that. yum provides libXext which will give you the package Xext which needs to be installed. You may also need to install the libXext-devel.i386 package. HTH. Ranjan On Mon, 19 Feb 2007