Subject: | t/gd_oo_tests & t/gsl_interp failure w/ missing headers/utils |
I got some test failures with perl 5.10.0 on linux.
(Building on debian removed PDL::Graphics::TriD)
Test Summary Report
-------------------
t/gd_oo_tests (Wstat: 512 Tests: 18 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 27 tests but ran 18.
t/gsl_interp (Wstat: 65280 Tests: 10 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 11 tests but ran 10.
Files=109, Tests=1084, 51 wallclock secs ( 0.57 usr 0.22 sys + 45.31
cusr 2.22 csys = 48.32 CPU)
Result: FAIL
Failed 2/109 test programs. 0/1084 subtests failed.
The snippets for the two failed tests:
t/gsl_interp................1/11 Error in gsl_spline_eval_e: input
domain error at /usr/lib/perl5/PDL/GSL/INTERP.pm line 282.
# Looks like you planned 11 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/gsl_interp................ Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 1/11 subtests
t/gd_oo_tests...............1/27 Use of inherited AUTOLOAD for
non-method PDL::IO::GD::_pdl_to_gd_image() is deprecated at
/usr/lib/perl5/PDL/IO/GD.pm line 583.
Can't locate auto/PDL/IO/GD/_pdl_to_gd_.al in @INC (@INC contains:
/root/.cpan/build/PDL-2.4.4-78Q5GP/blib/arch
/root/.cpan/build/PDL-2.4.4-78Q5GP/blib/lib /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /usr/lib/perl5/PDL/IO/GD.pm line 583
# Looks like you planned 27 tests but ran 18.
# Looks like your test exited with 2 just after 18.
t/gd_oo_tests............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/27 subtests
An earlier warning during the build looks like there's a problem
with GSL:
make[2]: Entering directory `/root/.cpan/build/PDL-2.4.4-78Q5GP/Lib/GSL'
****
Not building GSL modules: GSL version UNKNOWN VERSION found, but need at
least 1.3
****
Seems like I didn't have gsl-config installed, fixed now.
Similarly for GD:
****
Cannot find GD library, .Please add the correct library path to
Makefile.PL or install GD.Cannot find GD header file, .Please add the
correct library path to Makefile.PL or install GD. Skipping build of
PDL::IO::GD.
****
libgd2-xpm-dev supplied the headers, then rebuilt fine.
(I'd already written the message by the time I'd sorted everything
out, so I'll send it anyway. As various other tests are skipped
when the required external dependencies are unavailable,
I thought you might want to know)
Thanks, Brad