[Gdal-dev] HDF config question...
Andrey Kiselev
dron at ak4719.spb.edu
Tue May 18 04:43:05 EDT 2004
On Mon, May 17, 2004 at 08:47:33PM -0700, Chris G. Nicholas wrote:
> [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
HDF4 consists from two libraries: libdf and libmfhdf. Both ones should
be available (as well as appropriate headers).
> [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
You don't need to specify /usr/local, because it is default place to
search the library (on Linux). Even --with-hdf4 switch is not required,
script will search for the library automatically. And you don't need to
install libhdf4 system wide, --with-hdf4=/home/user1/src/HDF4.2r0 should
be enough.
> 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
Blah-blah-blah is the most interesting part of the problem :-) Please,
show the end of the config.log file, it is hard to tell what's going
wrong without tests log.
Andrey
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev
mailing list