Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61259 - OpenGL package will not install in CPAN
Summary: OpenGL package will not install in CPAN
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-22 08:32 UTC by Jesse Morgan (morgajel)
Modified: 2016-03-23 01:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Morgan (morgajel) 2004-08-22 08:32:08 UTC
While trying to install the OpenGL package with CPAN I get an error that it cannot find -lGLUT, -lGLX, -lMesaGLX, -lMesaGLUT, or -lXIE



I'm not sure how to resolve this problem.  It says it can't find the library libGLUT, however glut is installed and 
/usr/lib/libglut.so
exists.  I think it might be a capitalization issue- when created a symbolic link from 
/usr/lib/libGLUT.so -> /usr/lib/libglut.so
that error went away(or so I think), but the others remained.

Reproducible: Always
Steps to Reproduce:
1.su -
2.cpan -i OpenGL
3.

Actual Results:  
cruton lib # cpan -i OpenGL
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Sat, 21 Aug 2004 10:05:56 GMT
Running install for module OpenGL
Running make for K/KJ/KJALB/OpenGL-0.5.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/K/KJ/KJALB/OpenGL-0.5.tar.gz ok
Scanning cache /root/.cpan/build for sizes
OpenGL-0.5/
OpenGL-0.5/examples/
OpenGL-0.5/examples/quest
OpenGL-0.5/examples/depth
OpenGL-0.5/examples/light
OpenGL-0.5/examples/cube
OpenGL-0.5/examples/glu_test
OpenGL-0.5/examples/spaceship.nff
OpenGL-0.5/examples/simple
OpenGL-0.5/examples/plane
OpenGL-0.5/examples/wolf.ppm
OpenGL-0.5/examples/smooth
OpenGL-0.5/examples/double
OpenGL-0.5/examples/try
OpenGL-0.5/examples/tk_demo
OpenGL-0.5/examples/clip
OpenGL-0.5/examples/texhack
OpenGL-0.5/examples/fun
OpenGL-0.5/examples/README
OpenGL-0.5/examples/stan.ppm
OpenGL-0.5/examples/texture
OpenGL-0.5/gl_util.c
OpenGL-0.5/glu_const.h
OpenGL-0.5/gl_util.h
OpenGL-0.5/glx_const.h
OpenGL-0.5/SUPPORTS
OpenGL-0.5/isosurf.bin
OpenGL-0.5/OpenGL.pod
OpenGL-0.5/INSTALL
OpenGL-0.5/MANIFEST
OpenGL-0.5/COPYRIGHT
OpenGL-0.5/glx_util.h
OpenGL-0.5/typemap
OpenGL-0.5/genvars.pl
OpenGL-0.5/Makefile.PL
OpenGL-0.5/test.pl
OpenGL-0.5/README
OpenGL-0.5/glut_util.h
OpenGL-0.5/gl_const.h
OpenGL-0.5/OpenGL.pm
OpenGL-0.5/isosurf.pl
OpenGL-0.5/TODO
OpenGL-0.5/glut_const.h
OpenGL-0.5/ppport.h
OpenGL-0.5/glu_util.h
OpenGL-0.5/OpenGL.xs
Removing previously used /root/.cpan/build/OpenGL-0.5

  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 -lMesaGLUT
Note (probably harmless): No library found for -lMesaGLX
Note (probably harmless): No library found for -lXIE
Writing Makefile for OpenGL
cp OpenGL.pm blib/lib/OpenGL.pm
AutoSplitting blib/lib/OpenGL.pm (blib/lib/auto/OpenGL)
/usr/bin/perl /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -noprototypes -typemap
/usr/lib/perl5/5.8.4/ExtUtils/typemap -typemap typemap  OpenGL.xs > OpenGL.xsc
&& mv OpenGL.xsc OpenGL.c
gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-march=pentium3 -O3 -pipe   -DVERSION=\"0.5\" -DXS_VERSION=\"0.5\" -fPIC
"-I/usr/lib/perl5/5.8.4/i686-linux/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: error: `GL_R3_G3_B2_EXT' undeclared (first use in this function)
gl_const.h:600: error: (Each undeclared identifier is reported only once
gl_const.h:600: error: for each function it appears in.)
gl_const.h:689: error: `GL_MISC_BIT_EXT' undeclared (first use in this function)
gl_const.h:714: error: `GL_VOLUME_CLIPPING_HINT_EXT' undeclared (first use in
this function)
gl_const.h:740: error: `GL_COLOR_TABLE_FORMAT_EXT' undeclared (first use in this
function)
gl_const.h:741: error: `GL_COLOR_TABLE_WIDTH_EXT' undeclared (first use in this
function)
gl_const.h:742: error: `GL_COLOR_TABLE_RED_SIZE_EXT' undeclared (first use in
this function)
gl_const.h:743: error: `GL_COLOR_TABLE_GREEN_SIZE_EXT' undeclared (first use in
this function)
gl_const.h:744: error: `GL_COLOR_TABLE_BLUE_SIZE_EXT' undeclared (first use in
this function)
gl_const.h:745: error: `GL_COLOR_TABLE_ALPHA_SIZE_EXT' undeclared (first use in
this function)
gl_const.h:746: error: `GL_COLOR_TABLE_LUMINANCE_SIZE_EXT' undeclared (first use
in this function)
gl_const.h:747: error: `GL_COLOR_TABLE_INTENSITY_SIZE_EXT' undeclared (first use
in this function)
In file included from OpenGL.xs:68:
glu_const.h:82: error: `GLU_INCOMPATIBLE_GL_VERSION' undeclared (first use in
this function)
OpenGL.xs: In function `_s_marshal_glu_t_callback_combine':
OpenGL.xs:536: error: `FIXME' undeclared (first use in this function)
OpenGL.xs:536: error: syntax 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: error: `_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


Expected Results:  
I suppose I'd like OpenGL to install properly

I'm gonna label this as a Blocker, since it prevents me from working on an
OpenGL/Perl project (I apologize if I'm abusing it).
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-09-05 07:31:51 UTC
This isn't a gentoo bug. By the poster's own comments, this happens while running
the CPAN module. The bug should be filed on rt with the author of the opengl 
module. OpenGL is not in the gentoo dev-perl tree.
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-03-23 01:23:19 UTC
Upstream issue, not a "Can't fix", but there is long a dev-perl/OpenGL in tree, which, should work.