Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the OpenGL CPAN distribution.

Report information
The Basics
Id: 46586
Status: resolved
Priority: 0/
Queue: OpenGL

People
Owner: Nobody in particular
Requestors: mhiebing [...] googlemail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: make test fails on openSuse 11.1 32Bit
Date: Mon, 1 Jun 2009 17:13:02 +0200
To: bug-opengl [...] rt.cpan.org
From: Matthias Hiebing <mhiebing [...] googlemail.com>

Message body is not shown because it is too large.

What is the output of the glversion executable that was generated in the utils/ directory? It looks like FreeGLUT was found and that the glversion ran successfully but then the build says it is using GLX instead of FreeGLUT. Also, you might try building the module PDL::Graphics::OpenGL::Perl::OpenGL which is basically the same but a developer's release with additional debugging output and default namespace. Once the PDL<->OpenGL interface is completed, the OpenGL functionality will be reported to the main OpenGL module. Regards, Chris Show quoted text
> Testing for OpenGL Extensions > Testing GLUT version > glversion: cd utils;make -f Makefile GLUT_LIB=glut GLUT_DEF=HAVE_GLUT > clean;make -f Makefile GLUT_LIB=glut GLUT_DEF=HAVE_GLUT > > rm -f glversion.txt > rm -f glversion > rm -f glversion.o > cc -I/usr/include -I/usr/X11R6/include -I/usr/local/include > -I/usr/openwin/include -DHAVE_GLUT -c glversion.c > cc glversion.o -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib > -L/usr/openwin/lib -L/usr/lib/xorg/modules -L/usr/X11R6/lib/modules > -L/usr/lib/xorg/modules/extensions -L/usr/X11R6/lib/modules/extensions > -lGL -lglut -lGLU -lXi -lXmu -lXext -lX11 -lm -o glversion > chmod u+x glversion > ./glversion > glversion.txt > > > Found FreeGLUT v20400 > Have Version Data > > Using interface: GLX > > resulting libs: > FREEGLUT = 'glut' > GL = 'GL' > GLU = 'GLU' > GLUT = 'glut' > GLX = 'glitz-glx' > MESA = 'OSMesa' > > MakeMaker configuration: > Checking if your kit is complete... > Looks good > AUTHOR => q[Bob 'grafman' Free <grafman at graphcomp.com>] > DEFINE => q[-DHAVE_VER -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU > -DHAVE_GLUT -DHAVE_GLX -DHAVE_MESA -DHAVE_GLX -DGL_GLEXT_LEGACY] > EXE_FILES => [] > INC => q[-I/usr/include -I/usr/X11R6/include -I/usr/local/include > -I/usr/openwin/include] > LDFROM => q[$(OBJECT) ] > LIBS => q[-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib > -L/usr/openwin/lib -L/usr/lib/xorg/modules -L/usr/X11R6/lib/modules > -L/usr/lib/xorg/modules/extensions -L/usr/X11R6/lib/modules/extensions > -lglut -lGL -lOSMesa -lglut -lglitz-glx -lGLU -lXext -lXmu -lXi -lICE > -lX11 -lm] > NAME => q[OpenGL] > OBJECT => q[$(BASEEXT)$(OBJ_EXT) gl_util$(OBJ_EXT)] > OPTIMIZE => undef > PM => { OpenGL.pm=>q[$(INST_LIBDIR)/OpenGL.pm], > Config.pm=>q[$(INST_LIBDIR)/OpenGL/Config.pm], > OpenGL.pod=>q[$(INST_LIBDIR)/OpenGL.pod] } > PREREQ_PM => { } > VERSION_FROM => q[OpenGL.pm] > XSPROTOARG => q[-noprototypes] > clean => { FILES=>q[utils/glversion.txt utils/glversion > utils/glversion.o] } > dynamic_lib => { } > Using PERL=/usr/bin/perl > Potential libraries are '-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib > -L/usr/openwin/lib -L/usr/lib/xorg/modules -L/usr/X11R6/lib/modules > -L/usr/lib/xorg/modules/extensions -L/usr/X11R6/lib/modules/extensions > -lglut -lGL -lOSMesa -lglut -lglitz-glx -lGLU -lXext -lXmu -lXi -lICE > -lX11 -lm': > -L/usr/openwin/lib ignored, directory does not exist > -L/usr/X11R6/lib/modules ignored, directory does not exist > -L/usr/X11R6/lib/modules/extensions ignored, directory does not exist > '-lglut' found at /usr/lib/libglut.so.3.8.0 > '-lGL' found at /usr/lib/libGL.so.1.2 > '-lOSMesa' found at /usr/lib/libOSMesa.so.7.2.0 > '-lglut' found at /usr/lib/libglut.so.3.8.0 > '-lglitz-glx' found at /usr/lib/libglitz-glx.so.1 > '-lGLU' found at /usr/lib/libGLU.so.1.3.070200 > '-lXext' found at /usr/lib/libXext.so.6.4.0 > '-lXmu' found at /usr/lib/libXmu.so.6.2.0 > '-lXi' found at /usr/lib/libXi.so.6 > '-lICE' found at /usr/lib/libICE.so.6.3.0 > '-lX11' found at /usr/lib/libX11.so.6.2.0 > '-lm' found at /usr/lib/libm.so > Writing Makefile for OpenGL > > > > #> make > > cp OpenGL.pm blib/lib/OpenGL.pm > AutoSplitting blib/lib/OpenGL.pm (blib/lib/auto/OpenGL) > cp Config.pm blib/lib/OpenGL/Config.pm > cp OpenGL.pod blib/lib/OpenGL.pod > /usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -noprototypes > -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap > OpenGL.xs > OpenGL.xsc && mv OpenGL.xsc OpenGL.c > cc -c -I/usr/include -I/usr/X11R6/include -I/usr/local/include > -I/usr/openwin/include -D_REENTRANT -D_GNU_SOURCE > -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i586 -mtune=i686 > -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector > -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe > -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC > "-I/usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE" -DHAVE_VER > -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX > -DHAVE_MESA -DHAVE_GLX -DGL_GLEXT_LEGACY OpenGL.c > In file included from OpenGL.xs:11: > ppport.h:43:38: warning: "/*" within comment > OpenGL.xs: In function 'rpn_exec': > OpenGL.xs:1686: warning: operation on 'pos' may be undefined > OpenGL.xs:1766: warning: operation on 'pos' may be undefined > OpenGL.xs:1776: warning: operation on 'pos' may be undefined > OpenGL.c: In function 'XS_OpenGL__Array_new': > OpenGL.c:2081: warning: unused variable 'type' > OpenGL.xs: In function 'XS_OpenGL__Array_affine': > OpenGL.xs:2640: warning: unused variable 'fbo_width' > OpenGL.c: In function 'XS_OpenGL_glRecti': > OpenGL.c:10661: warning: unused variable 'ix' > OpenGL.c: In function 'XS_OpenGL_glRects': > OpenGL.c:10685: warning: unused variable 'ix' > OpenGL.c: In function 'XS_OpenGL_glRectd': > OpenGL.c:10709: warning: unused variable 'ix' > OpenGL.c: In function 'XS_OpenGL_glRectf': > OpenGL.c:10733: warning: unused variable 'ix' > OpenGL.xs: In function 'XS_OpenGL_glBufferSubDataARB_s': > OpenGL.xs:11325: warning: unused variable 'data_s' > OpenGL.xs: In function 'XS_OpenGL_glutMouseWheelFunc': > OpenGL.xs:16908: warning: implicit declaration of function > 'glutMouseWheelFunc' > OpenGL.c: In function 'XS_OpenGL_glutBitmapHeight': > OpenGL.c:34874: warning: implicit declaration of function > 'glutBitmapHeight' > OpenGL.c: In function 'XS_OpenGL_glutBitmapString': > OpenGL.c:34920: warning: implicit declaration of function > 'glutBitmapString' > OpenGL.c: In function 'XS_OpenGL_glutMainLoopEvent': > OpenGL.c:34939: warning: implicit declaration of function > 'glutMainLoopEvent' > OpenGL.c: In function 'XS_OpenGL_glutSolidCylinder': > OpenGL.c:35021: warning: implicit declaration of function > 'glutSolidCylinder' > OpenGL.c: In function 'XS_OpenGL_glutSolidRhombicDodecahedron': > OpenGL.c:35040: warning: implicit declaration of function > 'glutSolidRhombicDodecahedron' > OpenGL.c: In function 'XS_OpenGL_glutStrokeHeight': > OpenGL.c:35062: warning: implicit declaration of function > 'glutStrokeHeight' > OpenGL.c: In function 'XS_OpenGL_glutStrokeString': > OpenGL.c:35108: warning: implicit declaration of function > 'glutStrokeString' > OpenGL.c: In function 'XS_OpenGL_glutWireCylinder': > OpenGL.c:35152: warning: implicit declaration of function > 'glutWireCylinder' > OpenGL.c: In function 'XS_OpenGL_glutWireRhombicDodecahedron': > OpenGL.c:35171: warning: implicit declaration of function > 'glutWireRhombicDodecahedron' > OpenGL.xs: In function 'XS_OpenGL_glutSetOption': > OpenGL.xs:17451: warning: implicit declaration of function > 'glutSetOption' > OpenGL.xs: In function 'XS_OpenGL_glutLeaveMainLoop': > OpenGL.xs:17461: warning: implicit declaration of function > 'glutLeaveMainLoop' > OpenGL.xs: In function 'XS_OpenGL_glutMenuDestroyFunc': > OpenGL.xs:17474: warning: implicit declaration of function > 'glutMenuDestroyFunc' > OpenGL.xs: In function 'XS_OpenGL_glutCloseFunc': > OpenGL.xs:17484: warning: implicit declaration of function > 'glutCloseFunc' > OpenGL.c: In function 'XS_OpenGL_glpcOpenWindow': > OpenGL.c:35355: warning: unused variable 'targ' > OpenGL.c: In function 'XS_OpenGL_glpDisplay': > OpenGL.c:35467: warning: unused variable 'targ' > OpenGL.c: At top level: > OpenGL.xs:44: warning: 'SWIZZLE' defined but not used > OpenGL.xs:49: warning: 'not_here' defined but not used > OpenGL.xs:625: warning: 'generic_glut_Joystick_handler' defined but > not used > OpenGL.xs:836: warning: '_s_marshal_glu_t_callback_edgeFlag' defined > but not used > OpenGL.xs:841: warning: '_s_marshal_glu_t_callback_vertex' defined but > not used > OpenGL.xs:850: warning: '_s_marshal_glu_t_callback_error' defined but > not used > OpenGL.xs:855: warning: '_s_marshal_glu_t_callback_combine' defined > but not used > cc -c -I/usr/include -I/usr/X11R6/include -I/usr/local/include > -I/usr/openwin/include -D_REENTRANT -D_GNU_SOURCE > -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i586 -mtune=i686 > -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector > -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe > -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC > "-I/usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE" -DHAVE_VER > -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX > -DHAVE_MESA -DHAVE_GLX -DGL_GLEXT_LEGACY gl_util.c > In file included from gl_util.h:4, > from gl_util.c:2: > ppport.h:43:38: warning: "/*" within comment > gl_util.c: In function 'pgl_set_type': > gl_util.c:950: warning: value computed is not used > gl_util.c:952: warning: value computed is not used > gl_util.c:959: warning: value computed is not used > gl_util.c:961: warning: value computed is not used > gl_util.c:963: warning: value computed is not used > gl_util.c:970: warning: value computed is not used > gl_util.c:972: warning: value computed is not used > gl_util.c:974: warning: value computed is not used > gl_util.c:976: warning: value computed is not used > gl_util.c: In function 'pgl_get_type': > gl_util.c:1034: warning: value computed is not used > gl_util.c:1036: warning: value computed is not used > gl_util.c:1044: warning: value computed is not used > gl_util.c:1046: warning: value computed is not used > gl_util.c:1048: warning: value computed is not used > gl_util.c:1056: warning: value computed is not used > gl_util.c:1058: warning: value computed is not used > gl_util.c:1060: warning: value computed is not used > gl_util.c:1062: warning: value computed is not used > Running Mkbootstrap for OpenGL () > chmod 644 OpenGL.bs > rm -f blib/arch/auto/OpenGL/OpenGL.so > LD_RUN_PATH="/usr/lib" cc -shared -march=i586 -mtune=i686 > -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector > -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe OpenGL.o > gl_util.o -o blib/arch/auto/OpenGL/OpenGL.so \ > -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib > -L/usr/lib/xorg/modules -L/usr/lib/xorg/modules/extensions -lglut -lGL > -lOSMesa -lglut -lglitz-glx -lGLU -lXext -lXmu -lXi -lICE -lX11 -lm > \ > > chmod 755 blib/arch/auto/OpenGL/OpenGL.so > cp OpenGL.bs blib/arch/auto/OpenGL/OpenGL.bs > chmod 644 blib/arch/auto/OpenGL/OpenGL.bs > Manifying blib/man3/OpenGL.3pm > > > > #> make test > > PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl > Can't load 'blib/arch/auto/OpenGL/OpenGL.so' for module OpenGL: > blib/arch/auto/OpenGL/OpenGL.so: undefined symbol: glClampColorARB at > /usr/lib/perl5/5.10.0/i586-linux-thread-multi/DynaLoader.pm line 203. > at test.pl line 9 > Compilation failed in require at test.pl line 9. > BEGIN failed--compilation aborted at test.pl line 9. > make: *** [test_dynamic] Fehler 2 > > ---------------- > END Build log
Subject: Re: [rt.cpan.org #46586] make test fails on openSuse 11.1 32Bit
Date: Mon, 1 Jun 2009 22:32:49 +0200
To: bug-OpenGL [...] rt.cpan.org
From: Matthias Hiebing <mhiebing [...] googlemail.com>
Hello, thanks Chris, for the prompt answer. I tried 'perl Makefile.PL interface=FREEGLUT', alas 'make test' failed again with the same error message. I will try the OpenGL module you mentioned. Regards Matthias Here is the output from 'glversion' --------------------- GLUT=20400 VERSION=3.0.0 NVIDIA 180.51 VENDOR=NVIDIA Corporation RENDERER=GeForce 8800 GT/PCI/SSE2 EXTENSIONS=GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_framebuffer_object GL_ARB_geometry_shader4 GL_ARB_imaging GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_texture_shared_exponent GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_buffer_float GL_NV_conditional_render GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
Thanks, Matthias. The glversion output means that we have found a working set of OpenGL and FreeGLUT compile and link options. Now we need to figure out why that is not being carried into the compile of the module proper. Getting OpenGL to work is basically setting the correct options for includes and libraries. With your feedback we should be able to sort things out with your system too. I look forward to hearing back. --Chris n Mon Jun 01 16:33:07 2009, mhiebing@googlemail.com wrote: Show quoted text
> Hello, > > thanks Chris, for the prompt answer. > I tried 'perl Makefile.PL interface=FREEGLUT', alas 'make test' failed
again Show quoted text
> with the same error message. I will try the OpenGL module you mentioned. > > Regards > > Matthias > > Here is the output from 'glversion' > --------------------- > GLUT=20400 > VERSION=3.0.0 NVIDIA 180.51 > VENDOR=NVIDIA Corporation > RENDERER=GeForce 8800 GT/PCI/SSE2 > EXTENSIONS=GL_ARB_color_buffer_float GL_ARB_depth_buffer_float > GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced > GL_ARB_fragment_program GL_ARB_fragment_program_shadow > GL_ARB_fragment_shader GL_ARB_half_float_pixel > GL_ARB_half_float_vertex GL_ARB_framebuffer_object > GL_ARB_geometry_shader4 GL_ARB_imaging GL_ARB_map_buffer_range > GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query > GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite > GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 > GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object > GL_ARB_texture_compression GL_ARB_texture_cube_map > GL_ARB_texture_env_add GL_ARB_texture_env_combine > GL_ARB_texture_env_dot3 GL_ARB_texture_float > GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two > GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix > GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object > GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos > GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once > GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra > GL_EXT_blend_color GL_EXT_blend_equation_separate > GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract > GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_bindable_uniform > GL_EXT_depth_bounds_test GL_EXT_direct_state_access > GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements > GL_EXT_fog_coord GL_EXT_framebuffer_blit > GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object > GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB > GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters > GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays > GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels > GL_EXT_pixel_buffer_object GL_EXT_point_parameters > GL_EXT_rescale_normal GL_EXT_secondary_color > GL_EXT_separate_specular_color GL_EXT_shadow_funcs > GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D > GL_EXT_texture_array GL_EXT_texture_buffer_object > GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc > GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map > GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine > GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic > GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias > GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB > GL_EXT_texture_swizzle GL_EXT_texture_shared_exponent > GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra > GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat > GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color > GL_NV_depth_buffer_float GL_NV_conditional_render GL_NV_depth_clamp > GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer > GL_NV_fog_distance GL_NV_fragment_program > GL_NV_fragment_program_option GL_NV_fragment_program2 > GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 > GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent > GL_NV_multisample_coverage GL_NV_multisample_filter_hint > GL_NV_occlusion_query GL_NV_packed_depth_stencil > GL_NV_parameter_buffer_object GL_NV_pixel_data_range > GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners > GL_NV_register_combiners2 GL_NV_texgen_reflection > GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 > GL_NV_texture_expand_normal GL_NV_texture_rectangle > GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 > GL_NV_transform_feedback GL_NV_vertex_array_range > GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 > GL_NV_vertex_program2 GL_NV_vertex_program2_option > GL_NV_vertex_program3 GL_NVX_conditional_render > GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture > GL_SGIX_shadow GL_SUN_slice_accum
Subject: Re: [rt.cpan.org #46586] make test fails on openSuse 11.1 32Bit
Date: Tue, 2 Jun 2009 09:52:28 +0200
To: bug-OpenGL [...] rt.cpan.org
From: Matthias Hiebing <mhiebing [...] googlemail.com>
Hello Chris, thanks for your answer, I will be travelling the next to days, I will look further into things when I get back. regards Matthias 2009/6/2 Chris Marshall via RT <bug-OpenGL@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=46586 > > > Thanks, Matthias. > > The glversion output means that we have found > a working set of OpenGL and FreeGLUT compile and > link options.  Now we need to figure out why > that is not being carried into the compile of > the module proper. > > Getting OpenGL to work is basically setting the > correct options for includes and libraries.  With > your feedback we should be able to sort things out > with your system too. > > I look forward to hearing back. > > --Chris >
Subject: Re: [rt.cpan.org #46586] make test fails on openSuse 11.1 32Bit
Date: Thu, 4 Jun 2009 23:52:16 +0200
To: bug-OpenGL [...] rt.cpan.org
From: Matthias Hiebing <mhiebing [...] googlemail.com>
Hello Chris, I played around with the graphics driver of my system. As it seems, when I remove the 3D hardware accelerated Nvidia OpenGL drivers and replace them with the Mesa OpenGL software drivers, 'make test' succeeds. I can see the spinning cube. Of course its quite slow. But it works with the software drivers. Currently I have no idea why it fails with the Nvidia hardware drivers. And another thing. On one occasion I got another error message from 'make test'. I still have to find a way to reproduce it. other message 'make test' --------------------------- freeglut (test.pl): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 4 (X_DestroyWindow) Resource id in failed request: 0x0 Serial number of failed request: 25 Current serial number in output stream: 28 make: *** [test_dynamic] Fehler 1 if you need further information, I will do what I can to get it to you. Regards Matthias
Hi Mattias, Was this with OpenGL or PGOPOGL? It is good that the Mesa software OpenGL worked as a fallback but the real issue is getting the hardware accelerated graphics working. If the glversion program builds with the NV drivers then we should be able to get perl to build the OpenGL or Perl::Graphics::OpenGL::Perl::OpenGL (a.k.a. PGOPOGL) using the same compile options. Could you try a clean build with PGOPOGL with the verbose option and trying to specify the interface as freeglut? Thanks, Chris On Thu Jun 04 17:52:33 2009, mhiebing@googlemail.com wrote: Show quoted text
> Hello Chris, > > I played around with the graphics driver of my system. As it seems, > when I remove the 3D hardware accelerated Nvidia OpenGL drivers and > replace them with the Mesa OpenGL software drivers, 'make test' > succeeds. > I can see the spinning cube. Of course its quite slow. But it works with > the software drivers. Currently I have no idea why it fails with the
Nvidia Show quoted text
> hardware drivers. > > And another thing. On one occasion I got another error message from > 'make test'. I still have to find a way to reproduce it. > > other message 'make test' > --------------------------- > freeglut (test.pl): ERROR: Internal error <FBConfig with necessary > capabilities not found> in function fgOpenWindow > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 4 (X_DestroyWindow) > Resource id in failed request: 0x0 > Serial number of failed request: 25 > Current serial number in output stream: 28 > make: *** [test_dynamic] Fehler 1 > > > if you need further information, I will do what I can to get it to you. > > Regards > > Matthias
Subject: Re: [rt.cpan.org #46586] make test fails on openSuse 11.1 32Bit
Date: Fri, 5 Jun 2009 19:49:33 +0200
To: bug-OpenGL [...] rt.cpan.org
From: Matthias Hiebing <mhiebing [...] googlemail.com>
Hi Chris, I did the last tests with the OpenGL module not the PGOPOGL module. I tried the PGOPOGL today and I got the same problem with 'make test'. But I think I found the problem. Maybe it's not the perl OpenGL module, neither is it the PGOPOGL module, it's openSuse's OpenGL library setup that causes the trouble. At least it looks like it. I've got two 'libGL.so' libraries on my system. One, the Mesa library, resides in /usr/lib the other, Nvidias OpenGL implementation, resides in /usr/X11R6/lib. This particular combination seems to be troublesome for the POGL( and PGOPODL) Makefile generator. I suspect that somewhere in the process of building the module the two libraries get mixed up and therefore 'make test' fails. My current workaround to this problem is to move the mesa libGL.so library into /usr/local/lib. Then I get an 3D hardware accelerated spinning cube from 'make test' :) (from both POGL and PGOPOGL). I'm not comletly sure why this works, but obviously /usr/X11R6/lib takes precedence over /usr/local/lib during linking. These are my current findings, if you need more information just let me know. Kind Regards Matthias 2009/6/5 Chris Marshall via RT <bug-OpenGL@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=46586 > > > Hi Mattias, > > Was this with OpenGL or PGOPOGL? > > It is good that the Mesa software OpenGL worked > as a fallback but the real issue is getting the > hardware accelerated graphics working. > > If the glversion program builds with the NV > drivers then we should be able to get perl to > build the OpenGL or Perl::Graphics::OpenGL::Perl::OpenGL > (a.k.a. PGOPOGL) using the same compile options. > > Could you try a clean build with PGOPOGL with the > verbose option and trying to specify the interface > as freeglut? > > Thanks, > Chris > > > On Thu Jun 04 17:52:33 2009, mhiebing@googlemail.com wrote:
>> Hello Chris, >> >> I played around with the graphics driver of my system. As it seems, >> when I remove the 3D hardware accelerated Nvidia OpenGL drivers and >> replace them with the Mesa OpenGL software drivers,  'make test' >> succeeds. >> I can see the spinning cube. Of course its quite slow. But it works with >> the software drivers. Currently I have no idea why it fails with the
> Nvidia
>> hardware drivers. >> >> And another thing. On one occasion I got another error message from >> 'make test'. I still have to find a way to reproduce it. >> >> other message 'make test' >> --------------------------- >>  freeglut (test.pl):  ERROR:  Internal error <FBConfig with necessary >> capabilities not found> in function fgOpenWindow >> X Error of failed request:  BadWindow (invalid Window parameter) >>   Major opcode of failed request:  4 (X_DestroyWindow) >>   Resource id in failed request:  0x0 >>   Serial number of failed request:  25 >>   Current serial number in output stream:  28 >> make: *** [test_dynamic] Fehler 1 >> >> >> if you need further information, I will do what I can to get it to you. >> >> Regards >> >> Matthias
> > > >
It is great that you got it to work! Since the glversion program built and used the hardware OpenGL, it had to be something in the configuration of the PGOPOGL (or POGL) build that messed things up. I would appreciate it if you would continue to work with me to fully debug the problem with the configuration and build for your system. Could you please run the configure and make process on a clean PGOPOGL download and email me the output ( to chm at cpan dot org )? From a bash prompt the commands to run would be: tar xzf PDL-Graphics-OpenGL-Perl-OpenGL-0.01_04.tar.gz cd PDL-Graphics-OpenGL-Perl-OpenGL-0.01_04 ( set -x ; perl Makefile.PL verbose ) 2>&1 | tee ../pgopogl-log.txt ( set -x ; make ) 2>&1 | tee -a ../pgopogl-log.txt In the same mail, please list the include dir location and library dir locations for software MESA OpenGL and hardware/Nvidia OpenGL and the GLUT and/or FreeGLUT on your system. Thanks in advance, Chris On Fri Jun 05 13:49:51 2009, mhiebing@googlemail.com wrote: Show quoted text
> Hi Chris, > > I did the last tests with the OpenGL module not the PGOPOGL module. > I tried the PGOPOGL today and I got the same problem with 'make test'. > > But I think I found the problem. Maybe it's not the perl OpenGL > module, neither is it the PGOPOGL module, it's openSuse's > OpenGL library setup that causes the trouble. At least it > looks like it. > > I've got two 'libGL.so' libraries on my system. One, the Mesa library, > resides in /usr/lib the other, Nvidias OpenGL implementation, resides > in /usr/X11R6/lib. This particular combination seems to be troublesome > for the POGL( and PGOPODL) Makefile generator. I suspect that > somewhere in the process of building the module the two libraries > get mixed up and therefore 'make test' fails. > > My current workaround to this problem is to move the mesa libGL.so > library into /usr/local/lib. Then I get an 3D hardware accelerated > spinning cube from 'make test' :) (from both POGL and PGOPOGL). > > I'm not comletly sure why this works, but obviously /usr/X11R6/lib > takes precedence over /usr/local/lib during linking. > > These are my current findings, if you need more information just let > me know.
Subject: Re: [rt.cpan.org #46586] make test fails on openSuse 11.1 32Bit
Date: Sat, 6 Jun 2009 14:15:32 +0200
To: bug-OpenGL [...] rt.cpan.org
From: Matthias Hiebing <mhiebing [...] googlemail.com>
Hi Chris, i have attached two log flies one is build with 'perl Makefile.pl interface=FREEGLUT' the other without (it then chooses GLX as interface). As for the directories I've included the rpm package file list for each relevant package (i've excluded the doc files): As usual if you need anything just else, just say so. Kind regards Matthias Mesa package file list: ------------------------------------ /etc/drirc /usr/include/GL/gl.h /usr/include/GL/glext.h /usr/include/GL/glx.h /usr/include/GL/glxext.h /usr/include/GL/amesa.h /usr/include/GL/dmesa.h /usr/include/GL/fxmesa.h /usr/include/GL/ggimesa.h /usr/include/GL/gl_mangle.h /usr/include/GL/glfbdev.h /usr/include/GL/glu.h /usr/include/GL/glu_mangle.h /usr/include/GL/glx_mangle.h /usr/include/GL/internal/dri_interface.h /usr/include/GL/internal/dri_sarea.h /usr/include/GL/mesa_wgl.h /usr/include/GL/mglmesa.h /usr/include/GL/osmesa.h /usr/include/GL/svgamesa.h /usr/include/GL/uglmesa.h /usr/include/GL/vms_x_fix.h /usr/include/GL/wmesa.h /usr/include/GL/xmesa.h /usr/include/GL/xmesa_x.h /usr/include/GL/xmesa_xf86.h /usr/lib/libGLU.so /usr/lib/libOSMesa.so /usr/lib/pkgconfig/dri.pc /usr/lib/pkgconfig/gl.pc /usr/lib/pkgconfig/glu.pc /usr/lib/dri /usr/lib/dri/i915_dri.so /usr/lib/dri/i965_dri.so /usr/lib/dri/mach64_dri.so /usr/lib/dri/r128_dri.so /usr/lib/dri/r200_dri.so /usr/lib/dri/r300_dri.so /usr/lib/dri/radeon_dri.so /usr/lib/dri/swrast_dri.so /usr/lib/dri/tdfx_dri.so /usr/lib/dri/unichrome_dri.so /usr/lib/dri/updates /usr/lib/dri/updates/README.updates /usr/lib/libGL.so /usr/lib/libGL.so.1 /usr/lib/libGL.so.1.2 /usr/lib/libGLU.so.1 /usr/lib/libGLU.so.1.3.070200 /usr/lib/libIndirectGL.so.1 /usr/lib/libIndirectGL.so.1.5.070200 /usr/lib/libOSMesa.so.7 /usr/lib/libOSMesa.so.7.2.0 The nvidia GL implementation file list: ------------------------------------------------------ /usr/X11R6/lib/libGL.so /usr/X11R6/lib/libGL.so.1 /usr/X11R6/lib/libGL.so.180.51 /usr/X11R6/lib/libGLcore.so.1 /usr/X11R6/lib/libGLcore.so.180.51 /usr/X11R6/lib/libXvMCNVIDIA.a /usr/X11R6/lib/libXvMCNVIDIA.so.180.51 /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1 /usr/bin/X.x11-video-nvidiaG02 /usr/bin/nvidia-bug-report.sh /usr/bin/nvidia-settings /usr/bin/nvidia-smi /usr/bin/nvidia-xconfig /usr/include/nvidia /usr/include/nvidia/GL /usr/include/nvidia/GL/gl.h /usr/include/nvidia/GL/glext.h /usr/include/nvidia/GL/glx.h /usr/include/nvidia/GL/glxext.h /usr/include/nvidia/cuda /usr/include/nvidia/cuda/cuda.h /usr/include/nvidia/cuda/cudaGL.h /usr/include/nvidia/vdpau /usr/include/nvidia/vdpau/vdpau.h /usr/include/nvidia/vdpau/vdpau_x11.h /usr/lib/libcuda.so.1 /usr/lib/libcuda.so.180.51 /usr/lib/libnvidia-cfg.so.1 /usr/lib/libnvidia-cfg.so.180.51 /usr/lib/libnvidia-tls.so.1 /usr/lib/libnvidia-tls.so.180.51 /usr/lib/libvdpau.so.1 /usr/lib/libvdpau.so.180.51 /usr/lib/libvdpau_nvidia.so /usr/lib/libvdpau_nvidia.so.180.51 /usr/lib/libvdpau_trace.so /usr/lib/libvdpau_trace.so.180.51 /usr/lib/tls /usr/lib/tls/libnvidia-tls.so.1 /usr/lib/tls/libnvidia-tls.so.180.51 /usr/lib/xorg /usr/lib/xorg/modules /usr/lib/xorg/modules/updates /usr/lib/xorg/modules/updates/drivers /usr/lib/xorg/modules/updates/drivers/nvidia_drv.so /usr/lib/xorg/modules/updates/extensions /usr/lib/xorg/modules/updates/extensions/libglx.so /usr/lib/xorg/modules/updates/extensions/libglx.so.180.51 The freeglut rpm file list: ----------------------------------------------- /usr/include/GL/freeglut.h /usr/include/GL/freeglut_ext.h /usr/include/GL/freeglut_std.h /usr/include/GL/glut.h /usr/lib/libglut.a /usr/lib/libglut.la /usr/lib/libglut.so /usr/bin/glxgears /usr/bin/glxinfo /usr/bin/xdriinfo /usr/lib/libglut.so.3 /usr/lib/libglut.so.3.8.0 2009/6/5 Chris Marshall via RT <bug-OpenGL@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=46586 > > > It is great that you got it to work! > > Since the glversion program built and > used the hardware OpenGL, it had to be > something in the configuration of the > PGOPOGL (or POGL) build that messed > things up. > > I would appreciate it if you would > continue to work with me to fully debug > the problem with the configuration and > build for your system. > > Could you please run the configure and > make process on a clean PGOPOGL download > and email me the output ( to chm at cpan > dot org )? > > From a bash prompt the commands to run would be: > > tar xzf PDL-Graphics-OpenGL-Perl-OpenGL-0.01_04.tar.gz > cd PDL-Graphics-OpenGL-Perl-OpenGL-0.01_04 > ( set -x ; perl Makefile.PL verbose ) 2>&1 | tee ../pgopogl-log.txt > ( set -x ; make ) 2>&1 | tee -a ../pgopogl-log.txt > > In the same mail, please list the include dir location > and library dir locations for software MESA OpenGL and > hardware/Nvidia OpenGL and the GLUT and/or FreeGLUT on > your system. > > Thanks in advance, > Chris > > > On Fri Jun 05 13:49:51 2009, mhiebing@googlemail.com wrote:

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Hi Matthias- Thanks for the follow up library and linking information. It appears that the original issue was that you had two different, incompatible sets of libraries on your system, one the Mesa software one, one the Nvidia hardware one. Unfortunately, the include files for compiling were not pulled in consistently. I've added "better handling of duplicate opengl library and compile environments to our ideas for improvements. I'm glad you got your system running. I'm marking this ticket as resolved. Regards, Chris On Sat Jun 06 08:15:53 2009, mhiebing@googlemail.com wrote: Show quoted text
> Hi Chris, > > i have attached two log flies one is build with 'perl Makefile.pl > interface=FREEGLUT' the other without (it then chooses GLX > as interface). > > As for the directories I've included the rpm package file list for > each relevant package (i've excluded the doc files): > > As usual if you need anything just else, just say so. > > Kind regards > > Matthias