[R] ERROR: compilation failed for package 'rgl'

Korponai János korponai at georgikon.hu
Wed Aug 4 21:35:32 CEST 2004


X-BeenThere: r-help at stat.math.ethz.ch
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: korponai.janos at nyuduvizig.hu
List-Id: "Main R Mailing List: Primary help" <r-help.stat.math.ethz.ch>
List-Unsubscribe: <https://www.stat.math.ethz.ch/mailman/listinfo/r-help>,
	<mailto:r-help-request at stat.math.ethz.ch?subject=unsubscribe>
List-Archive: <https://www.stat.math.ethz.ch/pipermail/r-help>
List-Post: <mailto:r-help at stat.math.ethz.ch>
List-Help: <mailto:r-help-request at stat.math.ethz.ch?subject=help>
List-Subscribe: <https://www.stat.math.ethz.ch/mailman/listinfo/r-help>,
	<mailto:r-help-request at stat.math.ethz.ch?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2004 19:33:56 -0000

Dear All,

I could not install rgl package. What is missing?

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
In file included from gui.h:10,
                 from x11gui.h:10,
                 from x11lib.cpp:13:
glgui.h:27: error: 'GLuint' is used as a type, but is not defined 
as a type.
glgui.h:28: error: 'GLuint' is used as a type, but is not defined 
as a type.
glgui.h:29: error: 'GLuint' is used as a type, but is not defined 
as a type.
glgui.h: In member function `void GLBitmapFont::enable()':
glgui.h:22: error: `listBase' undeclared (first use this 
function)
glgui.h:22: error: (Each undeclared identifier is reported only 
once for each
   function it appears in.)
glgui.h:22: error: `glListBase' undeclared (first use this 
function)
In file included from x11lib.cpp:13:
x11gui.h:13:20: GL/glx.h: No such file or directory
In file included from x11lib.cpp:13:
x11gui.h: At global scope:
x11gui.h:45: error: syntax error before `*' token
x11gui.h:52: error: 'GLXContext' is used as a type, but is not 
defined as a
   type.
make: *** [x11lib.o] Error 1
ERROR: compilation failed for package 'rgl'
** Removing '/usr/local/lib/R/site-library/rgl'
daphnia:~# version
         _
platform i386-pc-linux-gnu
arch     i386
os       linux-gnu
system   i386, linux-gnu
status
major    1
minor    9.0
year     2004
month    04
day      12
language R

-- 
Dr. Janos Korponai
West-Transdanubian District Environmental and Water Authority, 
Dept. Kis-Balaton
H-8360 Keszthely, Csik F. str. 1, Hungary
e-mail: korponai.janos at nyuduvizig.hu




More information about the R-help mailing list