[Gdal-dev] Problems installing GDAL 1.2.5

William Hudspeth bhudspeth at edac.unm.edu
Fri Jan 7 11:05:49 EST 2005


Hello,

I am having problems installing GDAL 1.2.5 on Redhat 9. The problem may 
involve the HDF4 installation (see output below). I had no problems 
installing HDF4 and used the following configure options:

./configure --with-hdf4=/usr/local/include --with-
libgrass=/usr/local/lib

These options point to hdf4.h and libgrass5.a (etc...) in the
respective 
directories.

OUTPUT

gctp_wrap.c:1:25: ogr_srs_api.h: No such file or directory
gctp_wrap.c: In function `osr_for':
gctp_wrap.c:12: `OGRSpatialReferenceH' undeclared (first use in this 
function)
gctp_wrap.c:12: (Each undeclared identifier is reported only once
gctp_wrap.c:12: for each function it appears in.)
gctp_wrap.c:12: parse error before "hSourceSRS"
gctp_wrap.c:13: `OGRCoordinateTransformationH' undeclared (first use in 
this function)
gctp_wrap.c:16: `hSourceSRS' undeclared (first use in this function)
gctp_wrap.c:16: warning: implicit declaration of function 
`OSRNewSpatialReference'
gctp_wrap.c:16: `NULL' undeclared (first use in this function)
gctp_wrap.c:17: warning: implicit declaration of function 
`OSRImportFromUSGS'
gctp_wrap.c:18: `hLatLong' undeclared (first use in this function)
gctp_wrap.c:18: warning: implicit declaration of function
`OSRCloneGeogCS'
gctp_wrap.c:19: `hCT' undeclared (first use in this function)
gctp_wrap.c:19: warning: implicit declaration of function 
`OCTNewCoordinateTransformation'
gctp_wrap.c:26: warning: implicit declaration of function `OCTTransform'
gctp_wrap.c:31: warning: implicit declaration of function 
`OSRDestroySpatialReference'
gctp_wrap.c: In function `osr_inv':
gctp_wrap.c:64: `OGRSpatialReferenceH' undeclared (first use in this 
function)
gctp_wrap.c:64: parse error before "hSourceSRS"
gctp_wrap.c:65: `OGRCoordinateTransformationH' undeclared (first use in 
this function)
gctp_wrap.c:68: `hSourceSRS' undeclared (first use in this function)
gctp_wrap.c:68: `NULL' undeclared (first use in this function)
gctp_wrap.c:70: `hLatLong' undeclared (first use in this function)
gctp_wrap.c:71: `hCT' undeclared (first use in this function)
make[3]: *** [../../o/gctp_wrap.o] Error 1
make[3]: Leaving directory `/home/wilbur/gdal-1.2.5/frmts/hdf4/hdf-eos'
make[2]: *** [lib-hdfeos] Error 2
make[2]: Leaving directory `/home/wilbur/gdal-1.2.5/frmts/hdf4'
make[1]: *** [hdf4-install-obj] Error 2
make[1]: Leaving directory `/home/wilbur/gdal-1.2.5/frmts'
make: *** [frmts-target] Error 2


Thanks for any help in advance,  Bill





More information about the Gdal-dev mailing list