[Met_help] [rt.rap.ucar.edu #89944] History for error while installing mettools

John Halley Gotway via RT met_help at ucar.edu
Tue Jul 9 12:06:52 MDT 2019


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

after 30 hours installation time i got this problem,

nc_utils.h:22:18: fatal error: netcdf: No such file or directory
compilation terminated.
Makefile:400: recipe for target 'libvx_nc_util_a-nc_var_info.o' failed
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
make[3]: Leaving directory
'/home/rabbani/met_tools/met-8.0/src/libcode/vx_nc_util'
Makefile:369: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/rabbani/met_tools/met-8.0/src/libcode'
Makefile:357: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/rabbani/met_tools/met-8.0/src'
Makefile:413: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
what can i do? pls help me


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: error while installing mettools
From: John Halley Gotway
Time: Mon Apr 29 09:46:40 2019

Golam,

I see you're having trouble installing the MET software.  Wow, 30
hours of
installation time is very, very, very long!  When compiling all the
dependent libraries and MET, I've seen it take up to about an hour.
So if
it really is taking 30 hours to compile on your machine, I worry that
your
machine may be very old or very slow.  If so, I'd recommend finding
newer
and faster hardware.

But on to the compilation error... this means that MET isn't able to
locate
the NetCDF header files it needs.  When you run "configure" for MET,
the
"MET_NETCDF" environment variable defines where the NetCDF library is
installed.  So the first thing I'd check is how that is set.  Go to
the
top-level met-8.0 directory and run this command:

*   grep MET_NETCDF config.log*

On my machine, the last 3 lines of output look like this:


*MET_NETCDF='/usr/local/netcdf'MET_NETCDFINC='${MET_NETCDF}/include'MET_NETCDFLIB='${MET_NETCDF}/lib'*

That means that MET is using NetCDF which is installed in
/usr/local/netcdf.  And the header files it needs live in
/usr/local/netcdf/include.  Here's a listing of the header files from
that
directory:

[johnhg at dakota]% ls /usr/local/netcdf/include
ncAtt.h   ncChar.h   ncCompoundType.h  ncDouble.h    ncException.h
ncFloat.h     ncGroup.h  ncInt.h         ncShort.h   ncType.h
ncUint64.h
ncUshort.h  ncVarAtt.h  ncVlenType.h  netcdfcpp.h  netcdf.hh
netcdf_meta.h  typesizes.mod
ncByte.h  ncCheck.h  ncDim.h           ncEnumType.h  ncFile.h
ncGroupAtt.h  ncInt64.h  ncOpaqueType.h  ncString.h  ncUbyte.h
ncUint.h
ncvalues.h  ncVar.h     netcdf        netcdf.h     netcdf.inc
netcdf.mod

What does yours look like?

Thanks,
John Halley Gotway

On Fri, Apr 26, 2019 at 7:13 PM Golam Rabbani via RT
<met_help at ucar.edu>
wrote:

>
> Fri Apr 26 19:13:26 2019: Request 89944 was acted upon.
> Transaction: Ticket created by rabbani.du93 at gmail.com
>        Queue: met_help
>      Subject: error while installing mettools
>        Owner: Nobody
>   Requestors: rabbani.du93 at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89944 >
>
>
> after 30 hours installation time i got this problem,
>
> nc_utils.h:22:18: fatal error: netcdf: No such file or directory
> compilation terminated.
> Makefile:400: recipe for target 'libvx_nc_util_a-nc_var_info.o'
failed
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> make[3]: Leaving directory
> '/home/rabbani/met_tools/met-8.0/src/libcode/vx_nc_util'
> Makefile:369: recipe for target 'install-recursive' failed
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory '/home/rabbani/met_tools/met-
8.0/src/libcode'
> Makefile:357: recipe for target 'install-recursive' failed
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory '/home/rabbani/met_tools/met-8.0/src'
> Makefile:413: recipe for target 'install-recursive' failed
> make: *** [install-recursive] Error 1
> what can i do? pls help me
>
>

------------------------------------------------


More information about the Met_help mailing list