Ruby-HDFEOS5 is a Ruby interface to the HDF-EOS5 library provided by HDF-EOS tools and information center. It is a portable C library based on the HDF5.
./configure --with-pic --prefix=/path_of_the_HDFEOS5_installation_rootHere, /path_of_the_HDFEOS5_installation_root should be replaced with an existing directory suitable on your system, e.g., /usr/local, /usr (or a specific directory under /opt).
ruby extconf.rb --with-hdfeos5-dir=/path_of_the_HDFEOS5_installation_root make sudo make install