This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Dear Yoshihiro, > To: address@hidden > From: "Yoshihiro Yamasaki" <address@hidden> > 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