Ahhh!  That did the trick.  So the problem is the -w option.
This is the error I get on cygwin PDL:

  DB<5> p $r
Use of uninitialized value in numeric eq (==) at 
/e/site/perl/lib/cygwin-thread-multi-64int/PDL/Complex.pm line 1309.
 at /e/site/perl/lib/cygwin-thread-multi-64int/PDL/Complex.pm line 1309
        PDL::Complex::str1D('PDL::Complex=SCALAR(0x115f680)', 'undef', 
'') called at /e/site/perl/lib/cygwin-thread-multi-64int/PDL/Complex.pm 
line 1272
        PDL::Complex::string('PDL::Complex=SCALAR(0x115f680)', 'undef', 
'') called at (eval 71)[/usr/lib/perl5/5.8/perl5db.pl:628] line 2
        eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D 
= $^D | $DB::db_stop;
print {$DB::OUT}  $r;

;' called at /usr/lib/perl5/5.8/perl5db.pl line 628
        DB::eval called at /usr/lib/perl5/5.8/perl5db.pl line 3410
        DB::DB called at -e line 1
Use of uninitialized value in numeric eq (==) at 
/e/site/perl/lib/cygwin-thread-multi-64int/PDL/Complex.pm line 1310.
 at /e/site/perl/lib/cygwin-thread-multi-64int/PDL/Complex.pm line 1310
        PDL::Complex::str1D('PDL::Complex=SCALAR(0x115f680)', 'undef', 
'') called at /e/site/perl/lib/cygwin-thread-multi-64int/PDL/Complex.pm 
line 1272
        PDL::Complex::string('PDL::Complex=SCALAR(0x115f680)', 'undef', 
'') called at (eval 71)[/usr/lib/perl5/5.8/perl5db.pl:628] line 2
        eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D 
= $^D | $DB::db_stop;
print {$DB::OUT}  $r;

;' called at /usr/lib/perl5/5.8/perl5db.pl line 628
        DB::eval called at /usr/lib/perl5/5.8/perl5db.pl line 3410
        DB::DB called at -e line 1
[1.5 +2.59807621135332i  -3 +3.67394039744206e-16i  1.5 -2.59807621135332i]

The original report had edited out all the error output.
The reporter stated that they were not able to install
PDL-2.4.3 either but was not able to submit any configure,
make, test, install logs that actually showed a failure.  If
the problem is -w, it should be easy to add a test for that.
In fact, setting $^W may be all that is needed to reproduce.

Thanks for the clarification---I definitely did not catch that.  :-)

-Chris
Gregory Vanuxem wrote:
> Hello Chris,
>
> Le jeudi 26 juin 2008 à 22:44 -0400, Chris Marshall via RT a écrit :
>   
>> Queue: PDL
>>  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37000 >
>>
>> I am unable to reproduce this problem with PDL-2.4.3 on cygwin
>> or PDL-cvs on cygwin:
>>
>>     
>>> $ perl -d -e 1
>>>       
>
> I suspect CASIANO uses the -w switch (warnings on). With warnings on I
> can reproduce this issue. On the other hand I'm using a Debian
> system :-). Could you check if you still can't reproduce this problem ?
>
> Many thanks for all your work.
>
> Regards,
>
> Greg
>
>   
>>> Loading DB routines from perl5db.pl version 1.28
>>> Editor support available.
>>>
>>> Enter h or `h h' for help, or `man perldebug' for more help.
>>>
>>> main::(-e:1):   1
>>>   DB<1> use PDL
>>>
>>>   DB<2> use PDL::Complex
>>>
>>>   DB<3> $x = r2C( -27 )
>>>
>>>   DB<4> $r = Croots $x, 3
>>>
>>>   DB<5> print $r
>>> [1.5 +2.59807621135332i  -3 +3.67394039744206e-16i  1.5
>>>       
>> -2.59807621135332i]
>>     
>> Please see the BUGS file in the PDL-2.4.3 distribution
>> for the information needed to complete this bug report.
>>
>> Thanks!
>>
>> _______________________________________________
>> 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