[Gdal-dev] HDF config question...

Chris G. Nicholas cgn at globexplorer.com
Mon May 17 23:47:33 EDT 2004


Hmmm - trying to configure for HDF4 support, but having problems picking up the hdf libs :-(

suggestions/comments welcomed.

thanks in advance-

Chris

------------------------------------------------

did a fresh "make"/"make install" of the latest/greatest HDF4 stuff:

[root at gateway2earth HDF4.2r0]# pwd
/home/user1/src/HDF4.2r0

[root at gateway2earth HDF4.2r0]# find . -name lib\* -print
./hdf/src/libdf.a
./mfhdf/libsrc
./mfhdf/libsrc/libmfhdf.a
./mfhdf/port/libudport.a
[root at gateway2earth HDF4.2r0]#

[root at gateway2earth HDF4.2r0]# find /usr/local -name \*hdf\*.a -print
/usr/local/lib/libmfhdf.a
[root at gateway2earth HDF4.2r0]#

then fresh CVS checkout of gdal; but having trouble getting it to configure in the HDF libs; I keep getting :

 ./configure --with-kakadu=/home/user1/src/kakadu_v4_0-00115C --with-proj --with-grass=/usr/local/grass53 --with-hdf4=/usr/local
checking build system type... i686-pc-linux-gnu

...blah...blah..blah...

configure: error: HDF4 support requested with arg /usr/local, but neither hdf4 nor mfhdf lib found






More information about the Gdal-dev mailing list