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

[netCDF #PLY-813879]: netcedf-4.0 installation issue



> Hi there,
> 
> I've had some issues installing netcdf-4.0 - I get through all the config, 
> make and make check steps but it fails at the make install stage.  Here's the 
> blurb just before the failure:
> 
> 178...>make install
> Making install in f90
> make[1]: Entering directory `/noc/users/diam1e11/netcdf-4.0/f90'
> make[2]: Entering directory `/noc/users/diam1e11/netcdf-4.0/f90'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/gsb6/ggdagw/netcdf/share/man/man3" || /bin/mkdir -p 
> "/gsb6/ggdagw/netcdf/share/man/man3"
> /bin/mkdir: cannot create directory `/gsb6': Permission denied
> make[2]: *** [install-man3] Error 1
> make[2]: Leaving directory `/noc/users/diam1e11/netcdf-4.0/f90'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/noc/users/diam1e11/netcdf-4.0/f90'
> make: *** [install-recursive] Error 1
> ...and then it stops!
> 
> I've checked the permissions re the 6th line but it should be all fine...

So when you run the command

  /bin/mkdir /gsb6

you don't get an error?  

Typically "make install" is run as super-user, using the "sudo make install",
but if you really have permissions to make arbitrary directories at the root 
level of your directory tree, you wouldn't need to use sudo.  Otherwise, you
may have to specidy an absolute pathname for where you really want to install
netCDF using the "--prefix=" option to configure, after running "make clean".
Then you would need to rerun "make check" and "sudo make install".

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: PLY-813879
Department: Support netCDF
Priority: Normal
Status: Closed