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

[netCDF #BKO-671323]: ncgen3 error

Hi Theres,

> apparently a permission problem.

     netCDF 4.3.2: ncgen3/test-suite.log
  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0
  .. contents:: :depth: 2
  FAIL: run_tests.sh
  *** Testing ncgen3.
  *** creating classic file c0.nc from c0.cdl...
  ncgen: Permission denied
  ncgen: NetCDF: Not a valid ID

It looks like you don't have permission to create files
in the directory (or directories) in which you are running
the tests.

One possible cause is building the library from source as
one user (e.g. root) and then trying to run "make check"
as a different user.

It's best to not use the "sudo" command before the "configure" 
or "make check" commands. Using "sudo" causes the LD_* environment 
variables to be ignored, as a security precaution. You can use 
"sudo make install" as the last step, but you shouldn't need to 
use "sudo" before that.


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

Ticket Details
Ticket ID: BKO-671323
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.