On Thu, Aug 7, 2014 at 1:33 AM, Syed Ahsan Ali Bokhari <[email protected]> wrote:
> > I have tried different versions of HDF but compilation fails for all. > Please have a look at attcched log files. Following are the commands I use > to compile > Unless you have specific software that requires an older version of the hdf5 libraries I suggest you spend less time trying old versions and more time investigating the problems building the current version. Otherwise you end up rediscovering bugs that have been fixed in more recent hdf5 versions. You appear to have installed gcc-4.9.1. Providing a complete development environment for Red Hat systems requires more than just installing the compiler. RH has done this work for you with the devtoolset software collections. I have been using the devtoolset compilers to build large systems that use hdf5 libraries with few problems and excellent reliability in use. You can get free (unsupported) clone packages from CERN Scientific Linux < http://linux.web.cern.ch/linux/devtoolset/>. These rpms can be installed in real RHEL 5+6, CentOS 5+6, and SL 5+6 , and probably Oracle Linux 5+6. I think Cmake is more robust than GNU configure. > ./configure --with-zlib=/opt/zlib-1.2.8/ --prefix=/opt/hdf5-1.8.9 > > make check install > > th5s.c:734:9: error: expected expression before â/â token > // CHECK(ret, FAIL, "H5Pset_alloc_time"); > ^ > In file included from th5s.c:25:0: > th5s.c: At top level: > H5srcdir.h:38:20: warning: âH5_get_srcdir_filenameâ defined but not used > [-Wunused-function] > static const char *H5_get_srcdir_filename(const char *filename) > ^ > H5srcdir.h:68:20: warning: âH5_get_srcdirâ defined but not used > [-Wunused-function] > static const char *H5_get_srcdir(void) > ^ > make[1]: *** [th5s.o] Error 1 > make: *** [check-recursive] Error 1 > > > Thank you for your help! > -- > Syed Ahsan Ali Bokhari > Electronic Engineer > Research & Development Division > Pakistan Meteorological Department H-8/2, Islamabad. > Phone # off +92519250361 > Cell # +923155145014 > Fax # +92519250368 > www.pmd.gov.pk > > > > -- > Syed Ahsan Ali Bokhari > Electronic Engineer > Research & Development Division > Pakistan Meteorological Department H-8/2, Islamabad. > Phone # off +92519250361 > Cell # +923155145014 > Fax # +92519250368 > www.pmd.gov.pk > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > > http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 > -- George N. White III <[email protected]> Head of St. Margarets Bay, Nova Scotia
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
