This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Making NetCDF 4.2 legacy C++
- From: "DeTracey, Brendan" <Brendan dot DeTracey at dfo-mpo dot gc dot ca>
- To: <cygwin at cygwin dot com>
- Date: Thu, 28 Mar 2013 15:36:27 -0300
- Subject: Making NetCDF 4.2 legacy C++
Hi,
I am trying to install the NetCDF 4.2 legacy C++ libraries, which are
not available via setup.exe. Although I have installed everything HDF5
via setup.exe I get the following problem:
$ make
make all-recursive
make[1]: Entering directory `/home/detraceyb/netcdf-cxx-4.2'
Making all in cxx
make[2]: Entering directory `/home/detraceyb/netcdf-cxx-4.2/cxx'
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -version-number
4:2:0 -o libnetcdf_c++.la -rpath /usr/local/lib
libnetcdf_c___la-netcdf.lo libnetcdf_c___la-ncvalues.lo -lnetcdf
/usr/bin/grep: /usr/lib/libhdf5_hl.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libhdf5_hl.la: No such file or
directory
libtool: link: `/usr/lib/libhdf5_hl.la' is not a valid libtool archive
Makefile:364: recipe for target `libnetcdf_c++.la' failed
make[2]: *** [libnetcdf_c++.la] Error 1
make[2]: Leaving directory `/home/detraceyb/netcdf-cxx-4.2/cxx'
Makefile:311: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/detraceyb/netcdf-cxx-4.2'
Makefile:240: recipe for target `all' failed
make: *** [all] Error 2
$ ls /usr/lib/libhdf*
/usr/lib/libhdf5.a /usr/lib/libhdf5_cpp.a
/usr/lib/libhdf5_hl.dll.a*
/usr/lib/libhdf5.dll.a* /usr/lib/libhdf5_cpp.dll.a*
/usr/lib/libhdf5_hl_cpp.a
/usr/lib/libhdf5.settings /usr/lib/libhdf5_hl.a
/usr/lib/libhdf5_hl_cpp.dll.a*
Thanks,
Brendan
------------------------------------------
Brendan DeTracey
brendan.detraceyb@dfo-mpo.gc.ca
w:(902) 426-9727
3-31 VS Bedford Institute of Oceanography
Fisheries and Oceans
Dartmouth,NS
B2Y 4A2, Canada
--
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