The main thing that I see here is that the proj lib isn't initializing
properly. This is usually when it can't find the default parameter files
for the various projections.

The error from the PP code is listed:
> _fwd_trans_inplace[BADCODE](): Projection initialization failed: major 
> axis or radius = 0 or not given 

When I install proj, these files end up in /usr/share/proj, and I put a
file 'proj.sh' into /etc/profile.d/ that will set the PROJ_LIB env
variable to that location. 

Try fixing that part of your proj installation first, then try the tests
again. If they fail, then try to rebuild the module again (while
PROJ_LIB is correctly set).

-Judd


On Fri, 2008-11-14 at 16:24 -0700, Orion Poplawski wrote:
> Hernán De Angelis wrote:
> > t/proj_transform............Undefined subroutine &main::t_proj called
> > at t/proj_transform.t line 69, <PNM> line 3.
> > # Looks like your test exited with 9 before it could output anything.
> > t/proj_transform............ Dubious, test returned 9 (wstat 2304, 0x900)
> >  Failed 20/20 subtests
> 
> I'm seeing similar on Fedora 10:
> 
> t/proj_transform............Possible attempt to separate words with 
> commas at 
> /export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform/Proj4.pm
>  
> line 3460. 
> 
> _fwd_trans_inplace[BADCODE](): Projection initialization failed: major 
> axis or radius = 0 or not given 
> 
> # Looks like your test died before it could output anything. 
> 
>   Dubious, test returned 255 (wstat 65280, 0xff00) 
> 
>   Failed 20/20 subtests 
> 
> 
> $ perl -Mblib t/proj_transform.t
> 1..20
> _fwd_trans_inplace[BADCODE](): Projection initialization failed: major 
> axis or radius = 0 or not given
> # Looks like your test died before it could output anything.
> 
> With debug:
> 
>    DB<2> n
> main::(t/proj_transform.t:69):  my $eqc = $map->map( t_proj( proj_params 
> => $eqc_opts ), $map_size ); 
> 
>    DB<2> n 
> 
> _fwd_trans_inplace[BADCODE](): Projection initialization failed: major 
> axis or radius = 0 or not given 
> 
>   at 
> /export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/GIS/Proj.pm 
> line 172 
> 
>          PDL::GIS::Proj::fwd_trans_inplace('PDL=SCALAR(0x229b540)', 
> 'PDL=SCALAR(0x229c080)', ' +lon_0=0  +proj=eqc ', 1) called at 
> /export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform/Proj4.pm
>  
> line 297
>  
> PDL::Transform::Proj4::__ANON__[/export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform/Proj4.pm:299]('PDL=SCALAR(0x2294220)',
>  
> 'HASH(0x2288628)') called at 
> /export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform.pm 
> line 1189
>  
> PDL::Transform::__ANON__[/export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform.pm:1193]('PDL=SCALAR(0x229bed0)',
>  
> 'HASH(0x229b5a0)') called at 
> /export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform.pm 
> line 312
>  
> PDL::Transform::apply('PDL::Transform::Composition=HASH(0x229b5d0)', 
> 'PDL=SCALAR(0x229bed0)') called at 
> /export/data1/orion/redhat/perl-PDL-2.4.4/PDL-2.4.4/blib/lib/PDL/Transform.pm 
> line 830
>          PDL::Transform::map('PDL=SCALAR(0xb54c90)', 
> 'PDL::Transform::Proj4=HASH(0x2288658)', 'ARRAY(0xb54c48)') called at 
> t/proj_transform.t line 69
> 
-- 
____________________________
Judd Taylor
Software Engineer

Orbital Systems, Ltd.
3807 Carbon Rd.
Irving, TX 75038-3415

[EMAIL PROTECTED]
(972) 915-3669 x127

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

Reply via email to