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

[netCDF #FYG-872401]: I_have_meet_2_problems_when_installing_NetCDF4 THANK_YOU



Hello,

Can you please provide the `config.log` and `test-suite.log` files generated 
when you run configure and make check, respectively? This will provide 
information I can use to try to solve this issue.

Thanks, have a great day!

-Ward


> NO.1
> 
> before installation, ./configure always tell me :
> 
> > configure: error: Can't find or link to the hdf5 library. Use
> > --disable-netcdf-4, or see config.log for errors.
> 
> I have google it,  a lots people meet this like me , someone said I should
> use :
> 
> > LDFLAGS=-L/opt/local/lib
> > CPPFLAGS=-I/opt/local/include
> 
> I'm sure I have install hdf5 in the position but it seems not work,so
> I have to install it with
> 
> > --disable-netcdf-4
> 
> then I use
> 
> > make check
> 
> there is 1 FAIL in the summary, it said this in the test-suite.log
> 
> > nc_put_vara_double:NetCDF:Operation not allowed in define mode
> 
> this is the information of my machine
> 
> > uname -m = x86_64
> > uname -r = 3.16.0-30-generic
> > uname -s = Linux
> > uname -v = #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015
> >
> > # NetCDF C Configuration Summary
> > =============================>
> > # General
> > -------
> > NetCDF Version:            4.4.0
> > Configured On:             Tue Mar 29 20:15:52 CST 2016
> > Host System:               x86_64-unknown-linux-gnu
> > Build Directory:           /media/sf_GX/netcdf/netcdf-4.4.0
> > Install Prefix:            /usr/local
> >
> > # Compiling Options
> > -----------------
> > C Compiler:                /usr/bin/gcc
> > CFLAGS:                    -g -O2
> > CPPFLAGS:
> > LDFLAGS:
> > AM_CFLAGS:
> > AM_CPPFLAGS:
> > AM_LDFLAGS:
> > Shared Library:            yes
> > Static Library:            yes
> > Extra libraries:           -lm -lz -lcurl
> >
> > # Features
> > --------
> > NetCDF-2 API:              yes
> > HDF4 Support:              no
> > NetCDF-4 API:              no
> > NC-4 Parallel Support:     no
> > PNetCDF Support:           no
> > DAP Support:               yes
> > Diskless Support:          yes
> > MMap Support:              no
> > JNA Support:               no
> 
> THANK YOU AGAIN!!
> 
> 


Ticket Details
===================
Ticket ID: FYG-872401
Department: Support netCDF
Priority: Normal
Status: Closed