R: [Gdal-dev] Geotiff support and issues with libgeotiff/libtiff

Buchan Milne bgmilne at cae.co.za
Wed Jun 18 13:59:07 EDT 2003

Hash: SHA1

Andrey Kiselev wrote:

> Buchan/Alessandro,
> You need latest snapshot of the libtiff library to build libgeotiff
> and GDAL withoyut problems. It installs all required headers (and
> TIFFFieldInfo now declared in tiffio.h file). FIELD_CUSTOM also appears
> in libtiff after 3.5.7 release.
> libtiff 3.6.0 should be fully binary compatible with 3.5.7. You may take
> latest CVS snapshot of the library or wait one or two days when libtiff
> 3.6.0beta2 will be released.
> Latest libtiff is much better than 3.5.7, many serious bugs fixed. In
> 3.5.7 some utilities even does not work. So I'm recommend using latest
> libtiff snapshots.

Thanks Andrey,

I used 3.6.0beta, and everything works *much* better (maybe gdal's docs
could list requirements for geotiff>=1.2.0 for external geotiff support,
and geotiff could be documented as reqruiring libtiff>=3.6.0?).

Frank, if I may abuse this list for one more post on libgeotiff, there
is a buglet in configure for libgeotiff's checks for proj, it checks to
see if $PROJ_HOME/src is a directory, and if so, uses $PROJ_HOME/src to
find libproj.a. So, if proj is installed with a prefix of /usr,
configure checks for /usr/src, finds it, but doesn't find a libproj.a
below it, since it is in /usr/lib.

This section need to be improved:

  if test -d $PROJ_HOME/src ; then

For the moment I just have this line in my spec file:
perl -pi -e 's|test -d \$PROJ_HOME/src|false|g' configure

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to info at cae.co.za for a copy.

More information about the Gdal-dev mailing list