----- Original Message ----- 
From: "Hernán De Angelis" <[EMAIL PROTECTED]>
To: "perldl" <[email protected]>
Sent: Friday, November 14, 2008 9:34 PM
Subject: [Perldl] PDL 2.4.4, thanks to all developers and some test errors


> Dear all,
>
> First, I want to give warm thanks to all developers for the effort and
> time in getting PDL 2.4.4 out!
> Now, some doubts about test warnings and failures that I am having
> right now just after downloading the last PDL version from CPAN. Using
> openSUSE 11.0 on AMD Turion 64 X2, 2GB ram.
>
> 1.
> t/pgplot....................Name "PGPLOT::HANDLE" used only once:
> possible typo at
> /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line
> 226, <DATA> line 387.

I think this is a harmless warning, and unrelated to the error that follows. 
However, it would be nice to get rid of this warning. Does the warning go 
away if, in PDL-2.4.4/Graphics/PGPLOT/Window/Window.xs you replace:

ptr = perl_get_sv("PGPLOT::HANDLE",FALSE);  /* SV* value */
with:
ptr = perl_get_sv("PGPLOT::HANDLE",FALSE | GV_ADDMULTI);  /* SV* value */

(Obviously, you'll need to rebuild PDL after making that change.)

It's a bit odd, in any case. I thought it would be impossible to get that 
warning when the 2nd argument is 'FALSE' ... it's as though FALSE is being 
evaluated as true. I certainly don't get that warning on Win32.

> (this test usually stops at 1712 or 7/12 and dies there. No clue why.
> After CTRL+C and running again it appears again but the test passes.)
>

Does it die during the running of test 7 ? ... or *after* test 7 has been 
successfully run ?
Running 'perl -Mblib t/pgplot.t' might give a better indication of exactly 
when the failure occurs.


> 2.
> t/proj_transform............Undefined subroutine &main::t_proj called
> at t/proj_transform.t line 69, <PNM> line 3.

I suspect this could be a problem with the version of the Proj4 library that 
you have installed. But there are others here who are better equipped to 
deal with this.

Cheers,
Rob 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to