Hi:

I am having the following errors when I was compiling GDAL with HDF4 on a 64bits Linux server:
==========================
Command:
>./configure --prefix=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/local --with-static-proj4=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/proj-4.6.1/local --with-hdf5=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local --with-hdf4=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/HDF4.2r4/local --without-curl --without-expat --without-mysql --without-dwgdirect --without-odbc --without-python

Error:
.......
using pre-installed libgif.
checking for cln_GetLayerCapabilities in -logdi31... no
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:
================
configure:7122: checking how to run the C preprocessor
configure:7162: gcc -E  conftest.c
configure:7168: $? = 0
configure:7199: gcc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:7205: $? = 1
configure: failed program was:
===============


Could you tell me what went wrong in this gdal compiling with hdf4 ?

Thanks,

Limei

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to