This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello Jorge, I'm glad you were able to get further in the process. This latest error you report is pretty straight-forward; you do not have permission to write to the directory /usr/local/lib. If you have superuser access on this system, you should invoke 'make install' as follows: $ sudo make install If you do not have superuser access, you will need to specify an alternative install location when running configure, e.g. $ ./configure --prefix=$HOME/local I hope this helps, -Ward > I stayed trying for another hour, followed some instructions online about > downloading the C library first and changing CPPFLAGS and LDFLAGS values, > and now I have a different error. During making the library, it says: > /usr/bin/install: cannot create regular file > '/usr/local/lib/libnetcdff.so.6.0.1': Permission denied. Then it makes > three errors while trying to install and leaves directory. > > Can you help me? > > Best, > Jorge Orbay > > On Fri, Oct 10, 2014 at 4:02 PM, Jorge Antonio Orbay <address@hidden> > wrote: > > > I forgot to mention, when I did the quickdownload with the newest netCDF > > fortran compiler, after doing the ./configure command, I was told that > > netcdf.h could not be found, and I had to set CPPFLAGS. What does this mean? > > > > On Fri, Oct 10, 2014 at 3:45 PM, Jorge Antonio Orbay <address@hidden > > > wrote: > > > >> Dear Unidata, > >> I'm installing netCDF and compiling it with the gnu fortran compiler, but > >> I'm having trouble building the library in unix. I've tried the quick > >> instructions provided on your page but they have not worked. The program > >> I'd like to use it for, cgenie, uses v4.0 of netCDF, but when I tried to > >> make it, I got the error message that it could not create directory. I > >> tried to download using the long instructions and the newest version of > >> netCDF, but the first instruction, ./configure > >> --prefix=/whatever/you/decided , needs to be completed in the top-level cdf > >> directory. How do I get there? If it is not obvious, I am extremely new to > >> unix and computers in general, so please be patient with me. > >> > >> Best, > >> Jorge Orbay > >> > > > > > > Ticket Details =================== Ticket ID: QNW-959324 Department: Support netCDF Priority: Normal Status: Closed