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

Re: 20040225: netCDFPerl install problem



Brock,

> To: address@hidden
> From: Brock Murch <address@hidden>
> Subject: netCDFPerl install problem
> Organization: USF
> Keywords: 200402252112.i1PLC0rV020734 netCDF Perl

The above message contained the following:

>       Any advice would be appreciated. Trying to work with Charlton
> Purvis at SC to get Carribean METAR wind data into netCDF for a
> Carribean mapserver application for a NOAA showcase next month in DC.
> 
> uname -a
> Linux fox.marine.usf.edu 2.4.20-28.9 #1 Thu Dec 18 13:45:22 EST 2003 i686 
> i686 
> i386 GNU/Linux
> 
> # cat VERSION
> 1.2.2
> 
> 
> which cc
> /usr/bin/cc
> [root@fox src]# type cc
> cc is /usr/bin/cc
...
> I also attached the core produced incase that helps. Also the perl_version
> 
> Many thanks,
> 
> -- 
> Brock Murch
> Managing Director
> Institute for Marine Remote Sensing 
> University of South Florida 
> 140 7th Ave South  
> St. Petersburg, FL 33701 
> http://imars.usf.edu/
> (727) 553-1186
...
> making `test' in directory 
> /home/bmurch/software/perl/netcdf-perl-1.2.2/src/perl
> 
> make[2]: Entering directory 
> `/home/bmurch/software/perl/netcdf-perl-1.2.2/src/perl'
> cp NetCDF.pm blib/lib/NetCDF.pm
> AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
> Running Mkbootstrap for NetCDF ()
> chmod 644 NetCDF.bs
> cp NetCDF.bs blib/arch/auto/NetCDF/NetCDF.bs
> chmod 644 blib/arch/auto/NetCDF/NetCDF.bs
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Creating netCDF file...........................ok
> Setting fill mode..............................ok
> Defining fixed dimensions......................ok
> Defining fixed variables.......................ok
> Writing global attribute.......................ok
> Writing variable attributes....................ok
> Defining record dimension......................ok
> Defining record variables......................ok
> Ending definition..............................ok
> Writing fixed variable values..................ok
> Synchronizing netCDF I/O.......................ok
> Writing record values..........................ok
> Closing netCDF file............................ok
> Opening netCDF file for reading................ok
> Inquiring about netCDF file....................ok
> Checking global attribute name.................ok
> Checking global attribute value................ok
> Getting second dimension ID....................ok
> Checking second dimension information..........ok
> Checking fixed variable ID.....................ok
> Checking fixed variable information............ok
> Checking last value of first record variable...make[2]: *** [test_dynamic] 
> Segmentation fault (core dumped)
> make[2]: Leaving directory 
> `/home/bmurch/software/perl/netcdf-perl-1.2.2/src/perl'
> make[1]: *** [perl/test] Error 1
> make[1]: Leaving directory `/home/bmurch/software/perl/netcdf-perl-1.2.2/src'
> make: *** [test] Error 2
...

This is a known problem.  It appears to be due to a bug in version 5.8
of the perl(1) utility (it doesn't occur with any other version of
perl(1) -- including previous ones).

The workaround is to use another version of perl(1) (e.g., 5.7).

Regards,
Steve Emmerson