problems building with zlib

I have compiled zlib myself using cmake. Strange is, it orders me to
REMOVE zconf.h from the source tree, saying that cmake has generated
one for me in the build tree. Fine. But now compiling the latest hdf5
with such zlib zconf.h can not be found during building.
Proposed solution: define a variable like ZLIB_CONFIGURE_DIR along
with ZLIB_INCLUDE_DIR and ZLIB_LIBRARY.

Dominik

Dominik,
    If you are using the CMake file distributed with the library, it assumes that you will be installing it into a common location. In the latest HDF5 code repository I build zlib as an external project and have added commands to move the generated files (including zconf.h) to a location accessible by the HDF5 build commands.

Allen

···

I have compiled zlib myself using cmake. Strange is, it orders me to
REMOVE zconf.h from the source tree, saying that cmake has generated
one for me in the build tree. Fine. But now compiling the latest hdf5
with such zlib zconf.h can not be found during building.
Proposed solution: define a variable like ZLIB_CONFIGURE_DIR along
with ZLIB_INCLUDE_DIR and ZLIB_LIBRARY.

Dominik

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org