Subject: bug#20262: Error while running make check for netcdf-fortran-4.4.2

From: Keerthi Priya Kasturi <[email-masked]>
Date: Sun, 5 Apr 2015 10:33:45 +0530

Dear Support tram

I am getting the following error.

PFA

Making check in fortran
make[1]: Entering directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/fortran'
make  check-am
make[2]: Entering directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/fortran'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/fortran'
make[1]: Leaving directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/fortran'
Making check in nf_test
make[1]: Entering directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/nf_test'
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]: Entering directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/nf_test'
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
test_get.o test_get.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [test_get.o] Error 127 (ignored)
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
test_put.o test_put.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [test_put.o] Error 127 (ignored)
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
nf_error.o nf_error.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [nf_error.o] Error 127 (ignored)
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
nf_test.o nf_test.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [nf_test.o] Error 127 (ignored)
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
test_read.o test_read.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [test_read.o] Error 127 (ignored)
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
test_write.o test_write.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [test_write.o] Error 127 (ignored)
DHAVE_CONFIG_H -I. -I.. -I../libsrc    -I../fortran   -I../fortran  -c -o
util.o util.F
/bin/bash: DHAVE_CONFIG_H: command not found
make[2]: [util.o] Error 127 (ignored)
/bin/bash ../libtool  --tag=F77   --mode=link  -I../fortran
-I../fortran    -o nf_test f03lib_f_interfaces.o test_get.o test_put.o
nf_error.o nf_test.o test_read.o test_write.o util.o f03lib.o ../fortran/
libnetcdff.la -lnetcdf
Usage: /home/iitgn/Downloads/netcdf-fortran-4.4.2/libtool [OPTION]...
[MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: unrecognised option: '-I../fortran'
make[2]: *** [nf_test] Error 1
make[2]: Leaving directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/nf_test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/home/iitgn/Downloads/netcdf-fortran-4.4.2/nf_test'
make: *** [check-recursive] Error 1

-- 

Keerthi Priya Kasturi
PhD Research Scholar,
Civil Engineering Department
IIT Gandhinagar