Gtk-Perl and OpenGL



hi ..

I installed the GtkGLArea debian packages, and tried
to use the two examples, but I saw that I needed OpenGL
module to get them to work.

But the OpenGL Module is somehow broken:

  CPAN.pm: Going to build K/KJ/KJALB/OpenGL-0.5.tar.gz

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lGLUT
Note (probably harmless): No library found for -lGLX
Note (probably harmless): No library found for -lMesaGL
Note (probably harmless): No library found for -lMesaGLU
Note (probably harmless): No library found for -lMesaGLUT
Note (probably harmless): No library found for -lMesaGLX
Writing Makefile for OpenGL
cp OpenGL.pm blib/lib/OpenGL.pm
AutoSplitting blib/lib/OpenGL.pm (blib/lib/auto/OpenGL)
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp 
-noprototypes -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap OpenGL.xs > OpenGL.xsc && mv 
OpenGL.xsc OpenGL.c
cc -c  -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
-DVERSION=\"0.5\" -DXS_VERSION=\"0.5\" -fPIC -I/usr/lib/perl/5.6.1/CORE -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT 
-DHAVE_GLX OpenGL.c
In file included from OpenGL.xs:67:
gl_const.h: In function `neoconstant':
gl_const.h:600: `GL_R3_G3_B2_EXT' undeclared (first use in this function)
gl_const.h:600: (Each undeclared identifier is reported only once
gl_const.h:600: for each function it appears in.)
gl_const.h:689: `GL_MISC_BIT_EXT' undeclared (first use in this function)
gl_const.h:714: `GL_VOLUME_CLIPPING_HINT_EXT' undeclared (first use in this function)
gl_const.h:791: `GL_CLIENT_ALL_ATTRIB_BITS' undeclared (first use in this function)
In file included from OpenGL.xs:68:
glu_const.h:82: `GLU_INCOMPATIBLE_GL_VERSION' undeclared (first use in this function)
OpenGL.xs: In function `_s_marshal_glu_t_callback_combine':
OpenGL.xs:536: parse error before `PL_stack_sp'
OpenGL.xs: In function `XS_OpenGL_gluTessCallback':
OpenGL.xs:7643: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type
OpenGL.xs:7648: `_s_marshal_glu_t_callback_end' undeclared (first use in this function)
make: *** [OpenGL.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

(Paolo: btw, the Debian GtkHTML packges is broken as well)

-- 
Jens Luedicke
jens irs-net com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]