Limei Ran wrote:
...
checking for FMEObjects... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lhdf4... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lmfhdf... no
configure: error: HDF4 support requested with arg
"/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/HDF4.2r4/local",
but neither hdf4 nor mfhdf lib found
===========================
I compiled HDF4 with: --disable-netcdf --disable-fortran and I did not
compile GDAL with netcdf. When I got rid of HDF4 in gdal configure, the
configuration went through.
The config.log has a lot of errors related to conftest.c like:
...
Could you tell me what went wrong in this gdal compiling with hdf4 ?
Limei,
I think you need to find the part of the config.log that relates to hdf to
find out what went wrong. I think one common problem is building the HDF
library without -fPIC.
You might also check:
http://trac.osgeo.org/gdal/wiki/HDF
and consider updating it if you learn something likely to be of broader use.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev