Hello Deng, I'm unable to duplicate the issue on my OSX 10.10 development machine, using the commands you've provided (modified for my environment). I can think of several things it might be, but I cannot say for certain. 1. You do not have 'write' access in the directory you are building netCDF-Fortran from, which is why fortlib.o fails to build. This seems unlikely, however, unless perhaps you have previously built in this directory with 'sudo make'. 2. I do not know if gcc and the Intel fortran compiler are compatible, but perhaps this is an issue? What happens if you try to run the failing command manually from the command line? Does it give more information? -Ward > > > > ?????????? > > ???: Deng Jianbo <address@hidden> > > ??: Problem on installing netcdf-fortran on mac os > > ??: 2015?7?30? GMT+8??11:38:20 > > ???: address@hidden > > > > To whom will concern, > > > > Hi, when I try to install netcdf-fortran on MAC OS PC( 10.10 Yosemite), I > > have met some problems (Please see the config.log? > > > > After installing the netcdf-c-4.4.0-r2 in the directory of > > /User/DengJ/Uranus/Lib/Netcdf, I have typed commands as follow: > > > > > > 1 export > > DYLD_LIBRARY_PATH="/Users/DengJ/Uranus/Lib/Netcdf/lib:$DYLD_LIBRARY_PATH" > > > > 2 $FC=ifort F77=ifort CC=gcc ./configure > > --prefix=/Users/DengJ/Uranus/Lib/Netcdf/ > > CPPFLAGS=-I/Users/DengJ/Uranus/Lib/Netcdf/include > > LDFLAGS=-L/Users/DengJ/Uranus/Lib/Netcdf/lib > > > > > > 3 make > > > > 4 make check > > > > then met these problems: > > > > depbase=`echo fortlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ > > gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran > > -I/Users/DengJ/Uranus/Lib/Netcdf/include -g -O2 -MT fortlib.o -MD -MP -MF > > $depbase.Tpo -c -o fortlib.o fortlib.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > error: unable to open output file 'fortlib.o': '' > > 1 error generated. > > > > > > > > > > Could you give me some suggestion on how I can solve these problems? > > > > > > Thank you so much. > > Regards. > > > > Deng Jianbo > > > > > > > > > > > > > > > > > > > Ticket Details =================== Ticket ID: FDV-623287 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.