Other than the recommendation to start with PDL-2.4.4_08
rather than 2.4.4, I don't have personal experience with
PDL::NetCDF since the NetCDF library is not on my system.

Doug Hunt is listed as the author for PDL::NetCDF and
it looks like he has already made some suggestions on
the perldl list.  Have you build a basic PDL-2.4.4_08 yet?
(i.e. turn off the extensions in perldl.conf).  Once you
have that working, then try to add the NetCDF stuff.

Also, make sure you do not have another version of PDL
in the executable and perl paths as that can lead to bad
interactions.

Good luck,
Chris

Leslie(Pete) Boyd wrote:
> Hi Chris,
> 
>    Thanks for the reply.
>    
>    Any help with this problem would be greatly appreciated.
>    
>    Am attempting to install on:
>    
> SUSE Linux Enterprise Server 10 (ia64)
> VERSION = 10
> PATCHLEVEL = 2
> 
>    NetCDF-4.0.1 is required for this application.
>    
>    Thanks in advance.
>    
>   
> hail PDL-NetCDF/PDL-NetCDF-4.02# perl Makefile.PL
> Found libnetcdf.a at /usr/local/lib/libnetcdf.a
> Found netcdf.h at /usr/local/include/netcdf.h
> Defining bool=int (linux seems to need this)
> Checking if your kit is complete...
> Looks good
> Writing Makefile for PDL::NetCDF
> hail PDL-NetCDF/PDL-NetCDF-4.02# make
> /usr/bin/perl -I/usr/lib/perl5/site_perl/5.8.8/ia64-linux-thread-multi 
> "-MPDL::PP qw/PDL::NetCDF PDL::NetCDF NetCDF/" netcdf.pd
> cp NetCDF.pm blib/lib/PDL/NetCDF.pm
> /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap 
> /usr/lib/perl5/site_perl/5.8.8/ia64-linux-thread-multi/PDL/Core/typemap.pdl 
> -typemap typemap  NetCDF.xs > NetCDF.xsc && mv NetCDF.xsc NetCDF.c
> cc -c  -I/usr/lib/perl5/site_perl/5.8.8/ia64-linux-thread-multi/PDL/Core 
> -I/usr/local/include -Dbool=int -g -O2 -fmessage-length=0 -Wall 
> -D_FORTIFY_SOURCE=2 -g -Wall -pipe   -DVERSION=\"4.02\" -DXS_VERSION=\"4.02\" 
> -fPIC "-I/usr/lib/perl5/5.8.8/ia64-linux-thread-multi/CORE"   NetCDF.c
> In file included from 
> /usr/lib/perl5/5.8.8/ia64-linux-thread-multi/CORE/perl.h:2120,
>                  from NetCDF.xs:6:

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

Reply via email to