[Gdal-dev] --with-hdf4=?

Hamish hamish_nospam at yahoo.com
Tue Mar 8 21:01:08 EST 2005


> [Apologies if this has been asked before]
> I'm trying to ./configure --with-hdf4=ARG on a debian system.
> The --help says:
>    --with-hdf4=ARG       Include HDF4 support (ARG=path)
> What path should be used? I donwloaded the HDF binary distribution
> ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF4.2r1/bin/linux/ and installed it
> in such a way that I'm specifying ARG as the parent directory
> under which the include/ and lib/ subdirectories are. However,
> ./configure complains with:
> 
> ...
> 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 /usr/local/hdf, but
> neither hdf4 nor mfhdf lib found
> 
> I notice that ARG/lib/ does not contain libmfhdf.a but does contain
> libhdf4.a.


Debian:

$ apt-file search libmfhdf.a
libhdf4g-dev: usr/lib/libmfhdf.a


install the "libhdf4g-dev" package.




Hamish



More information about the Gdal-dev mailing list