[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #EQM-947696]: netcdf ./configure error
- Subject: [netCDF #EQM-947696]: netcdf ./configure error
- Date: Thu, 05 Nov 2015 10:41:07 -0700
Hello,
The error being given is "path_to_directory/Build_WRF/LIBRARIES/grib2/lib: No
such file or directory". This is fairly self descriptive; it seems to be
looking for a particular directory which doesn't exist. Unfortunately, I am
not familiar with the WRF build process, so I cannot say why it is looking for
this directory or why it does not exist.
Regarding the configure.log you provided; the error shown is "configure:3121:
error: /bin/bash ./config.sub --disable-shared failed". I believe that the
problem is the stray '\' character between --disable-dap and --disable-shared.
Try removing that and let me know if the issue changes.
I hope this helps,
-Ward
> Hello,
>
> I a trying to install NetCDF for WRF but in ./configure step I am having a
> trouble which I copied below.
>
> ---------------------------------------------------------------------------------
> #safak-RV420-RV520-RV720-E3530-S3530-E3420-E3520:~/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3%
> ./configure
> --prefix=/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3/netcdf
> --disable-netcdf-4 --disable-dap \ --disable-shared
> #configure: WARNING: you should use --build, --host, --target
> #configure: WARNING: invalid host type:
> #configure: netCDF 4.1.3
> #checking build system type... config.sub: missing argument
> #Try `config.sub --help' for more information.
> #configure: error: /bin/bash ./config.sub failed
> --------------------------------------------------------------------------------------------------------
>
> If I write ./configure only it works. In that case make commend gives an
> error which also can be found below.
>
>
> ----------------------------------------------------------------------------------------
> #safak-RV420-RV520-RV720-E3530-S3530-E3420-E3520:~/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3%
> make
> #make all-recursive
> #make[1]: Entering directory
> `/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3'
> #Making all in include
> #make[2]: Entering directory
> `/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3/include'
> #make[2]: Nothing to be done for `all'.
> #make[2]: Leaving directory
> `/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3/include'
> #Making all in libdispatch
> #make[2]: Entering directory
> `/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3/libdispatch'
> #/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2
> -Lpath_to_directory/Build_WRF/LIBRARIES/grib2/lib -o libdispatch.la
> libdispatch_la-parallel.lo libdispatch_la-copy.lo libdispatch_la-file.lo
> libdispatch_la-dim.lo libdispatch_la-att.lo libdispatch_la-error.lo
> libdispatch_la-var.lo libdispatch_la-dispatch.lo libdispatch_la-nc_uri.lo
> libdispatch_la-nclist.lo libdispatch_la-ncbytes.lo
> libdispatch_la-nchashmap.lo libdispatch_la-nclog.lo -lm
> #../libtool: line 5992: cd:
> path_to_directory/Build_WRF/LIBRARIES/grib2/lib: No such file or directory
> #libtool: link: cannot determine absolute directory name of
> `path_to_directory/Build_WRF/LIBRARIES/grib2/lib'
> #make[2]: *** [libdispatch.la] Error 1
> #make[2]: Leaving directory
> `/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3/libdispatch'
> #make[1]: *** [all-recursive] Error 1
> #make[1]: Leaving directory
> `/home/safak/WRF/Build_WRF/LIBRARIES/netcdf-4.1.3'
> #make: *** [all] Error 2
>
> --------------------------------------------------------------------------------------
>
>
> Can you help me with these errors?
>
> P.S. I also added config.log as an attachment.
>
> Thank you.
> Safak Altun
> Istanbul Technical University
> Meteorological Engineering
>
>
Ticket Details
===================
Ticket ID: EQM-947696
Department: Support netCDF
Priority: Normal
Status: Closed