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

Re: Fw: 20010520: Troubleshooting Netcdf-3.5.0

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.


  • Subject: Re: Fw: 20010520: Troubleshooting Netcdf-3.5.0
  • Date: Mon, 21 May 2001 13:11:38 -0600

>To: <address@hidden>
>From: "Annette and Frankie Stone" <address@hidden>
>Subject: Troubleshooting Netcdf-3.5.0
>Organization: 
>Keywords: 200105202343.f4KNhJp02612

> I have done what you said in your email and I have pasted the last
> part of the shell output below for the make install -k.  Because the
> only thing that changed was the "install" it is the only log that I
> have also pasted in.  I tried make -k install and make -kinstall but
> it didn't go very far.  I will try this with GMT but I thought you
> might be interested in seeing this - I'm sure you have nothing else
> to do:)  Is this as you would have expected?  Do I need to resend
> the other files?
 
The install.log looks fine.  I'm not sure why you are getting the
following error:

> bash-2.04$ make install -k >install.log
> Not making `f90/install' because no FORTRAN-90 compiler
> cp: `ncdump' and `/cygdrive/c/cygwin/netcdf-3.5.0/bin/ncdump' are the same 
> file
> make[2]: *** [/cygdrive/c/cygwin/netcdf-3.5.0/bin/ncdump] Error 1
> make[2]: Target `install' not remade because of errors.
> make[1]: *** [subdir_target] Error 1
> make: *** [ncdump/install] Error 2
> cp: `ncgen' and `/cygdrive/c/cygwin/netcdf-3.5.0/bin/ncgen' are the same file
> make[2]: *** [/cygdrive/c/cygwin/netcdf-3.5.0/bin/ncgen] Error 1
> make[2]: Target `install' not remade because of errors.
> make[1]: *** [subdir_target] Error 1
> make: *** [ncgen/install] Error 2
> make: Target `install' not remade because of errors.

The install target is supposed to copy
 /cygdrive/c/cygwin/netcdf-3.5.0/src/ncdump/ncdump.exe   
to wherever you have specified the install directory is, in this case
 /cygdrive/c/cygwin/netcdf-3.5.0/bin/ncdump.exe

If it doesn't do this because the ".exe" extension is not understood
by the Unix Makefile, just make sure you copy this manually.
Similarly for ncgen.  This may not matter if GMT doesn't use ncdump or
ncgen; it may only use the library libnetcdf.a, which you installed in
 /cygdrive/c/cygwin/netcdf-3.5.0/lib/libnetcdf.a

Just make sure you tell GMT where to look for the library, in whatever
way it wants that information ...

--Russ