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

[netCDF #DND-672007]: make install permissions failed



Hi Sasha,

> I got my netcdf build as far as "make install" when I got the following
> error message
> Making install in f90
> make  install-am
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/Users/spcarter/Glimmer/netcdf-4.1.1/share/man/man3" ||
> .././install-sh -c -d "/Users/spcarter/Glimmer/netcdf-4.1.1/share/man/man3"
> mkdir: /Users/spcarter/Glimmer/netcdf-4.1.1/share/man: Permission denied
> mkdir: /Users/spcarter/Glimmer/netcdf-4.1.1/share/man/man3: Permission
> denied
> make[3]: *** [install-man3] Error 1
> make[2]: *** [install-am] Error 2
> make[1]: *** [install] Error 2
> make: *** [install-recursive] Error 1
> 
> when I do sudo make install everything works okay, however other programs
> that depend on netcdf begin to develop problems.

Using "sudo make install" was correct.  You usually want to install the netCDF
libraries, include files, and programs in a place where other programs and 
users can make use of them.

What problems do other programs that depend on netCDF develop?  For example,
do such programs depend on a shared netCDF library that you have overwritten
with the new installation?  In that case, you may have to recompile and relink
the programs to use the new libraries.  This could be necessary if, for example,
the new libraries were compiled using a different programming model than the 
old 
libraries, for example 64-bit pointers instead of 32-bit pointers.

--Russ


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



Ticket Details
===================
Ticket ID: DND-672007
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.