NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
On Tue, 11 Jul 2000, Matthew Maschmann wrote:
Steve, Good morning. I have a new problem for you. Netcdf-perl was successfully built (so we thought), but when I run a make test for the decoders installation, I get errors suggesting that netcdf-perl is not installed. Is there some configure file I missed that points to the netcdf-perl installation? I have attached my test.log file. Thanks, Matt
Matt, I looked at your log, it appears that invocation of perl cannot find the NetCDF perl module ie. netCDF.pm The netCDF.pm should be located in the lib dir, similar to /local/lib/perl5/netCDF.pm A procedure to check the perl lib paths is to run a decoder in a debugger, ie% perl -d metar2nc metar.cdl
Then do a print of @INC, this shows the paths perl is looking for modules. ie DB<2> p "@INC" /usr/local/lib/perl5/sun4-solaris/5.004 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl . The path to your netCDF.pm must not be included, so find out the path and add it to @INC. If you path to netCDF.pm is /usr/lib/perl5 then add the path via: push( @INC, "/usr/lib/perl5" ) ;before the
use NetCDF ; statement in the decoders. I don't know the exact reason this happensbut this should solve the problem.
Robb... ============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ==============================================================================
decoders
archives: