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

[netCDF #XXQ-277688]: bugs after compiling netcdf4



One point. You should not do the build using sudo.
The only command that requires sudo is the 'make install'


> Where did you get those instructions?
> 
> > I want  to install  netcdf4,but  I have tried many times, but failed.
> > so I want you cant provied the zlib,hdf5 and netcdf-4 Installation package 
> > which  tested well,
> > thank you
> > Hi experts,
> > I want to install netcdf4, so I downloaded zlib-1.2.6,hdf5-1.8.9 and 
> > netcdf-4.3.2 , and follow the steps below to install:
> > (1) install zlib
> > > Enter zlib's decompression directory, compile and install zlib, and enter 
> > > the following command:
> > > $ZDIR=/usr/local/
> > > $sudo ./configure --prefix=${ZDIR}
> > > $sudo make check
> > > (2)install hdf5
> > > Enter hdf5's decompression directory, compile and install zlib, and enter 
> > > the following command:
> > > $H5DIR=/usr/local/
> > > $ sudo ./configure --width-zlib=${ZDIR} --prefix=${H5DIR}
> > > $sudo make check
> > > $sudo make install
> > > (3)install netcdf4
> > > Enter hnetcdf4's decompression directory, compile and install zlib, and 
> > > enter the following command:
> > > $NCDIR=/usr/local/
> > > $ sudo CPPFLAGS=-I${H5DIR}/include LDFLAGS=-L${H5DIR}/lib ./configure 
> > > --prefix=${NCDIR}
> > > $sudo make check
> > But it reports:
> > Testsuite summary for netCDF4.3.2
> > TOTLA:10
> > PASS:9
> > SKIP:0
> > XFAIL:0
> > FAIL:1
> > XPASS:0
> > ERROR:0
> > the test-suite.log is in the attachment .
> >
> >
> > My computer operating system is CentOS 6.8,
> > I hope to get your help. and I'm looking forward for your answers! thank 
> > you very much.
> > Sincerely yours,
> > Oukee
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> =Dennis Heimbigner
> Unidata
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: XXQ-277688
Department: Support netCDF
Priority: High
Status: Open
===================
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.