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

[netCDF #HUD-260573]: Error installing netcdf-fortran: make check



Hello Lucia,

I am unable to duplicat ethis issue on my OSX system. The issue is that somehow 
the command `2` is being introduced when running 'make check'.  This is 
supported by the error:

> /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
> /bin/sh: 2: command not found

I have no idea how this is happening. Can you provide the test-suite.log file 
from the nf_test/ directory, after the test fails?  Also, after you run the 
'configure' command, how are you running make? make, make check? Or just make 
check?

Thank you,

-Ward

> 

Hello,
> 
> I got a problem installing netcdf-fortran on my Mac OS (v 10.12.6). I have 
> already installed netcfd without any problem.
> I followed the instructions reported here: 
> http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html 
> <http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html>
>  but got the error below when running "make check". I also attach my 
> config.log.
> 
> Thanks.
> 
> Best regards,
> Lucia
> 
> Making check in fortran
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-am
> make[2]: Nothing to be done for `check-am'.
> Making check in nf_test
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  nf_test tst_f77_v2 
> ftst_vars ftst_vars2 ftst_vars3 ftst_vars4 ftst_vars5 ftst_vars6 ftst_types 
> ftst_types2 ftst_types3 ftst_groups ftst_path ftst_rengrps f90tst_vars 
> tst_types tst_types2 f90tst_vars_vlen tst_f90_nc4 f90tst_grps f90tst_fill 
> f90tst_fill2 f90tst_vars3 f90tst_vars4 f90tst_vars2 f90tst_path 
> f90tst_rengrps ftst_v2    ftest tst_f90
> make[2]: `nf_test' is up to date.
> make[2]: `tst_f77_v2' is up to date.
> make[2]: `ftst_vars' is up to date.
> make[2]: `ftst_vars2' is up to date.
> make[2]: `ftst_vars3' is up to date.
> make[2]: `ftst_vars4' is up to date.
> make[2]: `ftst_vars5' is up to date.
> make[2]: `ftst_vars6' is up to date.
> make[2]: `ftst_types' is up to date.
> make[2]: `ftst_types2' is up to date.
> make[2]: `ftst_types3' is up to date.
> make[2]: `ftst_groups' is up to date.
> make[2]: `ftst_path' is up to date.
> make[2]: `ftst_rengrps' is up to date.
> make[2]: `f90tst_vars' is up to date.
> make[2]: `tst_types' is up to date.
> make[2]: `tst_types2' is up to date.
> make[2]: `f90tst_vars_vlen' is up to date.
> make[2]: `tst_f90_nc4' is up to date.
> make[2]: `f90tst_grps' is up to date.
> make[2]: `f90tst_fill' is up to date.
> make[2]: `f90tst_fill2' is up to date.
> make[2]: `f90tst_vars3' is up to date.
> make[2]: `f90tst_vars4' is up to date.
> make[2]: `f90tst_vars2' is up to date.
> make[2]: `f90tst_path' is up to date.
> make[2]: `f90tst_rengrps' is up to date.
> make[2]: `ftst_v2' is up to date.
> make[2]: `ftest' is up to date.
> make[2]: `tst_f90' is up to date.
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
> /bin/sh: 2: command not found
> make[3]: *** [nf_test.log] Error 127
> make[2]: *** [check-TESTS] Error 2
> make[1]: *** [check-am] Error 2
> make: *** [check-recursive] Error 1
> 
> 


Ticket Details
===================
Ticket ID: HUD-260573
Department: Support netCDF
Priority: Normal
Status: Closed
===================
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.