[R] rgl installation problems

Duncan Murdoch dmurdoch at pair.com
Fri Jun 25 20:21:33 CEST 2004


On Fri, 25 Jun 2004 17:36:30 +0000, "E GCP" <egcp at hotmail.com> wrote :

>Hi!
>
>I'm new to R, but have worked with Splus before. I installed several 
>packages in R (R-1.9.1) without problems, but when I try to install rgl 
>(rgl_0.64-13.tar.gz). I get the following, and the package does not install. 
>Any help would be greatly appreciated. I'm running R in redhat 9.

The missing reference R_InputHandlers is declared in the
$RHOME/src/include/R_ext/eventloop.h file, and I believe is compiled
into the library R_X11 (with some extension).  You don't seem to have
that in the list of libraries:

>g++  -L/usr/local/lib -o rgl.so x11lib.o x11gui.o types.o math.o fps.o 
>pixmap.o
>gui.o api.o device.o devicemanager.o rglview.o scene.o glgui.o 
>-L/usr/X11R6/lib
>-L/usr/lib -lstdc++ -lX11 -lXext -lGL -lGLU -lpng
>/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In 
>functio
>n `_start':
>../sysdeps/i386/elf/start.S:77: undefined reference to `main'
>x11lib.o(.text+0x84): In function `set_R_handler':
>/tmp/R.INSTALL.8663/rgl/src/x11gui.h:33: undefined reference to 
>`R_InputHandlers

I don't know what you'll need to do to fix this, since I'm using
Windows, so none of this stuff happens there, and I could be
completely wrong about it.  

Duncan Murdoch




More information about the R-help mailing list