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.
Persaram Batra <address@hidden> writes: > I used netcdf-3.6.1-beta3 (from freshmeat.net), and it worked! Marvellous. > > Thanks a bunch. > > Persa > > P.S. Here's my $PATH if you're still interested: > > $ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:.:/usr/bin:/usr/X11R6/bin:/cygdrive/c/PROGRAM > FILES/THINKPAD/UTILITIES:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program > Files/ATI Technologies/ATI Control > Panel:/cygdrive/c/IBMTOOLS/Python22:/cygdrive/c/Program > Files/PC-Doctor for Windows/services > > Ed Hartnett wrote: >> Unidata Support <address@hidden> writes: >> >>>------- Forwarded Message >>> >>> >>>>To: address@hidden >>>>From: Persaram Batra <address@hidden> >>>>Subject: Make error for NetCDF install under Cygwin >>>>Organization: Mount Holyoke >>>>Keywords: 200506082058.j58KwBZu001538 netCDF Cygwin >>> >>>Hi Support, >>> >>>I'm trying to install NetCDF under Cygwin and I get the following error >>>at the make. Any help would be much appreciated. >>> >>>Persa Batra >>> >>>$ make >>>make[1]: Entering directory `/opt/local/netcdf-3.6.0-p1/src' >>> >>>Making `all' in directory /opt/local/netcdf-3.6.0-p1/src/libsrc >>> >>>make[2]: Entering directory `/opt/local/netcdf-3.6.0-p1/src/libsrc' >>>gcc -c -g -I. ncx.c >>>ncx.c:1119:2: #error "ix_float implementation" >>>ncx.c:1542:2: #error "ix_double implementation" >>>make[2]: *** [ncx.o] Error 1 >>>make[2]: Leaving directory `/opt/local/netcdf-3.6.0-p1/src/libsrc' >>>make[1]: *** [subdir_target] Error 1 >>>make[1]: Leaving directory `/opt/local/netcdf-3.6.0-p1/src' >>>make: *** [libsrc/all] Error 2 >>> >>>Here is the output from my configure and the contents of configure.out >>> >>>$ ./configure --prefix="/opt/local" > configure.out >>>configure: WARNING: g++ failed on standard C++ test program >>>configure: WARNING: "Could not find working Fortran-90 compiler" >>>configure: WARNING: "The Fortran-90 interface will not be built" >>> >>>contents of configure.out: >>> >>>checking build system type... i686-pc-cygwin >>>checking host system type... i686-pc-cygwin >>>checking for top-level source-directory... /opt/local/netcdf-3.6.0-p1/src >>>checking for gcc... gcc >>>checking whether we are using the GNU C compiler... no >>>checking whether gcc accepts -g... no >>>checking for gcc option to accept ANSI C... none needed >>>checking for g++... g++ >>>checking whether we are using the GNU C++ compiler... no >>>checking whether g++ accepts -g... no >>>checking C++ compiler "g++"... checking for xlf... no >>>checking for f95... no >>>checking for fort... no >>>checking for xlf95... no >>>checking for ifc... no >>>checking for efc... no >>>checking for pgf95... no >>>checking for lf95... no >>>checking for gfortran... no >>>checking for frt... no >>>checking for pgf77... no >>>checking for f77... f77 >>>checking whether we are using the GNU Fortran compiler... no >>>checking whether f77 accepts -g... no >>>checking whether we are using the GNU Fortran compiler... (cached) no >>>checking whether f77 accepts -g... (cached) no >>>checking if Fortran-related pre-processor flag needed... >>>checking "f77" as Fortran-90 compiler... failed to build test program >>>checking for xlf90... no >>>checking for f90... no >>>checking for pgf90... no >>>checking for g95... no >>>configure: checking for m4 preprocessor... >>>checking for m4... m4 >>>checking m4 flags... -B10000 >>>checking how to make dependencies... false >>> checking if we need to set _LARGE_FILES on AIX with OBJECT_MODE=64 >>> or CFLAGS includes -q64... >>>checking for special C compiler options needed for large files... no >>>checking for _FILE_OFFSET_BITS value needed for large files... no >>>checking for _LARGE_FILES value needed for large files... no >>>configure: checking for ar utility... >>>checking for ar... ar >>>checking ar flags... cru >>>configure: checking for nm utility... >>>checking for nm... nm >>>checking nm flags... >>>checking for ranlib... ranlib >>>checking for a BSD-compatible install... /usr/bin/install -c >>>checking CPPFLAGS... >>>checking CC CFLAGS... gcc -g >>>checking which gcc... /usr/bin/gcc >>>checking CXX... unset >>>checking FC... f77 >>>checking FFLAGS... >>>checking which f77... /usr/bin/f77 >>>checking F90... unset >>>checking AR... ar >>>checking ARFLAGS... cru >>>checking which ar... /usr/bin/ar >>>checking NM... nm >>>checking NMFLAGS... >>>checking which nm... /usr/bin/nm >>>checking RANLIB... ranlib >>>checking RANLIBFLAGS... >>>checking which ranlib... /usr/bin/ranlib >>>checking for SunOS Fortran -ftrap= option... >>>checking how to run the C preprocessor... gcc -E >>>checking user-defined Fortran-77 compiler "f77"... works >>>checking for Fortran .F compiler... >>>checking if Fortran-77 compiler handles *.F files... yes >>>checking for C-equivalent to Fortran routine "SUB"... sub_ >>>checking for Fortran "byte"... yes >>>checking for Fortran "integer*2"... yes >>>checking if Fortran "byte" is C "signed char"... yes >>>checking if Fortran "byte" is C "short"... no >>>checking if Fortran "byte" is C "int"... no >>>checking if Fortran "byte" is C "long"... no >>>checking if Fortran "integer*2" is C "short"... yes >>>checking if Fortran "integer*2" is C "int"... no >>>checking if Fortran "integer*2" is C "long"... no >>>checking if Fortran "integer" is C "int"... yes >>>checking if Fortran "real" is C "float"... yes >>>checking if Fortran "doubleprecision" is C "double"... yes >>>checking for Fortran-equivalent to netCDF "byte"... byte >>>checking for Fortran-equivalent to netCDF "short"... integer*2 >>>configure: checking for math library... >>>checking for tanh in -lc... yes >>>checking for egrep... grep -E >>>checking for ANSI C header files... no >>>checking for sys/types.h... no >>>checking for sys/stat.h... no >>>checking for stdlib.h... no >>>checking for string.h... no >>>checking for memory.h... no >>>checking for strings.h... no >>>checking for inttypes.h... no >>>checking for stdint.h... no >>>checking for unistd.h... no >>>checking for stdlib.h... (cached) no >>>checking for sys/types.h... (cached) no >>>checking for strerror... yes >>>checking for working ftruncate()... yes >>>checking for working alloca.h... no >>>checking for alloca... no >>>checking whether `alloca.c' needs Cray hooks... no >>>checking stack direction for C alloca... -1 >>>checking for struct stat.st_blksize... no >>>checking for IEEE floating point format... yes >>>checking for size_t... no >>>checking for off_t... no >>>checking for ssize_t... no >>>checking for ptrdiff_t... no >>>checking for uchar... no >>>checking whether char is unsigned... yes >>>checking whether byte ordering is bigendian... no >>>checking for short... no >>>checking size of short... 0 >>>checking for int... no >>>checking size of int... 0 >>>checking for long... no >>>checking size of long... 0 >>>checking for float... no >>>checking size of float... 0 >>>checking for double... no >>>checking size of double... 0 >>>checking size of off_t... 4 >>>checking size of size_t... 4 >>>checking for catman... no >>>checking for makewhatis... no >>>checking for /usr/lib/makewhatis... no >>>checking for manual-page index command... >>>checking binary distribution directory... /home/ftp/pub/binary/dummy_system >>>configure: creating ./config.status >>>config.status: creating macros.make >>>config.status: creating libsrc/ncconfig.h >>>config.status: creating fortran/nfconfig.inc >>>config.status: executing default commands >>> >>> -- >>>Persaram O. Batra >>>Visiting Assistant Professor >>>Department of Earth and Environment >>>Mount Holyoke College >>> >>>-- >>>**************************************************************************** >>>< >>>Unidata User Support UCAR Unidata Program >>>< >>>(303)497-8643 P.O. Box 3000 >>>< >>>address@hidden Boulder, CO 80307 < >>>---------------------------------------------------------------------------- >>>< >>>Unidata WWW Service http://my.unidata.ucar.edu/content/support >>>< >>>---------------------------------------------------------------------------- >>>< >>>NOTE: All email exchanges with Unidata User Support are recorded in the >>>Unidata inquiry tracking system and then made publicly available >>>through the web. If you do not want to have your interactions made >>>available in this way, you must let us know in each email you send to us. >>> >>>------- End of Forwarded Message >>> >>> >> Could you try the latest beta-release from the netCDF web page? >> Also, could you send me the output of: >> echo $PATH >> Thanks! >> Ed > > -- > Persaram O. Batra > Visiting Assistant Professor > Department of Earth and Environment > Mount Holyoke College > > -- Ed Hartnett -- address@hidden