[gdal-dev] RedHat build error: `TIFFFreeDirectory' was not declared
in this scope
Lucena, Ivan
ivan.lucena at pmldnet.com
Fri Nov 21 15:04:47 EST 2008
Hi there,
Downloading the nightly source distribution gdal-svn-trunk-2008.11.20.tar.gz on a RedHat Linux,
$ cat /etc/redhat-release
Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
It is resulting in a error on gt_overview
% ./configure --prefix=/home/joe/utils/gdal
% make
...
Error:
gt_overview.cpp:75: error: `TIFFFreeDirectory' was not declared in this scope
gt_overview.cpp:75: warning: unused variable 'TIFFFreeDirectory'
make[2]: *** [../o/gt_overview.o] Error 1
make[2]: Leaving directory
`/home/joe/GDAL/gdal-svn-trunk-2008.11.20/frmts/gtiff'
make[1]: *** [gtiff-install-obj] Error 2
make[1]: Leaving directory
`/home/joe/GDAL/gdal-svn-trunk-2008.11.20/frmts'
make: *** [frmts-target] Error 2
We tried something like that to try to avoid the use of other libtiff on the system:
% ./configure --prefix=/home/joe/utils/gdal --with-libtiff=/home/joe/GDAL/frmts/gtiff/libtiff --with-
geotiff=/home/joe/GDAL/frmts/gtiff/libgeotiff
But that didn't work. Same error.
Does anybody have any idea?
Thanks in advance,
Ivan
More information about the gdal-dev
mailing list