[R] ERROR: compilation failed for package 'rgl'
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Aug 4 21:51:39 CEST 2004
On Wed, 4 Aug 2004, Korponai [iso-8859-2] János wrote:
> I could not install rgl package. What is missing?
OpenGL, or at least its header files. For Fedora Core 2, the GL headers
seems to be in xorg-x11-devel-6.7.0-5, for RH8.0 XFree86-devel-4.2.1-21.
In both cases, the same place as the X11 headers, which may be why the
configure script does not check for them (but it should).
> daphnia:~# R CMDR INSTALL rgl_0.64-13.tar.gz
> * Installing *source* package 'rgl' ...
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for X... libraries /usr/X11R6/lib,
> headers /usr/X11R6/include
>
> checking for libpng-config... yes
> configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> g++ -I/usr/lib/R/include -I/usr/X11R6/include -DHAVE_PNG_H
> -mieee-fp -Wall -pedantic -fno-exceptions -fno-rtti -fPIC -g
> -O2 -c x11lib.cpp -o x11lib.o
> In file included from glgui.h:9,
> from gui.h:10,
> from x11gui.h:10,
> from x11lib.cpp:13:
> opengl.h:19:19: GL/gl.h: No such file or directory
> opengl.h:20:20: GL/glu.h: No such file or directory
...
--
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