> 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: Entering directory `/noc/users/diam1e11/netcdf-4.0/f90' > make: Entering directory `/noc/users/diam1e11/netcdf-4.0/f90' > make: 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: *** [install-man3] Error 1 > make: Leaving directory `/noc/users/diam1e11/netcdf-4.0/f90' > make: *** [install-am] Error 2 > make: 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
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.