On Sun, Nov 8, 2009 at 5:08 PM, Chris Marshall <[email protected]> wrote:
> Gabor Szabo wrote:
>>
>> then it compiled.
>> I am not exactly sure what was the test result as it seems to have ran
>> tests
>> in several directories and I did not go over all the output.
>
> There is a section of the test output where it runs all the
> tests in the PDL-2.4.5/t/ directory and lists the results
> at the end looking something like this:
>
> ...
> t/trig........................ok
> t/ufunc.......................ok
> t/vaffine.....................ok
> t/xvals.......................ok
> All tests successful.
> Files=109, Tests=1155, 73 wallclock secs ( 0.16 usr 0.09 sys + 51.01 cusr
> 19.93 csys = 71.19 CPU)
> Result: PASS
yeah I know but there was a lot more output afterwards and I was in a
hurry. (kids)
I checked the typescript now and it gave me:
Files=109, Tests=1263, 57 wallclock secs ( 0.62 usr 0.10 sys + 45.22
cusr 4.38 csys = 50.32 CPU)
but then it went on entering all the subdirs (e.g. Basic) and trying
to run the tests there too.
in Graphics/TriD/POGL it even found one:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, '../../../blib/lib', '../../../blib/arch')" t/*.t
t/00-load....Subroutine OpenGL::StructureNotifyMask redefined at
/home/gabor/.cpan/build/PDL-2.4.5-CzNWSV/Graphics/TriD/POGL/../../../blib/lib/PDL/Graphics/OpenGL/Perl/OpenGL.pm
line 30.
Subroutine reshape redefined at
/home/gabor/.cpan/build/PDL-2.4.5-CzNWSV/Graphics/TriD/POGL/../../../blib/lib/PDL/Graphics/TriD/GL.pm
line 706, <DATA> line 387.
t/00-load....1/1 # Testing PDL::Graphics::OpenGL::Perl::OpenGL
0.01_10, Perl 5.010000, /usr/bin/perl
t/00-load....ok
All tests successful.
Files=1, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.42 cusr
0.04 csys = 0.50 CPU)
Result: PASS
>
>> Unfortunately some of the demo scripts are still blowing up...
>
> What demo scripts? Is this running perldl and then using
> the demo command? If so, which demos failed to run and did
> they pass the tests?
Yes I am talking about running perldl and then typing demo xyz
>
> Also, be sure you don't have another copy of PDL in your @INC
> when you are running the tests as that can result in mysterious
> and highly confusing failures...
I know, I still have the one I installed using aptitude and probably my
previous attempts so maybe the demo failures are due to that?
perldl and demo report:
perlDL shell v1.352
VERSION: PDL v2.4.5 (supports bad values)
$%PDL::Config = {
'BADVAL_PER_PDL' => '0',
'WITH_PROJ' => undef,
'FFTW_TYPE' => 'double',
'FFTW_LIBS' => [
'/lib',
'/usr/lib',
'/usr/local/lib'
],
'WITH_FFTW' => undef,
'GSL_LIBS' => undef,
'GL_BUILD' => '0',
'WITH_IO_BROWSER' => '0',
'PROJ_INC' => undef,
'WHERE_PLPLOT_INCLUDE' => undef,
'WITH_KARMA' => '0',
'WHERE_KARMA' => undef,
'HTML_DOCS' => '1',
'WHERE_PLPLOT_LIBS' => undef,
'WITH_3D' => undef,
'FFTW_INC' => [
'/usr/include/',
'/usr/local/include'
],
'WITH_POSIX_THREADS' => '1',
'POGL_VERSION' => '0.6',
'HIDE_TRYLINK' => '1',
'WITH_HDF' => undef,
'HDF_INC' => undef,
'POGL_WINDOW_TYPE' => 'glut',
'WITH_BADVAL' => '1',
'WITH_GD' => undef,
'FITS_LEGACY' => '1',
'WITH_SLATEC' => '1',
'BADVAL_USENAN' => '0',
'TEMPDIR' => '/tmp',
'PROJ_LIBS' => undef,
'USE_POGL' => '1',
'GD_LIBS' => undef,
'GSL_INC' => undef,
'GD_INC' => undef,
'WITH_GSL' => undef,
'OPTIMIZE' => undef,
'HDF_LIBS' => undef,
'MALLOCDBG' => {},
'WITH_MINUIT' => '1',
'WITH_PLPLOT' => '1',
'MINUIT_LIB' => undef
};
demo:
demo pdl flips through several textual examples and goes back to perldl> prompt
demo 3d show 3d coordinates I can drag with the mouse
if I close the window I dropped off to the command line
I can press q to flip through several cases but when I get to the
color palette
I cannot close the window any more. it is stuck I can go to
the perldl console
press enter and get the prompt back but the color window stays
if I quit the perldl script it goes away
demo 3d2 - the window also seems to get stuck
demo 3dgal - same issue (and I can see ARRAY references printed,
probably that's not the intention)
demo Tk3d opens a window but then crashes with segmentation fault
demo pgplot - complain that Can't locate PGPLOT.pm
at
/home/gabor/perl5lib/lib/i486-linux-gnu-thread-multi/PDL/Graphics/PGPLOT/Window.pm
line 2272
with 2 screens of trace
after sudo aptitude install pgplot5 I could install PGPLOT from cpan
after that the pgplot demo works, very nice but it also leaves two
windows in the air a pgplotserver I think
and a display window.
I'll continue checking them but I think before the upgrades most of these demos
were complaining about missing modules.
This might be obvious to you but a new user like me is quite lost
Or maybe it is just me.
Anyway, I have lot more to learn now.
thanks for your patience!
Gabor
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl