Hi, Matt! Building HDF-EOS2 is an option, not a requirement. However, having HDF4 library is a must.
Here's the simplest way to configure and build h4toh5 tool if you want to skip building HDF-EOS2. %./configure --with-hdf5=/path/to/hdf5_library_install_prefix CC=/path/to/hdf4_library_install_prefix/bin/h4cc %make -----Original Message----- From: hdf-forum-boun...@hdfgroup.org [mailto:hdf-forum-boun...@hdfgroup.org] On Behalf Of Matt Funk Sent: Thursday, May 13, 2010 4:26 PM To: hdf-forum@hdfgroup.org Subject: Re: [Hdf-forum] trying to build h4toh5 tools Hi, how come it have to build the hdf-eos2 libraries. All i want to do is convert a regular hdf4 to hdf5 library matt On 5/13/2010 2:52 PM, H. Joe Lee wrote: > Hi, Matt! > > You need to point the configure to both hdf4 and hdf5 libraries. > > Typing > > %configure --help > > will give > > --with-hdfeos2=DIR Specify path to external hdfeos2 library. > > option to specify the location of hdfeos2 library and the hdfeos2 library is > built on top of the hdf4 library. > > Please refer to this document for building hdfeos2 library. > > http://hdfeos.org/software/hdfeos.php#ref_sec:hdf-eos2 > > Regards, > > > -----Original Message----- > From: hdf-forum-boun...@hdfgroup.org [mailto:hdf-forum-boun...@hdfgroup.org] > On Behalf Of Matt Funk > Sent: Thursday, May 13, 2010 3:35 PM > To: HDF Users Discussion List > Subject: Re: [Hdf-forum] trying to build h4toh5 tools > > Thanks for the reply. > > so wait though, do i need to point the configure to the hdf4 or hdf5 > library? > Currently i am pointing it to the hdf5 library (in fact i haven't even > build the hdf4 library) > > thanks > matt > > On 5/13/2010 2:20 PM, H. Joe Lee wrote: > >> Hi, Matt! >> >> You may want to try '%make CC=/path/to/hdf4_install_dir/bin/h4cc' and see >> > if > >> it works. >> >> -- >> +1(217)265-7710 >> http://hdfeos.org >> >> -----Original Message----- >> From: hdf-forum-boun...@hdfgroup.org >> > [mailto:hdf-forum-boun...@hdfgroup.org] > >> On Behalf Of Matt Funk >> Sent: Thursday, May 13, 2010 3:12 PM >> To: HDF Users Discussion List >> Subject: [Hdf-forum] trying to build h4toh5 tools >> >> Hi, >> >> i am having problem building the h4toh5 tools on a machine. I tried the >> binaries first but that gave me a a core dump. >> Anyway, i build the hdf5-1.8.4-patch1 libs and then configured h4h5tools >> (and pointed the hdf5 build). >> The h4h5tools configures alright. >> >> However, when i issue: make i get the following: >> gcc -DPACKAGE_NAME=\"H4H5Tools\" -DPACKAGE_TARNAME=\"h4h5tools\" >> -DPACKAGE_VERSION=\"2.1.1\" -DPACKAGE_STRING=\"H4H5Tools\ 2.1.1\" >> -DPACKAGE_BUGREPORT=\"h...@hdfgroup.org\" -DPACKAGE_URL=\"\" >> -DPACKAGE=\"h4h5tools\" -DVERSION=\"2.1.1\" -DSTDC_HEADERS=1 >> -DHAVE_HDF5_H=1 -DHAVE_LIBHDF5=1 -I. >> >> > -I/home/mafunk/CODE/RSET/externalPackages/src/hdf5-1.8.4-patch1/hdf5/include > >> -m64 -MT h4toh5anno.o -MD -MP -MF .deps/h4toh5anno.Tpo -c -o >> h4toh5anno.o h4toh5anno.c >> In file included from h4toh5main.h:43, >> from h4toh5anno.c:77: >> h4toh5util.h:45:17: error: hdf.h: No such file or directory >> h4toh5util.h:46:19: error: mfhdf.h: No such file or directory >> In file included from h4toh5util.h:49, >> from h4toh5main.h:43, >> from h4toh5anno.c:77: >> h4toh5.h:25:19: error: hfile.h: No such file or directory >> In file included from h4toh5util.h:49, >> from h4toh5main.h:43, >> from h4toh5anno.c:77: >> >> what am i missing? >> >> thanks >> matt >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> Hdf-forum@hdfgroup.org >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >> >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> Hdf-forum@hdfgroup.org >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org >> >> > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > Hdf-forum@hdfgroup.org > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > Hdf-forum@hdfgroup.org > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > _______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org _______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org