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

[netCDF #IYN-849218]: FAIL: nc_test



> Ok, I realize that I can live without HDF5, so I just used
> --disable-netcdf-4 option, and everything went fine. But now I'm having a
> problem building the Fortran version 4.2. I installed C libraries in
> default location /usr/local, but I still have this problem:
> 
> checking size of off_t... configure: error: in
> `/home/kon/source/netCDF/netcdf-fortran-4.2':
> configure: error: cannot compute sizeof (off_t)
> 
> I've attached the config.log file. Any help would be greatly appreciated!

The config.log file shows this:

  configure:19798: checking size of off_t
  configure:19803: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib 
conftest.c -lnetcdf  >&5
  configure:19803: $? = 0
  configure:19803: ./conftest
  ./conftest: error while loading shared libraries: libnetcdf.so.7: cannot open 
shared object file: No such file or directory

which looks like not setting 

  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

before running the configure script.  For more about the reasons
this is sometimes required, see:

   http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html

--Russ

> 2013/9/3 Unidata netCDF Support <address@hidden>
> 
> > Hi Konrad,
> >
> > > I'm trying to build netcdf-4.3.0 on openSUSE 11.3, and I have some
> > problems
> > > with it. An error occurred while 'make check' is running. This is what I
> > > see in terminal:
> > >
> > >
> > ============================================================================
> > > Testsuite summary for netCDF 4.3.0
> > >
> > ============================================================================
> > > # TOTAL: 12
> > > # PASS:  11
> > > # SKIP:  0
> > > # XFAIL: 0
> > > # FAIL:  1
> > > # XPASS: 0
> > > # ERROR: 0
> > >
> > ============================================================================
> > > See nc_test/test-suite.log
> > >
> > > make[3]: *** [test-suite.log] Error 1
> > > make[3]: Leaving directory
> > > `/work/kwisniew/netcdf-4.3.0/netcdf-4.3.0/nc_test'
> > > make[2]: *** [check-TESTS] Error 2
> > > make[2]: Leaving directory
> > > `/work/kwisniew/netcdf-4.3.0/netcdf-4.3.0/nc_test'
> > > make[1]: *** [check-am] Error 2
> > > make[1]: Leaving directory
> > > `/work/kwisniew/netcdf-4.3.0/netcdf-4.3.0/nc_test'
> > > make: *** [check-recursive] Error 1
> > >
> > > I'm trying to build it with gcc compiler. I have reinstalled the hdf5
> > > libraries, but I still got the same result.
> > > I attached test-suite.log to this mail. I have no idea how to solve this
> > > problem, so I will be grateful for any help.
> >
> > What version of HDF5 were you linking against?  It looks like the problem
> > may
> > be with HDF5.  You can tell the HDF5 version by looking at the
> > "libhdf5.settings"
> > file in the directory where libhdf5 is installed.
> >
> > We tested netCDF-4.3.0 against HDF5-1.8.10 and HDF5-1.8.11 successfully,
> > but
> > there may be problems with earlier versions.
> >
> > If that's not the problem, could you please send us the config.log you get
> > from running the netCDF configure script?
> >
> > --Russ
> >
> > Russ Rew                                         UCAR Unidata Program
> > address@hidden                      http://www.unidata.ucar.edu
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: IYN-849218
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
> >
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: IYN-849218
Department: Support netCDF
Priority: Normal
Status: Closed