Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

Re: 20030306: NetCDFperl INSTALL problem: RedHat Linux



Bob,

>Date: Fri, 07 Mar 2003 18:15:23 -0500
>From: Bob Yu <yuy@xxxxxxxxxxxxxxxxxx>
>Organization: UCAR/Unidata
>To: Steve Emmerson <steve@xxxxxxxxxxxxxxxx>
>Subject: Re: 20030306: NetCDFperl INSTALL problem: RedHat Linux
>Keywords: 200303072315.h27NFPB2002084

The above message contained the following:

> Thanks for the quick response. I just tried it. Still has error. This is 
> what I did:
> 1) rm perl/Makefile
> 2) vi Makefile ( I tried 1. remove the POLLUTE=1 line 2. set POLLUTE=0)
> 3) make
> 
> here it goes:
> 
> [yuy@aquarius1]# make
> make[1]: Entering directory `/home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1'
> make[2]: Entering directory `/home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1'
> 
> making `dynamic' in directory /home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1/perl
> 
> make[3]: Entering directory `/home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1/perl'
> gcc -c  -I/home/yuy/netcdf-3.5.0/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"\" -DXS_VERSIOpic
> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   NetCDF.c
> NetCDF.xs: In function `pv_data':
> NetCDF.xs:823: `na' undeclared (first use in this function)
> NetCDF.xs:823: (Each undeclared identifier is reported only once
> NetCDF.xs:823: for each function it appears in.)
> NetCDF.xs: In function `XS_NetCDF_attput':
> NetCDF.xs:2251: `na' undeclared (first use in this function)
> make[3]: *** [NetCDF.o] Error 1
> make[3]: Leaving directory `/home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1/perl'
> make[2]: *** [perl/dynamic] Error 1
> make[2]: Leaving directory `/home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1'
> make[1]: *** [decision] Error 2
> make[1]: Leaving directory `/home/yuy/las/xml/perl/modules/netcdf-perl-1.2.1'
> 
> Any clues?

I've seen this before.  The solution might be to use version 1.2.2 of
the package.  See the following URL for more information:

    http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/netcdf/4948

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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690