Opened 16 years ago

Last modified 14 years ago

#237 closed defect (fixed)

GDAL now requires libgeotiff-cvs

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:


============ SECOND ERROR (when compiling GDAL from CVS)============
c++ -c -I../.. -I../../port -I../../core -I../../ogr  -Wall -fPIC -O2
-I/usr/local/src/jpeg-6b -I/usr/local/src/jpeg-6b/include
-I/usr/local/src/tiff-v3.5.7 -I/usr/local/src/tiff-v3.5.7/include
-I/usr/local/lib -I/usr/local/lib/include   -I/usr/local/include gt_wkt_srs.cpp
-o gt_wkt_srs.o
gt_wkt_srs.cpp: In function `enum CPLErr GTIFWktFromMemBuf(int, unsigned char *,
char **, double *, int *, GDAL_GCP **)':
gt_wkt_srs.cpp:1346: implicit declaration of function `int XTIFFClientOpen(...)'
gt_wkt_srs.cpp:1346: assignment to `TIFF *' from `int' lacks a cast
gt_wkt_srs.cpp: In function `enum CPLErr GTIFMemBufFromWkt(const char *, const
double *, int, const GDAL_GCP *, int *, unsigned char **)':
gt_wkt_srs.cpp:1466: assignment to `TIFF *' from `int' lacks a cast
make[2]: *** [gt_wkt_srs.o] Error 1
make[2]: Leaving directory `/usr/local/src/gdal_dev/frmts/gtiff'
make[1]: *** [sub-libs] Error 1
make[1]: Leaving directory `/usr/local/src/gdal_dev/frmts'
make: *** [frmts-target] Error 2 

1) Need to publish new libgeotiff version. 

2) Configure will need to require this version. 

   or we need to disable the memory buffer support when using an old version.

Change History (3)

comment:1 Changed 15 years ago by warmerdam

A libgeotiff 1.2.1 has been published.

comment:2 Changed 14 years ago by warmerdam

I should verify that GDAL's configure tests for a new enough version of libgeotiff
before using the system provided one.  Do this before the 1.2.0 GDAL release. 

comment:3 Changed 14 years ago by warmerdam

Configure updated to look for XTIFFClientOpen().  This should ensure it is
libgeotiff 3.6.1 or newer.

Note: See TracTickets for help on using tickets.