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

[netCDF #NGP-204424]: Install problems



Hello, 

When you run ‘sudo make’, the permissions for the directory are changed to 
read/write for root only.  As a result, you do not have permissions to write to 
the directory when you run ‘make check’ without ‘sudo’.  This is shown in the 
test-suite.log file you provided, where an ‘insufficient permissions’ error is 
indicated.  You should start from a fresh directory and only use ‘sudo’ when 
you run ‘sudo make install’.

I hope this helps!

-Ward

> > Hello,
> >
> >
> >
> >
> In your netcdf-4.6.1 build directory, you should be able to find
> files named tst_h_files2.log tst_h_atts.log etc.
> That is, there should be a .log file for each failed test.
> In any case, please post a couple of the .log files for failed tests
> so we can see more information about the failures.
> 
> I want to install NetCDF on my Mac book but it seem didn't to work.
> >
> > Here is my Installation process:
> >
> >
> >
> >
> > $ cd zlib-1.2.11
> > $ FC=gfortran F90=gfortran F77=gfortran ./configure --prefix=/usr/local/zlib
> > $ sudo make
> > $ sudo make check
> > $ sudo make install
> >
> >
> > $ cd hdf5-1.10.4
> > $ FC=gfortran F90=gfortran F77=gfortran ./configure 
> > --prefix=/usr/local/hdf5 --with-zlib=/usr/local/zlib --enable-hl
> > $ sudo make
> > $ sudo make check
> > $ sudo make install
> >
> >
> >
> >
> > $ cd netcdf-4.6.1
> > $ FC=gfortran F90=gfortran F77=gfortran ./configure 
> > --prefix=/usr/local/netcdf CPPFLAGS="-I/usr/local/zlib/include 
> > -I/usr/local/hdf5/include" LDFLAGS="-L/usr/local/zlib/lib 
> > -L/usr/local/hdf5/lib" --enable-netcdf4 --enable-large-file-tests
> > $ sudo make
> > $ sudo make check
> > $ sudo make install
> > ---------------------
> >
> > Then, it looks successful with some characters appear:
> >
> > 'Congratulations!'
> >
> > At last, I type 'make check' and it says:
> >
> >
> >
> >
> > $ make check
> >
> > Making check in include
> >
> > make[1]: Nothing to be done for `check'.
> >
> > Making check in h5_test
> >
> > /Applications/Xcode.app/Contents/Developer/usr/bin/make  tst_h_files 
> > tst_h_files2 tst_h_files4 tst_h_atts tst_h_atts3 tst_h_atts4 tst_h_vars 
> > tst_h_vars2 tst_h_vars3 tst_h_grps tst_h_compounds tst_h_compounds2 
> > tst_h_wrt_cmp tst_h_vl tst_h_opaques tst_h_strings tst_h_strings1 
> > tst_h_strings2 tst_h_ints tst_h_dimscales tst_h_dimscales1 tst_h_dimscales2 
> > tst_h_dimscales3 tst_h_enums tst_h_dimscales4
> >
> > make[2]: `tst_h_files' is up to date.
> >
> > make[2]: `tst_h_files2' is up to date.
> >
> > make[2]: `tst_h_files4' is up to date.
> >
> > make[2]: `tst_h_atts' is up to date.
> >
> > make[2]: `tst_h_atts3' is up to date.
> >
> > make[2]: `tst_h_atts4' is up to date.
> >
> > make[2]: `tst_h_vars' is up to date.
> >
> > make[2]: `tst_h_vars2' is up to date.
> >
> > make[2]: `tst_h_vars3' is up to date.
> >
> > make[2]: `tst_h_grps' is up to date.
> >
> > make[2]: `tst_h_compounds' is up to date.
> >
> > make[2]: `tst_h_compounds2' is up to date.
> >
> > make[2]: `tst_h_wrt_cmp' is up to date.
> >
> > make[2]: `tst_h_vl' is up to date.
> >
> > make[2]: `tst_h_opaques' is up to date.
> >
> > make[2]: `tst_h_strings' is up to date.
> >
> > make[2]: `tst_h_strings1' is up to date.
> >
> > make[2]: `tst_h_strings2' is up to date.
> >
> > make[2]: `tst_h_ints' is up to date.
> >
> > make[2]: `tst_h_dimscales' is up to date.
> >
> > make[2]: `tst_h_dimscales1' is up to date.
> >
> > make[2]: `tst_h_dimscales2' is up to date.
> >
> > make[2]: `tst_h_dimscales3' is up to date.
> >
> > make[2]: `tst_h_enums' is up to date.
> >
> > make[2]: `tst_h_dimscales4' is up to date.
> >
> > /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
> >
> > PASS: tst_h_files
> >
> > FAIL: tst_h_files2
> >
> > FAIL: tst_h_files4
> >
> > FAIL: tst_h_atts
> >
> > FAIL: tst_h_atts3
> >
> > FAIL: tst_h_atts4
> >
> > FAIL: tst_h_vars
> >
> > FAIL: tst_h_vars2
> >
> > FAIL: tst_h_vars3
> >
> > FAIL: tst_h_grps
> >
> > FAIL: tst_h_compounds
> >
> > FAIL: tst_h_compounds2
> >
> > FAIL: tst_h_wrt_cmp
> >
> > FAIL: tst_h_vl
> >
> > FAIL: tst_h_opaques
> >
> > FAIL: tst_h_strings
> >
> > FAIL: tst_h_strings1
> >
> > FAIL: tst_h_strings2
> >
> > FAIL: tst_h_ints
> >
> > FAIL: tst_h_dimscales
> >
> > FAIL: tst_h_dimscales1
> >
> > FAIL: tst_h_dimscales2
> >
> > FAIL: tst_h_dimscales3
> >
> > FAIL: tst_h_enums
> >
> > FAIL: tst_h_dimscales4
> >
> > ============================================================================
> >
> > Testsuite summary for netCDF 4.6.1
> >
> > ============================================================================
> >
> > # TOTAL: 25
> >
> > # PASS:  1
> >
> > # SKIP:  0
> >
> > # XFAIL: 0
> >
> > # FAIL:  24
> >
> > # XPASS: 0
> >
> > # ERROR: 0
> >
> > ============================================================================
> >
> > See h5_test/test-suite.log
> >
> > Please report to address@hidden
> >
> > ============================================================================
> >
> > make[3]: *** [test-suite.log] Error 1
> >
> > make[2]: *** [check-TESTS] Error 2
> >
> > make[1]: *** [check-am] Error 2
> >
> > make: *** [check-recursive] Error 1
> >
> >
> >
> >
> > I don't know how to solve this problem and The attachment is the 
> > 'test-suite.log' file.
> > Tanks!
> > Zhiyong Cao
> >
> >
> >
> >
> >
> 
> =Dennis Heimbigner
> Unidata
> 


Ticket Details
===================
Ticket ID: NGP-204424
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.