Project

General

Profile

build difficulties with libs4cdo-0.0.10

Added by Rob Nicholas over 11 years ago

I have been unable to get libs4cdo-0.0.10 to build successfully on either RHEL 5 or OS X Lion. The error seems to occur when building NetCDF 4.2:

configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
make[2]: *** [netcdf-4.2] Error 1
make[1]: *** [config] Error 2
make: *** [libs4cdo] Error 2

*** ERROR -- ABORTING ***

I haven't made any changes to the Makefile or cdo.mk; libs4cdo-0.0.9 builds without any trouble. Have others run into this issue? Any idea what might be going on here?

Thanks,
Rob


Replies (7)

RE: build difficulties with libs4cdo-0.0.10 - Added by Ralf Mueller over 11 years ago

Could you please upload the config.log file?

RE: build difficulties with libs4cdo-0.0.10 - Added by Rob Nicholas over 11 years ago

config.log for netcdf-4.2 attached

RE: build difficulties with libs4cdo-0.0.10 - Added by Ronny Berndt over 11 years ago

Same issues for me to on Ubuntu 12.04 and OS X Lion.

I added the logs to! Maybe the $PREFIX in the Makefile is wrong? but changing it to build/lib doesn't solve the problem.

config.log (109 KB) config.log netCDF-4.2 log

RE: build difficulties with libs4cdo-0.0.10 - Added by Ralf Mueller over 11 years ago

I checked the current libs4cdo setup and recognized, that netcdf-4.2 changed its configure options. The location of hdf and szip has to be given by environment variables because --with-hdf5 and --with-szip have been removed completely. Please give the new uploaded cdo.mk a try and let me know about the result.

regards
ralf

cdo.mk (766 Bytes) cdo.mk

RE: build difficulties with libs4cdo-0.0.10 - Added by Rob Nicholas over 11 years ago

Different error this time, but still no luck. Output from the build and netcdf-4.2's config.log are attached.

RE: build difficulties with libs4cdo-0.0.10 - Added by Ralf Mueller over 11 years ago

Rob Nicholas wrote:

Different error this time, but still no luck. Output from the build and netcdf-4.2's config.log are attached.

doxygen is required for building the doc. Add '--disable-doxygen' to the $(NETCDF4)_CONFIGURE_OPTS and rerun it or install doxygen.

Please let me know, if it works, because I've never tried installing on MacOS!

RE: build difficulties with libs4cdo-0.0.10 - Added by Benjamin Lang over 11 years ago

I also had the same problem. However, it works with the new cdo.mk file and the installation of doxygen...

    (1-7/7)