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]

20040301: netcdf-perl-1.2.2 isntallation



Dear Yoshihiro,

> To: support@xxxxxxxxxxxxxxxx
> From: "Yoshihiro Yamasaki" <yamasaki@xxxxxxxxx>
> Subject: netcdf-perl-1.2.2 isntallation
> Organization: ?
> Keywords: 200402291624.i1TGOUrV008653 netCDF Perl

The above message contained the following:

> Dear Steve,
> I just installed the netcdf-perl-1.2.2 and it seems to me 
> that everything was correct, except in the test (make 
> test) because I got the following :
> 
> make[1]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> 
> making `test' in directory 
> /usr/local/netcdf-perl-1.2.2/src/perl
> 
> make[2]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src/perl'
> PERL_DL_NONLAZY=1 /usr/local/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
> make[2]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src/perl'
> make[1]: *** [perl/test] Error 1
> make[1]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make: *** [test] Error 2

The above error indicates that you are using version 5.8 of the perl(1)
utility.  There appears to be a bug in this version.  The only
workaround that I know is to use a different version of perl(1).

> Aside from this error, I continued and  the isntall.log :
> 
> -->  more isntall.log
> make[1]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> 
> making `install' in directory 
> /usr/local/netcdf-perl-1.2.2/src/perl
> 
> make[3]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src/perl'
> Files found in blib/arch: installing files in blib/lib 
> into architecture dependent library tree
> Writing 
> /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/NetCDF/.packlist
> Appending installation info to 
> /usr/local/lib/perl5/5.8.0/i686-linux/perllocal.pod
> make[3]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src/perl'
> 
> returning to directory /usr/local/netcdf-perl-1.2.2/src
> 
> make[2]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make[1]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make  installed_manuals MANDIR=/usr/local/man/man3
> make[1]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Entering directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make[2]: Nothing to be done for `installed_manual'.
> make[2]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> make[1]: Leaving directory 
> `/usr/local/netcdf-perl-1.2.2/src'
> 
> So that, I really do not know if I succeeded in the 
> installation or not.

You succeeded in the installation.  If you use the netCDF module with
perl 5.8, however, then you might encounter the same segmentation
violation.

> Best regards,
> 
> yyamazaki

Regards,
Steve Emmerson


 
 
  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