Re: [R] failed installing rgl

From: Prof Brian D Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 21 Jul 2006 - 19:08:47 EST

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


______________________________________________ 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 Fri Jul 21 19:12:59 2006

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 Fri 21 Jul 2006 - 20:16:58 EST.

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