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.
Mark, > To: address@hidden > cc: John Tatum <address@hidden> > From: Mark Mitchell <address@hidden> > Subject: Perl NetCDF module > Organization: National Weather Service > Keywords: 200202051931.g15JVjx00907 The above message contained the following: > We are trying to load the PERL NetCDF module on one of our computers > running Redhat Linux 7.1. Below is the information you requested, when > sending questions. As you can see we are running into problems at step > 6. Can you help? I hope so. > Thanks, > Mark Mitchell > > ---------- > Error on STEP 6 page 2 of 3 "make" function > > OS - Redhat Linux 7.1 > > A. Linux lx2-eax 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 > unknown > > B. File Version: netcdf-perl > > C. Compiler: /usr/local/gcc/bin/gcc > > D. Output from Configure script > > creating cache ./config.cache > checking for manual-page index command... > checking for perl utility... /usr/bin/perl > checking for perl manual page directory... /usr/local/man > checking for neqn... neqn > checking for tbl... tbl > checking for C compiler... /usr/local/gcc/bin/gcc > checking type of operating system... linux > checking for tar flags... -chof > checking for netCDF header-file... -I/usr/local/netcdf/include > checking for netCDF library... -L/usr/local/netcdf/lib -lnetcdf > checking for package version... 1.2 > updating cache ./config.cache > creating ./config.status > creating Makefile > creating perl/Makefile.PL > creating port/master.mk > creating port/Makefile > expanding `include's in file `Makefile' > expanding `include's in file `perl/Makefile.PL' > expanding `include's in file `port/master.mk' > expanding `include's in file `port/Makefile' > > E. Output from config.log > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > configure:635: checking for manual-page index command > configure:686: checking for perl utility > configure:694: checking for perl manual page directory > configure:746: checking for neqn > configure:778: checking for tbl > configure:1119: checking for C compiler > configure:1173: checking type of operating system > configure:1250: checking for tar flags > configure:1266: checking for netCDF header-file > configure:1293: checking for netCDF library > configure:1322: checking for package version > > F. Output from makefile.log > > FILE DOES NOT EXIST > > G. Output from make.log > > cd perl && /usr/bin/perl Makefile.PL POLLUTE=1 > Writing Makefile for NetCDF > make: *** No rule to make target `2'. Stop. Target 2? What the devil is "target 2"? Would you please send me the files "perl/Makefile.PL" and "perl/Makefile", relative to the top-level source directory. Regards, Steve Emmerson <http://www.unidata.ucar.edu>