anjaroesel / netcdf4-python

Automatically exported from code.google.com/p/netcdf4-python
Other
0 stars 0 forks source link

Cygwin build failure #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Attempting to build 1.0.5 on Cygwin x86 The following commands worked with 
1.0.4 (I just re-ran them to verify):

# Unpack netCDF4-1.0.4.tar.gz
export HDF5_DIR=/usr NETCDF4_DIR=/usr
python setup.py build

Substituting netCDF4-1.0.5.tar.gz I get

$ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 222, in <module>
    raise ValueError('no valid netcdf library found in %s' % lib_dirs)
ValueError: no valid netcdf library found in ['/usr/lib', '/usr/lib']

The netCDF library does exist as /usr/lib/libnetcdf.dll.a

Original issue reported on code.google.com by mark.h...@gmail.com on 7 Oct 2013 at 7:41

GoogleCodeExporter commented 8 years ago
Oops, sorry, this is almost the same as 200.

For what it's worth, the same problem occurs on Cygwin x86 as on x86_64

Original comment by mark.h...@gmail.com on 7 Oct 2013 at 8:54

GoogleCodeExporter commented 8 years ago
Can you try the new setup.py from SVN and let me know if that fixes it?

Original comment by whitaker.jeffrey@gmail.com on 8 Oct 2013 at 3:25

GoogleCodeExporter commented 8 years ago
I presume the new setup.py is the same as the one you attached to a post on 
issue 200? I tried that and it does work. Thank you and sorry for the duplicate 
issue.

Original comment by mark.h...@gmail.com on 8 Oct 2013 at 4:32

GoogleCodeExporter commented 8 years ago

Original comment by whitaker.jeffrey@gmail.com on 26 Feb 2014 at 2:04