[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000629: Perl-Netcdf Installation Problems: "na" undefined



Jason,

> From: Jason Burks <address@hidden>
> Subject: Perl-Netcdf Installation Problems
> Organization: NOAA/NWS/WR
> Keywords: 200006292157.e5TLvET11833 Perl netCDF install

In the above message, you wrote:

> I am installing Perl-netcdf 1.2 on an HP-UX  B.10.20 A 9000/777
> 2001261183 two-user license
> I have netcdf3.4 installed and also perl v5.6 installed. Then when I
> follow your instructions to install perl netcdf I get errors like below
> when I issue the command make:
> 
> cp NetCDF.pm blib/lib/NetCDF.pm
> AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
>  /bin/perl -I/usr1/perl5/lib/5.6.0/PA-RISC1.1 -I/usr1/perl5/lib/5.6.0
> /usr1/perl5/lib/5.6.0/ExtUtils/xsubpp  -typemap
> /usr1/perl5/lib/5.6.0/ExtUtils/typemap NetCDF.xs > NetCDF.xsc && mv
> NetCDF.xsc NetCDF.c
> Please specify prototyping behavior for NetCDF.xs (see perlxs manual)
>  cc -c -I/usr1/netcdf-3.4/include -D_HPUX_SOURCE -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O
> -DVERSION=\"1.2\"  -DXS_VERSION=\"1.2\" +z
> -I/usr1/perl5/lib/5.6.0/PA-RISC1.1/CORE  NetCDF.c
> cc: "NetCDF.xs", line 823: error 1588: "na" undefined.
> cc: "NetCDF.xs", line 823: warning 563: Argument #2 is not the correct
> type.
> cc: "NetCDF.xs", line 2251: error 1588: "na" undefined.
> cc: "NetCDF.xs", line 2251: warning 563: Argument #2 is not the correct
> type.
> *** Error exit code 1
> 
> Stop.
> 
> I complied both perl and perl netcdf with the same compiler. Thanks for
> your help.
> Jason Burks

I've seen this problem before.  Please see the following entries in our
netCDF-Perl support-email archive:

    http://www.unidata.ucar.edu/glimpse/netcdf-perl/51
    http://www.unidata.ucar.edu/glimpse/netcdf-perl/52

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>