[R] failed installing rgl

James Foadi jf117 at york.ac.uk
Thu Jul 20 22:46:35 CEST 2006


Dear all,
I have tried installing "rgl" with the usual command:

R CMD INSTALL rgl_0.67-2.tar.gz

Differently from what happened last time I have succesfully installed this 
package, this time there was a failure:

...
...g++ -I/usr/lib/R/include -I/usr/lib/R/include -I -DHAVE_PNG_H 
-I/usr/include/libpng12 -I/usr/local/include   -fpic  -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -c api.cpp -o api.o
In file included from glgui.hpp:9,
                 from gui.hpp:11,
                 from rglview.h:10,
                 from Device.hpp:11,
                 from DeviceManager.hpp:9,
                 from api.cpp:14:
opengl.hpp:23:20: error: GL/glu.h: No such file or directory
Disposable.hpp:13: warning: ‘struct IDisposeListener’ has virtual functions 
but non-virtual destructor
types.h:77: warning: ‘class DestroyHandler’ has virtual functions but 
non-virtual destructor
gui.hpp:56: warning: ‘class gui::WindowImpl’ has virtual functions but 
non-virtual destructor
gui.hpp:90: warning: ‘class gui::GUIFactory’ has virtual functions but 
non-virtual destructor
pixmap.h:39: warning: ‘class PixmapFormat’ has virtual functions but 
non-virtual destructor
api.cpp: In function ‘void rgl_user2window(int*, int*, double*, double*, 
double*, double*, int*)’:
api.cpp:707: error: ‘gluProject’ was not declared in this scope
api.cpp: In function ‘void rgl_window2user(int*, int*, double*, double*, 
double*, double*, int*)’:
api.cpp:735: error: ‘gluUnProject’ was not declared in this scope
make: *** [api.o] Error 1
chmod: cannot access `/usr/lib/R/library/rgl/libs/*': No such file or 
directory
ERROR: compilation failed for package 'rgl'
** Removing '/usr/lib/R/library/rgl'
...
...

It is clear that glu.h cannot be found during installation and, indeed, I have 
checked and there is no glu.h under /usr/include/GL.

Any suggestion on how I could proceed?
I am using FEDORA CORE 5.
By typing glxinfo it seems that glu 1.3 is installed. But where's glu.h, then?

Many thanks

J

-- 
Dr James Foadi
Department of Physics
University of York
York YO10 5DD

email: jf117 at york.ac.uk
Tel: 0044 1904 434622
Mobile: 0044 7740 678548

		
___________________________________________________________ 
All New Yahoo! Mail – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html



More information about the R-help mailing list