Hi Ashwin, I can narrow this down more with the config.log file, but you are missing an environmental variable. My guess is either FC or F77. What's happening is that, during the particular libtool invocation, the empty variable is being passed to libtool. This results in the trailing compiler options being interpreted as invalid libtool options, giving us the errors you're seeing. If you aren't sure what variable is causing this, I can dig into it with the config.log file. Thanks! -Ward > Hello, > > I am looking at this old thread and I am getting the same error > with netcdf-fortran-4.4.4 - > > http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg13606.html > > Is it something that is a show stopper or can we proceed to install ? > > Best regards, > Ashwin. > > > Making check in fortran > make[1]: Entering directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/fortran' > make check-am > make[2]: Entering directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/fortran' > make[2]: Nothing to be done for 'check-am'. > make[2]: Leaving directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/fortran' > make[1]: Leaving directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/fortran' > Making check in nf_test > make[1]: Entering directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/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/aswin/meteorology_project/netcdf-fortran-4.4.4/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 > Makefile:1281: recipe for target 'test_get.o' failed > 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 > Makefile:1281: recipe for target 'test_put.o' failed > 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 > Makefile:1281: recipe for target 'nf_error.o' failed > 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 > Makefile:1281: recipe for target 'nf_test.o' failed > 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 > Makefile:1281: recipe for target 'test_read.o' failed > 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 > Makefile:1281: recipe for target 'test_write.o' failed > 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 > Makefile:1281: recipe for target 'util.o' failed > 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 > libtool: link: unrecognized option `-I../fortran' > libtool: link: Try `libtool --help' for more information. > Makefile:1240: recipe for target 'nf_test' failed > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/nf_test' > Makefile:1814: recipe for target 'check-am' failed > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > '/home/aswin/meteorology_project/netcdf-fortran-4.4.4/nf_test' > Makefile:534: recipe for target 'check-recursive' failed > make: *** [check-recursive] Error 1 > > Ticket Details =================== Ticket ID: UFA-402118 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.
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.