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

[Support #ENZ-452123]: Trouble with netdf-3.6.2



Hi Eric,

The error message indicates a permissions problem: you don't have the necessary 
permissions to copy files into the /usr/local/lib/ directory, where the 
software is installed by default if you don't indicate a different location 
when you run the configure script.  This default installation location has 
changed from earlier releases, as indicated in the Release Notes:

  Changed the default install directory from the source directory to the   more 
usual default: /usr/local. Use the --prefix argument of configure to override 
the install location.

There are two ways to get around this problem: 

1. Use the "sudo" command to run the "make install" step, which will ask for 
your password, assuming your userid has administrator permissions on the Mac, 
as in:

  $ sudo make install
  Password: 

2. Indicate a different installation location, where you have permission to 
copy files, when you run the initial "configure" script, as in:

  $ make clean
  $ mkdir /Users/crampon/netcdf
  $ ./configure --prefix=/Users/crampon/netcdf
    ...
  $ make check
    ...
  $ make install

--Russ



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



Ticket Details
===================
Ticket ID: ENZ-452123
Department: Support netCDF
Priority: Normal
Status: Closed