I am currently working on a official package of netcdf for cygwin. http://cygwin.com/ml/cygwin-apps/2011-03/msg00039.html Compilation and testing are more or less fine, with the normal tuning expected for building shared library on cygwin. the configuration I am using is: configure --enable-shared \ --enable-netcdf4 \ --enable-cxx-4 \ lt_cv_deplibs_check_method=pass_all \ LDFLAGS=-no-undefined with a small patch to allow dynamic c++ library. 1st question) at "make install" I noticed that the installed ./inst/usr/include/netcdf.h is a copy of ./build/libsrc4/netcdf.h that is "empty", and that is really suspect. The original file ./src/netcdf-4.1.1/libsrc4/netcdf.h is not empty at all is make incorrectly creating an empty libsrc4/netcdf.h in the build tree ? Should I as workaround, just copy libsrc4/netcdf.h to the installation tree ? 2nd question) are all this file expected to be found on the system "usr/include" ? ./inst/usr/include/ncAtt.h ./inst/usr/include/ncByte.h ./inst/usr/include/ncChar.h ./inst/usr/include/ncCheck.h ./inst/usr/include/ncCompoundType.h ./inst/usr/include/ncDim.h ./inst/usr/include/ncDouble.h ./inst/usr/include/ncEnumType.h ./inst/usr/include/ncException.h ./inst/usr/include/ncFile.h ./inst/usr/include/ncFloat.h ./inst/usr/include/ncGroup.h ./inst/usr/include/ncGroupAtt.h ./inst/usr/include/ncInt.h ./inst/usr/include/ncInt64.h ./inst/usr/include/ncOpaqueType.h ./inst/usr/include/ncShort.h ./inst/usr/include/ncString.h ./inst/usr/include/ncType.h ./inst/usr/include/ncUbyte.h ./inst/usr/include/ncUint.h ./inst/usr/include/ncUint64.h ./inst/usr/include/ncUshort.h ./inst/usr/include/ncvalues.h ./inst/usr/include/ncVar.h ./inst/usr/include/ncVarAtt.h ./inst/usr/include/ncVlenType.h ./inst/usr/include/netcdf ./inst/usr/include/netcdf.h ./inst/usr/include/netcdf.hh ./inst/usr/include/netcdf.inc ./inst/usr/include/NETCDF.mod ./inst/usr/include/netcdfcpp.h ./inst/usr/include/TYPESIZES.mod These flies seems more an example for application than header files ./inst/usr/include/netcdf ./inst/usr/include/ncAtt.h ./inst/usr/include/nc..... should they be located somewhere else ? Regards Marco
Attachment:
netcdf-4.1.1-1.src.patch
Description: Binary data
Attachment:
netcdf-4.1.1-1.package_list
Description: Binary data
netcdfgroup
archives: