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

[netCDF #QNW-959324]: netCDF download support

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,


> 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

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.