The failures you have are the result of bad tests.  They make assumptions
about %hash as an array.   perl-5.17 changed things and now the incorrect
tests actually fail.  This has been fixed in git so if you build that
version things should pass all.  However, the problem you see is bad tests,
not bad implementation.  Your current build should be good.

Happy PDL-ing,
Chris



On Mon, Apr 22, 2013 at 3:52 AM, Jan Hoogenraad
<[email protected]>wrote:

> I'm trying to build a new PDL version on Ubuntu 10 (2.6.32-46-generic-pae).
> My base system has
>   perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
>   PDL v2.4.5 (supports bad values)
>
> I've installed perlbrew, and use perl-blead (perl5.17.12)
>
> Now, the testing of CHM/PDL-2.006.tar.gz fails
>
> t/hdrs.t                  (Wstat: 0 Tests: 9 Failed: 2)
>   Failed tests:  5, 7
> t/inline-comment-test.t   (Wstat: 0 Tests: 3 Failed: 0)
>   TODO passed:   3
> t/niceslice.t             (Wstat: 0 Tests: 43 Failed: 1)
>   Failed test:  42
> t/pdl_from_string.t       (Wstat: 0 Tests: 113 Failed: 0)
>   TODO passed:   37-38, 40
>
>
> further up in the log:
>
> t/hdrs.t .................... Failed 1/9 subtests
>
> t/niceslice.t ............... 1/43 # Failed test 42 in t/niceslice.t at
> line 211
> #  t/niceslice.t line 211 is: ok(!$@ and join("",%{$b->gethdr}) eq
> join("",%{$h}));
> t/niceslice.t ............... Failed 1/43 subtests
>
> During compilation, I saw warnings about I32 not being compatible with
> INT, which might be related.
>
> Some examples:
> Bad.xs, Ops.xs, Ufunc.xs
>
> Ufunc.xs: In function ‘boot_PDL__Ufunc’:
> Ufunc.xs:35870: warning: format ‘%d’ expects type ‘int’, but argument 2
> has type ‘I32’
> Primitive.xs: In function ‘boot_PDL__Primitive’:
> Primitive.xs:36730: warning: format ‘%d’ expects type ‘int’, but
> argument 2 has type ‘I32’
> Slices.xs: In function ‘boot_PDL__Slices’:
> Slices.xs:27532: warning: format ‘%d’ expects type ‘int’, but argument 2
> has type ‘I32’
>
>
> Is there a way to make this work ?
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to