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

[netCDF #UGD-926588]: Support for netCDF4 in Perl



Cathy,

> Barry tried re-installing the module and got the following error:
> 
> reinstalled it this morning, but it fails the make test
> 
> [root@batchb src]# make test
> make[1]: Entering directory `/usr/local/src/netcdf-perl-1.2.4/src'
> 
> making `test' in directory /usr/local/src/netcdf-perl-1.2.4/src/perl
> 
> make[2]: Entering directory `/usr/local/src/netcdf-perl-1.2.4/src/perl'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Creating netCDF file...........................nccreate: filename
> "foo.nc": NetCDF: Invalid argument
> make[2]: *** [test_dynamic] Error 3
> make[2]: Leaving directory `/usr/local/src/netcdf-perl-1.2.4/src/perl'
> make[1]: *** [perl/test] Error 1
> make[1]: Leaving directory `/usr/local/src/netcdf-perl-1.2.4/src'
> make: *** [test] Error 2
> [root@batchb src]#
> 
> configure sequence is
> 
> export PATH=/usr/local/bin/:$PATH
> export PERL_MANDIR=/usr/local/man
> export CPP_NETCDF=-I/usr/local/include
> export LD_NETCDF="-L/usr/local/lib -lnetcdf -lhdf5 -lhdf5_hl"
> export CC=gcc
> export CFLAGS=
> 
> cd src
> make distclean
> ./configure
> make
> make test

Would you please have Barry do a "make clean" and then send me the output (both 
the standard output and standard error streams) of the command "make".

Also, please send me the output from the command "env | grep LD".

Then, in the top-level source-directory, try executing the command 
"LD_LIBRARY_PATH=/usr/local/lib make test".

> Cathy
> make install
> 
> --
> ----------------------------------------------
> NOAA/ESRL PSD and CIRES CDC
> 303-497-6263
> http://www.esrl.noaa.gov/psd/people/cathy.smith/
> 
> Emails about data/webpages may get quicker responses from emailing
> address@hidden


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UGD-926588
Department: Support netCDF Perl
Priority: Normal
Status: Closed