Hi Luis-

I'm not sure what took so long with this email but
the problem has been reported and is because
MESA dropped some functions from their OpenGL
API.  The problem report has a patch that you
could apply to fix the problem:

http://pkgs.fedoraproject.org/cgit/perl-OpenGL.git/plain/OpenGL-0.6704-Delete-functions-removed-from-Mesa.patch?id=7498635332872268a0d4519723b44725e9a496dc

You could also just delete the relevant lines by
hand as well.  After the PDL-2.015 release this
evening, I plan to get to the long planned by not
yet executed update to POGL.

Hope this helps,
Chris


On Sat, Nov 14, 2015 at 10:33 AM, Luis Mochan <[email protected]> wrote:

> Dear Chris,
> I'm trying to install PDL on a new machine, installing the
> DEPENDENCIES by hand. When installing OpenGL-0.6704, 'make test' threw
> errors: it seems 'require' and 'use' failed due to an undefined symbol
> 'glWindowPos4iMESA'. I might be missing some library, but I don't know
> which.
> I'll appreciate any advice. I'm installing on a
> Debian/stretch system, using perlbrew with perl-5.22.0. Running
> Makefile.PL found FreeGLUT v20801. Below is the  output of 'make test'.
> Thanks and best regards,
> Luis
>
>
> ---------------------------
>
> $ make test
> Running Mkbootstrap for OpenGL ()
> chmod 644 "OpenGL.bs"
> PERL_DL_NONLAZY=1 "/home/mochan/perl5/perlbrew/perls/perl-5.22.0/bin/perl"
> "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00_require.t ....... 1/1
> #   Failed test 'require OpenGL;'
> #   at t/00_require.t line 3.
> #     Tried to require 'OpenGL'.
> #     Error:  Can't load
> '/home/mochan/Downloads/OpenGL-0.6704/blib/arch/auto/OpenGL/OpenGL.so' for
> module OpenGL:
> /home/mochan/Downloads/OpenGL-0.6704/blib/arch/auto/OpenGL/OpenGL.so:
> undefined symbol: glWindowP
> os4iMESA at
> /home/mochan/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/DynaLoader.pm
> line 193.
> #  at (eval 4) line 2.
> # Compilation failed in require at (eval 4) line 2.
> # Looks like you failed 1 test of 1.
> t/00_require.t ....... Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests
> t/01_use.t ........... 1/1
> #   Failed test 'use OpenGL;'
> #   at t/01_use.t line 3.
> #     Tried to use 'OpenGL'.
> #     Error:  Can't load
> '/home/mochan/Downloads/OpenGL-0.6704/blib/arch/auto/OpenGL/OpenGL.so' for
> module OpenGL:
> /home/mochan/Downloads/OpenGL-0.6704/blib/arch/auto/OpenGL/OpenGL.so:
> undefined symbol: glWindowP
> os4iMESA at
> /home/mochan/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/DynaLoader.pm
> line 193.
> #  at t/01_use.t line 3.
> # Compilation failed in require at t/01_use.t line 3.
> # BEGIN failed--compilation aborted at t/01_use.t line 3.
> # Looks like you failed 1 test of 1.
> t/01_use.t ........... Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests
> t/10_opengl_array.t .. Can't load
> '/home/mochan/Downloads/OpenGL-0.6704/blib/arch/auto/OpenGL/OpenGL.so' for
> module OpenGL:
> /home/mochan/Downloads/OpenGL-0.6704/blib/arch/auto/OpenGL/OpenGL.so:
> undefined symbol:
> glWindowPos4iMESA at
> /home/mochan/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/DynaLoader.pm
> line 193.
>  at t/10_opengl_array.t line 2.
> Compilation failed in require at t/10_opengl_array.t line 2.
> BEGIN failed--compilation aborted at t/10_opengl_array.t line 2.
> t/10_opengl_array.t .. Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run
>
> Test Summary Report
> -------------------
> t/00_require.t     (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> t/01_use.t         (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> t/10_opengl_array.t (Wstat: 512 Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> Files=3, Tests=2,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.05 cusr
> 0.00 csys =  0.08 CPU)
> Result: FAIL
> Failed 3/3 test programs. 2/2 subtests failed.
> Makefile:1114: recipe for target 'test_dynamic' failed
> make: *** [test_dynamic] Error 2
>
>
>
> --
>
>                                                                   o
> W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
> Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
> Apdo. Postal 48-3, 62251             |                           (*)/\/  \
> Cuernavaca, Morelos, México          | [email protected]   /\_/\__/
> GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general
>
------------------------------------------------------------------------------
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to