[R] failed installing rgl

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Jul 21 11:08:47 CEST 2006


On FC5:

roc% rpm -q --file /usr/include/GL/glu.h
mesa-libGLU-devel-6.4.2-6.FC5.3

Do check what the R-admin manual says about -devel RPMs.


On Thu, 20 Jul 2006, James Foadi wrote:

> 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
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list