Hi Franck,

On Tue, Oct 13, 2015 at 12:22 AM, houssen <[email protected]> wrote:
> Also, on Ubuntu when I "sudo apt-get install" zlib, it seems I get an
> autotools install, so CMake does not find the zlib install (missing
> Find*.cmake): this is why I tried to build from source and install ZLib /
> SZip (I use ZLIB / SZIP tarballs provided by
> www.hdfgroup.org/ftp/HDF5/releases/... as they have been patched to create
> Find*.cmake files at install time).


Firstly, you should follow Richard's updated correction to my message
in terms of the library that you need to get zlib.

IMHO, if CMake cannot find zlib, trying to install zlib from source is
perhaps the wrong way to go.  You're adding one more thing that you'll
need to compile.  You should instead be trying to figure out (a) if
you've installed zlib correctly and (b) why CMake cannot find it.  I
suspect the Find*.cmake for zlib is well-used and well-tested, so I
think it should be ok.

Of course, I don't know why there are HDF5 patched versions of
Find*.cmake for zlib...

Ray

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to