Hdf4 install error when use make

Hi, Sir,

I’m trying to install the HDF-EOS2 library, before that I need to install HDF4, I already installed zlib and jpeg, here is what I did to install HDF4:

cd hdf-4.2.15
./configure --disable-fortran --enable-production --enable-shared --disable-netcdf --with-jpeg=/home/nenghan/Library/jpeg-9b --prefix=/home/nenghan/Library/hdf-4.2.15
make

then there is a error below:
image

  1. Please share your config.log output.

  2. Check your LD_LIBRARY_PATH.

  3. Try cmake build instead.

  4. jpeg-9b may not work. Try jpeg-6b as shown here: