Ticket #3957 (closed defect: worksforme)
Configuring gdal 1.8.0 with hdf and netcdf at the same time fails
| Reported by: | wvalenci | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ConfigBuild | Version: | 1.8.0 |
| Severity: | normal | Keywords: | hdf hdf4 hdf5 netcdf configure gdal |
| Cc: |
Description
I was able to configure and make gdal with hdf4 and hdf5 by themselves on a x86_64 GNU/Linux Machine(hdf4 was built with --disable-fortran --disable-netcdf --with-pic)
configure --with-hdf4=/home/wvalenci/gdal/hdf-4.2.5/hdf4 --with-hdf5=/home/wvalenci/gdal/hdf5-1.8.5-patch1/hdf5
and netcdf by itself
configure --with-netcdf=/home/wvalenci/gdal/netcdf-4.1.1
But when I combine them
configure --with-hdf4=/home/wvalenci/gdal/hdf-4.2.5/hdf4 --with-hdf5=/home/wvalenci/gdal/hdf5-1.8.5-patch1/hdf5 --with-netcdf=/home/wvalenci/gdal/netcdf-4.1.1
I get the following error:
configure: error: HDF4 support requested with arg "/home/wvalenci/gdal/hdf-4.2.5/hdf4", but neither hdf4 nor mfhdf lib found
