public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Can't install netCDF4
@ 2011-11-28 14:11 Edvardsen Kåre
  2011-11-28 15:17 ` Tomas Staig
  0 siblings, 1 reply; 5+ messages in thread
From: Edvardsen Kåre @ 2011-11-28 14:11 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

I need to install the netCDF4 package which is the Python/numpy
interface to netCDF
(see http://code.google.com/p/netcdf4-python/ )

I've tried to install version 0.9.4 and later, but they all give pretty
much the same error message (attached).
For me this looks like it is not ment to work under cygwin, but if
anyone can help me out, I would really appreciate it.

Reards,
Kåre


[-- Attachment #2: install_summary.txt --]
[-- Type: text/plain, Size: 29124 bytes --]


HDF5_DIR environment variable not set, checking some standard locations ..
checking /home/kare ...
checking /usr/local ...
checking /sw ...
checking /opt ...
checking /opt/local ...
checking /usr ...
HDF5 found in /usr

NETCDF4_DIR environment variable not set, checking standard locations.. 
checking /home/kare ...
checking /usr/local ...
checking /sw ...
checking /opt ...
checking /opt/local ...
checking /usr ...
netCDF4 found in /usr
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "netCDF4" sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'netCDF4' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-I/usr/include -I/usr/include -I/usr/lib/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c'
gcc: netCDF4.c
netCDF4.c: In function ‘__pyx_pf_7netCDF4_6getlibversion’:
netCDF4.c:2513:21: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_att_names’:
netCDF4.c:8696:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:8764:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_att’:
netCDF4.c:8928:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:8956:10: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:8956:10: note: each undeclared identifier is reported only once for each function it appears in
netCDF4.c:9019:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:9334:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_format’:
netCDF4.c:9687:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__set_att’:
netCDF4.c:10221:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:10404:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_types’:
netCDF4.c:10494:3: warning: implicit declaration of function ‘nc_inq_typeids’
netCDF4.c:10513:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:10612:7: warning: implicit declaration of function ‘nc_inq_user_type’
netCDF4.c:10631:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:10666:14: error: ‘NC_COMPOUND’ undeclared (first use in this function)
netCDF4.c:10802:14: error: ‘NC_VLEN’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_dims’:
netCDF4.c:11034:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11106:7: warning: implicit declaration of function ‘nc_inq_dimids’
netCDF4.c:11125:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11209:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_grps’:
netCDF4.c:11353:3: warning: implicit declaration of function ‘nc_inq_grps’
netCDF4.c:11372:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11456:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11492:7: warning: implicit declaration of function ‘nc_inq_grpname’
netCDF4.c:11511:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_vars’:
netCDF4.c:11707:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11788:7: warning: implicit declaration of function ‘nc_inq_varids’
netCDF4.c:11807:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11900:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11963:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:12012:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:12093:41: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:12147:20: error: ‘NC_COMPOUND’ undeclared (first use in this function)
netCDF4.c:12245:20: error: ‘NC_VLEN’ undeclared (first use in this function)
netCDF4.c:12411:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:12460:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset___init__’:
netCDF4.c:13119:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_1close’:
netCDF4.c:13376:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_2sync’:
netCDF4.c:13453:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_5set_fill_on’:
netCDF4.c:13589:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_6set_fill_off’:
netCDF4.c:13667:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_8renameDimension’:
netCDF4.c:13994:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_12renameVariable’:
netCDF4.c:14884:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_18delncattr’:
netCDF4.c:15447:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_5Group___init__’:
netCDF4.c:16522:5: warning: implicit declaration of function ‘nc_def_grp’
netCDF4.c:16541:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:16603:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_9Dimension___init__’:
netCDF4.c:17093:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_9Dimension_1__len__’:
netCDF4.c:17173:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_9Dimension_2isunlimited’:
netCDF4.c:17265:5: warning: implicit declaration of function ‘nc_inq_unlimdims’
netCDF4.c:17284:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:17365:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable___init__’:
netCDF4.c:18689:7: warning: implicit declaration of function ‘nc_get_var_chunk_cache’
netCDF4.c:18708:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:18744:7: warning: implicit declaration of function ‘nc_set_var_chunk_cache’
netCDF4.c:18763:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:18827:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:18916:11: warning: implicit declaration of function ‘nc_def_var_deflate’
netCDF4.c:18974:22: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19013:9: warning: implicit declaration of function ‘nc_def_var_fletcher32’
netCDF4.c:19057:22: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19105:33: error: ‘NC_CONTIGUOUS’ undeclared (first use in this function)
netCDF4.c:19143:33: error: ‘NC_CHUNKED’ undeclared (first use in this function)
netCDF4.c:19280:11: warning: implicit declaration of function ‘nc_def_var_chunking’
netCDF4.c:19333:24: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19378:9: warning: implicit declaration of function ‘nc_def_var_endian’
netCDF4.c:19378:166: error: ‘NC_ENDIAN_LITTLE’ undeclared (first use in this function)
netCDF4.c:19402:166: error: ‘NC_ENDIAN_BIG’ undeclared (first use in this function)
netCDF4.c:19487:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19543:9: warning: implicit declaration of function ‘nc_def_var_fill’
netCDF4.c:19587:22: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19847:16: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_1_getdims’:
netCDF4.c:19971:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:20016:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:20082:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_6delncattr’:
netCDF4.c:20886:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_7filters’:
netCDF4.c:21013:3: warning: implicit declaration of function ‘nc_inq_var_deflate’
netCDF4.c:21032:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:21058:3: warning: implicit declaration of function ‘nc_inq_var_fletcher32’
netCDF4.c:21077:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_8endian’:
netCDF4.c:21270:3: warning: implicit declaration of function ‘nc_inq_var_endian’
netCDF4.c:21289:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:21324:10: error: ‘NC_ENDIAN_LITTLE’ undeclared (first use in this function)
netCDF4.c:21346:10: error: ‘NC_ENDIAN_BIG’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_9chunking’:
netCDF4.c:21469:3: warning: implicit declaration of function ‘nc_inq_var_chunking’
netCDF4.c:21488:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_10get_var_chunk_cache’:
netCDF4.c:21670:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_11set_var_chunk_cache’:
netCDF4.c:22020:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_17_assign_vlen’:
netCDF4.c:23950:3: error: ‘nc_vlen_t’ undeclared (first use in this function)
netCDF4.c:23950:14: error: ‘__pyx_v_vldata’ undeclared (first use in this function)
netCDF4.c:24632:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:24733:35: error: expected expression before ‘)’ token
netCDF4.c:24779:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_23_put’:
netCDF4.c:26223:3: error: ‘nc_vlen_t’ undeclared (first use in this function)
netCDF4.c:26223:14: error: ‘__pyx_v_vldata’ undeclared (first use in this function)
netCDF4.c:26798:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:27065:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:27112:37: error: expected expression before ‘)’ token
netCDF4.c:27304:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_24_get’:
netCDF4.c:27378:3: error: ‘nc_vlen_t’ undeclared (first use in this function)
netCDF4.c:27378:14: error: ‘__pyx_v_vldata’ undeclared (first use in this function)
netCDF4.c:27909:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:28103:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:28200:37: error: expected expression before ‘)’ token
netCDF4.c:28277:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__def_compound’:
netCDF4.c:29404:3: warning: implicit declaration of function ‘nc_def_compound’
netCDF4.c:29423:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:29862:7: warning: implicit declaration of function ‘nc_insert_compound’
netCDF4.c:29881:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:29993:21: warning: assignment discards qualifiers from pointer target type
netCDF4.c:30199:11: warning: implicit declaration of function ‘nc_insert_array_compound’
netCDF4.c:30218:23: warning: assignment discards qualifiers from pointer target type
netCDF4.c:30320:23: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__read_compound’:
netCDF4.c:30926:3: warning: implicit declaration of function ‘nc_inq_compound’
netCDF4.c:30945:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:31059:5: warning: implicit declaration of function ‘nc_inq_compound_field’
netCDF4.c:31078:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:31289:40: error: ‘NC_COMPOUND’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_f_7netCDF4__def_vlen’:
netCDF4.c:31950:21: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:32055:7: warning: implicit declaration of function ‘nc_def_vlen’
netCDF4.c:32074:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__read_vlen’:
netCDF4.c:32185:33: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:32224:5: warning: implicit declaration of function ‘nc_inq_vlen’
netCDF4.c:32243:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘initnetCDF4’:
netCDF4.c:36643:30: error: ‘NC_UBYTE’ undeclared (first use in this function)
netCDF4.c:36667:30: error: ‘NC_USHORT’ undeclared (first use in this function)
netCDF4.c:36691:30: error: ‘NC_UINT’ undeclared (first use in this function)
netCDF4.c:36703:30: error: ‘NC_INT64’ undeclared (first use in this function)
netCDF4.c:36715:30: error: ‘NC_UINT64’ undeclared (first use in this function)
netCDF4.c:36776:30: error: ‘NC_FILL_UBYTE’ undeclared (first use in this function)
netCDF4.c:36800:30: error: ‘NC_FILL_USHORT’ undeclared (first use in this function)
netCDF4.c:36824:39: error: ‘NC_FILL_UINT’ undeclared (first use in this function)
netCDF4.c:36836:35: error: ‘NC_FILL_INT64’ undeclared (first use in this function)
netCDF4.c:36848:43: error: ‘NC_FILL_UINT64’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_pf_7netCDF4_6getlibversion’:
netCDF4.c:2513:21: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_att_names’:
netCDF4.c:8696:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:8764:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_att’:
netCDF4.c:8928:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:8956:10: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:8956:10: note: each undeclared identifier is reported only once for each function it appears in
netCDF4.c:9019:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:9334:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_format’:
netCDF4.c:9687:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__set_att’:
netCDF4.c:10221:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:10404:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_types’:
netCDF4.c:10494:3: warning: implicit declaration of function ‘nc_inq_typeids’
netCDF4.c:10513:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:10612:7: warning: implicit declaration of function ‘nc_inq_user_type’
netCDF4.c:10631:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:10666:14: error: ‘NC_COMPOUND’ undeclared (first use in this function)
netCDF4.c:10802:14: error: ‘NC_VLEN’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_dims’:
netCDF4.c:11034:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11106:7: warning: implicit declaration of function ‘nc_inq_dimids’
netCDF4.c:11125:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11209:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_grps’:
netCDF4.c:11353:3: warning: implicit declaration of function ‘nc_inq_grps’
netCDF4.c:11372:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11456:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11492:7: warning: implicit declaration of function ‘nc_inq_grpname’
netCDF4.c:11511:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__get_vars’:
netCDF4.c:11707:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11788:7: warning: implicit declaration of function ‘nc_inq_varids’
netCDF4.c:11807:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11900:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:11963:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:12012:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:12093:41: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:12147:20: error: ‘NC_COMPOUND’ undeclared (first use in this function)
netCDF4.c:12245:20: error: ‘NC_VLEN’ undeclared (first use in this function)
netCDF4.c:12411:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:12460:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset___init__’:
netCDF4.c:13119:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_1close’:
netCDF4.c:13376:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_2sync’:
netCDF4.c:13453:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_5set_fill_on’:
netCDF4.c:13589:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_6set_fill_off’:
netCDF4.c:13667:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_8renameDimension’:
netCDF4.c:13994:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_12renameVariable’:
netCDF4.c:14884:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_7Dataset_18delncattr’:
netCDF4.c:15447:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_5Group___init__’:
netCDF4.c:16522:5: warning: implicit declaration of function ‘nc_def_grp’
netCDF4.c:16541:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:16603:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_9Dimension___init__’:
netCDF4.c:17093:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_9Dimension_1__len__’:
netCDF4.c:17173:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_9Dimension_2isunlimited’:
netCDF4.c:17265:5: warning: implicit declaration of function ‘nc_inq_unlimdims’
netCDF4.c:17284:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:17365:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable___init__’:
netCDF4.c:18689:7: warning: implicit declaration of function ‘nc_get_var_chunk_cache’
netCDF4.c:18708:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:18744:7: warning: implicit declaration of function ‘nc_set_var_chunk_cache’
netCDF4.c:18763:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:18827:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:18916:11: warning: implicit declaration of function ‘nc_def_var_deflate’
netCDF4.c:18974:22: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19013:9: warning: implicit declaration of function ‘nc_def_var_fletcher32’
netCDF4.c:19057:22: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19105:33: error: ‘NC_CONTIGUOUS’ undeclared (first use in this function)
netCDF4.c:19143:33: error: ‘NC_CHUNKED’ undeclared (first use in this function)
netCDF4.c:19280:11: warning: implicit declaration of function ‘nc_def_var_chunking’
netCDF4.c:19333:24: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19378:9: warning: implicit declaration of function ‘nc_def_var_endian’
netCDF4.c:19378:166: error: ‘NC_ENDIAN_LITTLE’ undeclared (first use in this function)
netCDF4.c:19402:166: error: ‘NC_ENDIAN_BIG’ undeclared (first use in this function)
netCDF4.c:19487:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19543:9: warning: implicit declaration of function ‘nc_def_var_fill’
netCDF4.c:19587:22: warning: assignment discards qualifiers from pointer target type
netCDF4.c:19847:16: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_1_getdims’:
netCDF4.c:19971:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:20016:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:20082:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_6delncattr’:
netCDF4.c:20886:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_7filters’:
netCDF4.c:21013:3: warning: implicit declaration of function ‘nc_inq_var_deflate’
netCDF4.c:21032:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:21058:3: warning: implicit declaration of function ‘nc_inq_var_fletcher32’
netCDF4.c:21077:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_8endian’:
netCDF4.c:21270:3: warning: implicit declaration of function ‘nc_inq_var_endian’
netCDF4.c:21289:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:21324:10: error: ‘NC_ENDIAN_LITTLE’ undeclared (first use in this function)
netCDF4.c:21346:10: error: ‘NC_ENDIAN_BIG’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_9chunking’:
netCDF4.c:21469:3: warning: implicit declaration of function ‘nc_inq_var_chunking’
netCDF4.c:21488:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_10get_var_chunk_cache’:
netCDF4.c:21670:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_11set_var_chunk_cache’:
netCDF4.c:22020:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_17_assign_vlen’:
netCDF4.c:23950:3: error: ‘nc_vlen_t’ undeclared (first use in this function)
netCDF4.c:23950:14: error: ‘__pyx_v_vldata’ undeclared (first use in this function)
netCDF4.c:24632:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:24733:35: error: expected expression before ‘)’ token
netCDF4.c:24779:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_23_put’:
netCDF4.c:26223:3: error: ‘nc_vlen_t’ undeclared (first use in this function)
netCDF4.c:26223:14: error: ‘__pyx_v_vldata’ undeclared (first use in this function)
netCDF4.c:26798:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:27065:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:27112:37: error: expected expression before ‘)’ token
netCDF4.c:27304:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_24_get’:
netCDF4.c:27378:3: error: ‘nc_vlen_t’ undeclared (first use in this function)
netCDF4.c:27378:14: error: ‘__pyx_v_vldata’ undeclared (first use in this function)
netCDF4.c:27909:18: warning: assignment discards qualifiers from pointer target type
netCDF4.c:28103:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c:28200:37: error: expected expression before ‘)’ token
netCDF4.c:28277:20: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__def_compound’:
netCDF4.c:29404:3: warning: implicit declaration of function ‘nc_def_compound’
netCDF4.c:29423:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:29862:7: warning: implicit declaration of function ‘nc_insert_compound’
netCDF4.c:29881:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c:29993:21: warning: assignment discards qualifiers from pointer target type
netCDF4.c:30199:11: warning: implicit declaration of function ‘nc_insert_array_compound’
netCDF4.c:30218:23: warning: assignment discards qualifiers from pointer target type
netCDF4.c:30320:23: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__read_compound’:
netCDF4.c:30926:3: warning: implicit declaration of function ‘nc_inq_compound’
netCDF4.c:30945:15: warning: assignment discards qualifiers from pointer target type
netCDF4.c:31059:5: warning: implicit declaration of function ‘nc_inq_compound_field’
netCDF4.c:31078:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c:31289:40: error: ‘NC_COMPOUND’ undeclared (first use in this function)
netCDF4.c: In function ‘__pyx_f_7netCDF4__def_vlen’:
netCDF4.c:31950:21: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:32055:7: warning: implicit declaration of function ‘nc_def_vlen’
netCDF4.c:32074:19: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘__pyx_f_7netCDF4__read_vlen’:
netCDF4.c:32185:33: error: ‘NC_STRING’ undeclared (first use in this function)
netCDF4.c:32224:5: warning: implicit declaration of function ‘nc_inq_vlen’
netCDF4.c:32243:17: warning: assignment discards qualifiers from pointer target type
netCDF4.c: In function ‘initnetCDF4’:
netCDF4.c:36643:30: error: ‘NC_UBYTE’ undeclared (first use in this function)
netCDF4.c:36667:30: error: ‘NC_USHORT’ undeclared (first use in this function)
netCDF4.c:36691:30: error: ‘NC_UINT’ undeclared (first use in this function)
netCDF4.c:36703:30: error: ‘NC_INT64’ undeclared (first use in this function)
netCDF4.c:36715:30: error: ‘NC_UINT64’ undeclared (first use in this function)
netCDF4.c:36776:30: error: ‘NC_FILL_UBYTE’ undeclared (first use in this function)
netCDF4.c:36800:30: error: ‘NC_FILL_USHORT’ undeclared (first use in this function)
netCDF4.c:36824:39: error: ‘NC_FILL_UINT’ undeclared (first use in this function)
netCDF4.c:36836:35: error: ‘NC_FILL_INT64’ undeclared (first use in this function)
netCDF4.c:36848:43: error: ‘NC_FILL_UINT64’ undeclared (first use in this function)
error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/include -I/usr/lib/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c netCDF4.c -o build/temp.cygwin-1.7.9-i686-2.6/netCDF4.o" failed with exit status 1

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't install netCDF4
  2011-11-28 14:11 Can't install netCDF4 Edvardsen Kåre
@ 2011-11-28 15:17 ` Tomas Staig
  2011-11-29 14:31   ` marco atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Staig @ 2011-11-28 15:17 UTC (permalink / raw)
  To: cygwin

Edvardsen KÃ¥re wrote:
> I need to install the netCDF4 package which is the Python/numpy
> interface to netCDF
> (see http://code.google.com/p/netcdf4-python/ )
>
> I've tried to install version 0.9.4 and later, but they all give pretty
> much the same error message (attached).
> For me this looks like it is not ment to work under cygwin, but if
> anyone can help me out, I would really appreciate it.
>
> Reards,
> KÃ¥re
>
>   
> ------------------------------------------------------------------------
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
I don't really use netCDF, but I read about a similar situation in here: 
http://code.google.com/p/netcdf4-python/issues/detail?id=2

So it seems you require the flag '--enable-netcdf-4' when calling the 
configure script for netcdf-4 or you haven't installed it at all. I 
would recommend reading the building documentation for netcdf4-python 
[1] and following the steps in detail. Specifically installing HDF5 and 
netcdf-4 before attempting to build netcdf4-python.

Hope it helps,
Tomas.

[1]: http://netcdf4-python.googlecode.com/svn/trunk/README

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't install netCDF4
  2011-11-28 15:17 ` Tomas Staig
@ 2011-11-29 14:31   ` marco atzeri
  0 siblings, 0 replies; 5+ messages in thread
From: marco atzeri @ 2011-11-29 14:31 UTC (permalink / raw)
  To: cygwin

On 11/28/2011 3:26 PM, Tomas Staig wrote:
> Edvardsen KÃ¥re wrote:
>> I need to install the netCDF4 package which is the Python/numpy
>> interface to netCDF
>> (see http://code.google.com/p/netcdf4-python/ )
>>
>> I've tried to install version 0.9.4 and later, but they all give pretty
>> much the same error message (attached).
>> For me this looks like it is not ment to work under cygwin, but if
>> anyone can help me out, I would really appreciate it.
>>
>> Reards,
>> KÃ¥re
>>
>> ------------------------------------------------------------------------
>>
>> --
>> Problem reports: http://cygwin.com/problems.html
>> FAQ: http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> I don't really use netCDF, but I read about a similar situation in here:
> http://code.google.com/p/netcdf4-python/issues/detail?id=2
>
> So it seems you require the flag '--enable-netcdf-4' when calling the
> configure script for netcdf-4 or you haven't installed it at all. I
> would recommend reading the building documentation for netcdf4-python
> [1] and following the steps in detail. Specifically installing HDF5 and
> netcdf-4 before attempting to build netcdf4-python.

for development he needs the dev packages:
libhdf5-devel and libnetcdf-devel

pay attention that I upgraded hdf5 to 1.8.8
while netcdf-4.1.1-2 was built against 1.8.6 so there could be
a compatibility problem if both are really needed  at the same time.

I will look to upgrade netcdf to 4.1.3 with hdf5-1.8.8

>
> Hope it helps,
> Tomas.
>
> [1]: http://netcdf4-python.googlecode.com/svn/trunk/README

Regards

Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't install netCDF4
  2011-11-29 14:54 Edvardsen Kåre
@ 2011-11-29 15:17 ` marco atzeri
  0 siblings, 0 replies; 5+ messages in thread
From: marco atzeri @ 2011-11-29 15:17 UTC (permalink / raw)
  To: cygwin

On 11/29/2011 3:30 PM, Edvardsen KÃ¥re wrote:
> So, I followed the more detailed (but not so intuitive) descriptions for
> installing all hdf5, netcdf-4, and netCDF4, latest stable versions. Now,
> I bump into a different problem which seem to be related to libcurl
> (errorlog.txt attached). Can't quite figure out what's wrong, but I
> guess whatever libcurl-related packages I've installed that comes with
> cygwin is not enough?

the package is called libcurl-devel

>
> Regards,
> KÃ¥re


for the netcdf-4.1.1 cygwin package, the configuration was

configure  --enable-shared \
            --enable-netcdf4 \
            --enable-cxx-4 \
            lt_cv_deplibs_check_method=pass_all \
            LDFLAGS=-no-undefined

probably the missing "LDFLAGS=-no-undefined" is your problem,
it is a very typical issue when porting package to cygwin.


Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't install netCDF4
@ 2011-11-29 14:54 Edvardsen Kåre
  2011-11-29 15:17 ` marco atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Edvardsen Kåre @ 2011-11-29 14:54 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]

So, I followed the more detailed (but not so intuitive) descriptions for
installing all hdf5, netcdf-4, and netCDF4, latest stable versions. Now,
I bump into a different problem which seem to be related to libcurl
(errorlog.txt attached). Can't quite figure out what's wrong, but I
guess whatever libcurl-related packages I've installed that comes with
cygwin is not enough?

Regards,
Kåre

>         Edvardsen Kåre wrote:
>         > I need to install the netCDF4 package which is the
>         Python/numpy
>         > interface to netCDF
>         > (see http://code.google.com/p/netcdf4-python/ )
>         >
>         > I've tried to install version 0.9.4 and later, but they all
>         give pretty
>         > much the same error message (attached).
>         > For me this looks like it is not ment to work under cygwin,
>         but if
>         > anyone can help me out, I would really appreciate it.
>         >
>         > Reards,
>         > Kåre
>         >
>         >   
>         >
>         ------------------------------------------------------------------------
>         >
>         > --
>         > Problem reports:       http://cygwin.com/problems.html
>         > FAQ:                   http://cygwin.com/faq/
>         > Documentation:         http://cygwin.com/docs.html
>         > Unsubscribe info:
>         http://cygwin.com/ml/#unsubscribe-simple
>         I don't really use netCDF, but I read about a similar
>         situation in here: 
>         http://code.google.com/p/netcdf4-python/issues/detail?id=2
>         
>         So it seems you require the flag '--enable-netcdf-4' when
>         calling the 
>         configure script for netcdf-4 or you haven't installed it at
>         all. I 
>         would recommend reading the building documentation for
>         netcdf4-python 
>         [1] and following the steps in detail. Specifically installing
>         HDF5 and 
>         netcdf-4 before attempting to build netcdf4-python.
>         
>         Hope it helps,
>         Tomas.
>         
>         [1]: http://netcdf4-python.googlecode.com/svn/trunk/README
>         

[-- Attachment #2: errorlog.txt --]
[-- Type: text/plain, Size: 9655 bytes --]


HDF5_DIR environment variable not set, checking some standard locations ..
checking /home/kare ...
checking /usr/local ...
HDF5 found in /usr/local

NETCDF4_DIR environment variable not set, checking standard locations.. 
checking /home/kare ...
checking /usr/local ...
netCDF4 found in /usr/local
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "netCDF4" sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'netCDF4' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-I/usr/local/include -I/usr/local/include -I/usr/lib/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c'
gcc: netCDF4.c
netCDF4.c: In function ‘__pyx_f_7netCDF4__find_cmptype’:
netCDF4.c:34120:11: warning: ‘__pyx_v_xtype’ may be used uninitialized in this function
netCDF4.c: In function ‘__pyx_pf_7netCDF4_8Variable_10chunking’:
netCDF4.c:24458:42: warning: ‘__pyx_v_ndims’ may be used uninitialized in this function
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.9-i686-2.6/netCDF4.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib/python2.6/config -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -lpython2.6 -o build/lib.cygwin-1.7.9-i686-2.6/netCDF4.dll
/usr/local/lib/libnetcdf.a(liboc_la-ocinternal.o): In function `ocinternalinitialize':
/home/kare/src/netcdf-4.1.3/oc/ocinternal.c:142: undefined reference to `_curl_version_info'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchhttpcode':
/home/kare/src/netcdf-4.1.3/oc/http.c:27: undefined reference to `_curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl_file':
/home/kare/src/netcdf-4.1.3/oc/http.c:41: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:46: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:79: undefined reference to `_curl_easy_strerror'
/home/kare/src/netcdf-4.1.3/oc/http.c:51: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:56: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:60: undefined reference to `_curl_easy_perform'
/home/kare/src/netcdf-4.1.3/oc/http.c:74: undefined reference to `_curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl':
/home/kare/src/netcdf-4.1.3/oc/http.c:91: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:96: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:133: undefined reference to `_curl_easy_strerror'
/home/kare/src/netcdf-4.1.3/oc/http.c:101: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:106: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:108: undefined reference to `_curl_easy_perform'
/home/kare/src/netcdf-4.1.3/oc/http.c:119: undefined reference to `_curl_easy_getinfo'
/home/kare/src/netcdf-4.1.3/oc/http.c:111: undefined reference to `_curl_easy_strerror'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlopen':
/home/kare/src/netcdf-4.1.3/oc/http.c:230: undefined reference to `_curl_easy_init'
/home/kare/src/netcdf-4.1.3/oc/http.c:234: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:238: undefined reference to `_curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchlastmodified':
/home/kare/src/netcdf-4.1.3/oc/http.c:261: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:266: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:267: undefined reference to `_curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-http.o):/home/kare/src/netcdf-4.1.3/oc/http.c:268: more undefined references to `_curl_easy_setopt' follow
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchlastmodified':
/home/kare/src/netcdf-4.1.3/oc/http.c:273: undefined reference to `_curl_easy_perform'
/home/kare/src/netcdf-4.1.3/oc/http.c:282: undefined reference to `_curl_easy_strerror'
/home/kare/src/netcdf-4.1.3/oc/http.c:276: undefined reference to `_curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlclose':
/home/kare/src/netcdf-4.1.3/oc/http.c:251: undefined reference to `_curl_easy_cleanup'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function `ocset_curl_flags':
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:63: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:65: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:36: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:41: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:46: undefined reference to `_curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o):/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:57: more undefined references to `_curl_easy_setopt' follow
collect2: ld returned 1 exit status
/usr/local/lib/libnetcdf.a(liboc_la-ocinternal.o): In function `ocinternalinitialize':
/home/kare/src/netcdf-4.1.3/oc/ocinternal.c:142: undefined reference to `_curl_version_info'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchhttpcode':
/home/kare/src/netcdf-4.1.3/oc/http.c:27: undefined reference to `_curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl_file':
/home/kare/src/netcdf-4.1.3/oc/http.c:41: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:46: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:79: undefined reference to `_curl_easy_strerror'
/home/kare/src/netcdf-4.1.3/oc/http.c:51: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:56: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:60: undefined reference to `_curl_easy_perform'
/home/kare/src/netcdf-4.1.3/oc/http.c:74: undefined reference to `_curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl':
/home/kare/src/netcdf-4.1.3/oc/http.c:91: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:96: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:133: undefined reference to `_curl_easy_strerror'
/home/kare/src/netcdf-4.1.3/oc/http.c:101: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:106: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:108: undefined reference to `_curl_easy_perform'
/home/kare/src/netcdf-4.1.3/oc/http.c:119: undefined reference to `_curl_easy_getinfo'
/home/kare/src/netcdf-4.1.3/oc/http.c:111: undefined reference to `_curl_easy_strerror'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlopen':
/home/kare/src/netcdf-4.1.3/oc/http.c:230: undefined reference to `_curl_easy_init'
/home/kare/src/netcdf-4.1.3/oc/http.c:234: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:238: undefined reference to `_curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchlastmodified':
/home/kare/src/netcdf-4.1.3/oc/http.c:261: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:266: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/http.c:267: undefined reference to `_curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-http.o):/home/kare/src/netcdf-4.1.3/oc/http.c:268: more undefined references to `_curl_easy_setopt' follow
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchlastmodified':
/home/kare/src/netcdf-4.1.3/oc/http.c:273: undefined reference to `_curl_easy_perform'
/home/kare/src/netcdf-4.1.3/oc/http.c:282: undefined reference to `_curl_easy_strerror'
/home/kare/src/netcdf-4.1.3/oc/http.c:276: undefined reference to `_curl_easy_getinfo'
/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlclose':
/home/kare/src/netcdf-4.1.3/oc/http.c:251: undefined reference to `_curl_easy_cleanup'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function `ocset_curl_flags':
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:63: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:65: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:36: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:41: undefined reference to `_curl_easy_setopt'
/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:46: undefined reference to `_curl_easy_setopt'
/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o):/home/kare/src/netcdf-4.1.3/oc/curlfunctions.c:57: more undefined references to `_curl_easy_setopt' follow
collect2: ld returned 1 exit status
error: Command "gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.9-i686-2.6/netCDF4.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib/python2.6/config -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -lpython2.6 -o build/lib.cygwin-1.7.9-i686-2.6/netCDF4.dll" failed with exit status 1

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-29 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 14:11 Can't install netCDF4 Edvardsen Kåre
2011-11-28 15:17 ` Tomas Staig
2011-11-29 14:31   ` marco atzeri
2011-11-29 14:54 Edvardsen Kåre
2011-11-29 15:17 ` marco atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).