[gdal-dev] Build gdal 1.5.2 on FreeBSD
Ben Madin
ben at remoteinformation.com.au
Tue Oct 14 23:23:43 EDT 2008
G'day all,
after failing to build 1.5.0 with the ports collection on FreeBSD I
have downloaded sources and tried from scratch using the default
configure (actually, I want php but for mapscript, so I don't know if
I need to specify it here as swig was giving me enormous problems in
the port build)
I'm really not a sources person, so apologies in advance if I have
something really basic wrong - it took me ages to work out using gmake
instead of make..!
so configure gave me this :
GDAL is now configured for i386-unknown-freebsd7.0
Installation directory: /usr/local
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
LIBTOOL support: yes
LIBZ support: external
GRASS support: no
CFITSIO support: no
PCRaster support: internal
NetCDF support: no
LIBPNG support: internal
LIBTIFF support: external (BigTIFF=no)
LIBGEOTIFF support: external
LIBJPEG support: internal
LIBGIF support: internal
OGDI support: no
HDF4 support: no
HDF5 support: no
Kakadu support: no
JasPer support: yes (GeoJP2=no)
ECW support: no
MrSID support: no
GRIB support: no
cURL support (wms/wcs/...):yes
PostgreSQL support: yes
MySQL support: no
Xerces-C support: no
Expat support: yes
ODBC support: no
PGeo support: no
OCI support: no
SDE support: no
DODS support: no
SQLite support: no
DWGdirect support no
PANORAMA GIS support: no
INFORMIX DataBlade support:no
GEOS support: yes
Old-gen python no
SWIG Bindings: no
Statically link PROJ.4: no
enable OGR building: yes
enable pthread support: no
hide internal symbols: no
But when I gmake, I get some OK, then :
gmake[2]: Entering directory `/usr/home/ben/gdal-1.5.2/frmts/gtiff'
/bin/sh /usr/home/ben/gdal-1.5.2/libtool --mode=compile --tag=CXX g++ -
g -O2 -Wall -I/usr/home/ben/gdal-1.5.2/port -I/usr/home/ben/
gdal-1.5.2/gcore -I/usr/home/ben/gdal-1.5.2/alg -I/usr/home/ben/
gdal-1.5.2/ogr -I/usr/home/ben/gdal-1.5.2/ogr/ogrsf_frmts -
DOGR_ENABLED -I/usr/home/ben/gdal-1.5.2/port -c -o ../o/geotiff.o
geotiff.cpp
libtool: compile: g++ -g -O2 -Wall -I/usr/home/ben/gdal-1.5.2/port -I/
usr/home/ben/gdal-1.5.2/gcore -I/usr/home/ben/gdal-1.5.2/alg -I/usr/
home/ben/gdal-1.5.2/ogr -I/usr/home/ben/gdal-1.5.2/ogr/ogrsf_frmts -
DOGR_ENABLED -I/usr/home/ben/gdal-1.5.2/port -c geotiff.cpp -fPIC -
DPIC -o ../o/.libs/geotiff.o
geotiff.cpp:33:20: error: tiffio.h: No such file or directory
geotiff.cpp:34:21: error: xtiffio.h: No such file or directory
geotiff.cpp:35:21: error: geotiff.h: No such file or directory
geotiff.cpp:36:27: error: geo_normalize.h: No such file or directory
geotiff.cpp:37:23: error: geovalues.h: No such file or directory
In file included from geotiff.cpp:38:
tif_ovrcache.h:46: error: 'uint32' does not name a type
tif_ovrcache.h:47: error: 'uint32' does not name a type
tif_ovrcache.h:49: error: 'uint32' does not name a type
tif_ovrcache.h:50: error: 'uint32' does not name a type
tif_ovrcache.h:51: error: 'uint16' does not name a type
tif_ovrcache.h:52: error: 'uint16' does not name a type
tif_ovrcache.h:62: error: 'toff_t' does not name a type
tif_ovrcache.h:63: error: ISO C++ forbids declaration of 'TIFF' with
no type
tif_ovrcache.h:63: error: expected ';' before '*' token
tif_ovrcache.h:68: error: 'TIFF' was not declared in this scope
tif_ovrcache.h:68: error: 'hTIFF' was not declared in this scope
tif_ovrcache.h:68: error: expected primary-expression before 'int'
tif_ovrcache.h:68: error: initializer expression list treated as
compound expression
tif_ovrcache.h:72: error: variable or field 'TIFFBuildOverviews'
declared void
tif_ovrcache.h:72: error: 'TIFF' was not declared in this scope
tif_ovrcache.h:72: error: expected primary-expression before ',' token
tif_ovrcache.h:72: error: expected primary-expression before 'int'
tif_ovrcache.h:72: error: expected primary-expression before 'int'
tif_ovrcache.h:72: error: expected primary-expression before 'int'
tif_ovrcache.h:72: error: expected primary-expression before 'const'
tif_ovrcache.h:73: error: expected primary-expression before 'int'
tif_ovrcache.h:73: error: expected primary-expression before 'void'
tif_ovrcache.h:75: error: variable or field 'TIFF_ProcessFullResBlock'
declared void
tif_ovrcache.h:75: error: 'TIFF' was not declared in this scope
tif_ovrcache.h:75: error: 'hTIFF' was not declared in this scope
tif_ovrcache.h:75: error: expected primary-expression before 'int'
tif_ovrcache.h:76: error: expected primary-expression before 'int'
tif_ovrcache.h:76: error: expected primary-expression before 'int'
tif_ovrcache.h:77: error: expected primary-expression before 'int'
tif_ovrcache.h:78: error: expected primary-expression before 'int'
tif_ovrcache.h:78: error: expected primary-expression before '*' token
tif_ovrcache.h:78: error: 'papoRawBIs' was not declared in this scope
tif_ovrcache.h:79: error: expected primary-expression before 'int'
tif_ovrcache.h:79: error: expected primary-expression before 'int'
tif_ovrcache.h:80: error: expected primary-expression before 'unsigned'
tif_ovrcache.h:81: error: expected primary-expression before 'int'
tif_ovrcache.h:81: error: expected primary-expression before 'int'
tif_ovrcache.h:82: error: expected primary-expression before 'int'
tif_ovrcache.h:82: error: expected primary-expression before 'const'
tif_ovrcache.h:84: error: 'toff_t' does not name a type
geotiff.cpp:46: error: 'GTIF' was not declared in this scope
geotiff.cpp:46: error: expected primary-expression before ',' token
geotiff.cpp:46: error: 'GTIFDefn' was not declared in this scope
geotiff.cpp:46: error: expected primary-expression before ')' token
geotiff.cpp:46: error: initializer expression list treated as compound
expression
geotiff.cpp:47: error: 'GTIF' was not declared in this scope
geotiff.cpp:47: error: expected primary-expression before ',' token
geotiff.cpp:47: error: expected primary-expression before 'const'
geotiff.cpp:47: error: initializer expression list treated as compound
expression
geotiff.cpp:61: error: expected constructor, destructor, or type
conversion before '*' token
geotiff.cpp:80: error: ISO C++ forbids declaration of 'TIFF' with no
type
geotiff.cpp:80: error: expected ';' before '*' token
geotiff.cpp:82: error: 'toff_t' does not name a type
geotiff.cpp:85: error: 'uint16' does not name a type
geotiff.cpp:86: error: 'uint16' does not name a type
geotiff.cpp:87: error: 'uint16' does not name a type
geotiff.cpp:88: error: 'uint32' does not name a type
geotiff.cpp:89: error: 'uint16' does not name a type
geotiff.cpp:90: error: 'uint16' does not name a type
geotiff.cpp:91: error: 'uint16' does not name a type
geotiff.cpp:95: error: 'uint32' does not name a type
geotiff.cpp:96: error: 'uint32' does not name a type
geotiff.cpp:120: error: 'toff_t' has not been declared
geotiff.cpp:159: error: 'TIFF' has not been declared
geotiff.cpp:159: error: 'toff_t' has not been declared
geotiff.cpp:178: error: 'TIFF' has not been declared
geotiff.cpp:179: error: 'TIFF' has not been declared
geotiff.cpp: In constructor
'GTiffRasterBand::GTiffRasterBand(GTiffDataset*, int)':
geotiff.cpp:251: error: 'uint16' was not declared in this scope
geotiff.cpp:251: error: expected `;' before 'nSampleFormat'
geotiff.cpp:255: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:258: error: 'nSampleFormat' was not declared in this scope
geotiff.cpp:258: error: 'SAMPLEFORMAT_INT' was not declared in this
scope
geotiff.cpp:262: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:264: error: 'nSampleFormat' was not declared in this scope
geotiff.cpp:264: error: 'SAMPLEFORMAT_INT' was not declared in this
scope
geotiff.cpp:269: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:271: error: 'nSampleFormat' was not declared in this scope
geotiff.cpp:271: error: 'SAMPLEFORMAT_COMPLEXINT' was not declared in
this scope
geotiff.cpp:273: error: 'SAMPLEFORMAT_IEEEFP' was not declared in this
scope
geotiff.cpp:275: error: 'SAMPLEFORMAT_INT' was not declared in this
scope
geotiff.cpp:280: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:282: error: 'nSampleFormat' was not declared in this scope
geotiff.cpp:282: error: 'SAMPLEFORMAT_IEEEFP' was not declared in this
scope
geotiff.cpp:284: error: 'SAMPLEFORMAT_COMPLEXIEEEFP' was not declared
in this scope
geotiff.cpp:286: error: 'SAMPLEFORMAT_COMPLEXINT' was not declared in
this scope
geotiff.cpp:289: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:291: error: 'nSampleFormat' was not declared in this scope
geotiff.cpp:291: error: 'SAMPLEFORMAT_COMPLEXIEEEFP' was not declared
in this scope
geotiff.cpp:300: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:300: error: 'PHOTOMETRIC_RGB' was not declared in this scope
geotiff.cpp:301: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:301: error: 'PHOTOMETRIC_YCBCR' was not declared in this
scope
geotiff.cpp:302: error: 'class GTiffDataset' has no member named
'nCompression'
geotiff.cpp:302: error: 'COMPRESSION_JPEG' was not declared in this
scope
geotiff.cpp:314: error: 'v' was not declared in this scope
geotiff.cpp:315: error: expected `;' before 'count'
geotiff.cpp:317: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:317: error: 'TIFFTAG_EXTRASAMPLES' was not declared in
this scope
geotiff.cpp:317: error: 'count' was not declared in this scope
geotiff.cpp:317: error: 'TIFFGetField' was not declared in this scope
geotiff.cpp:319: error: 'EXTRASAMPLE_ASSOCALPHA' was not declared in
this scope
geotiff.cpp:330: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:340: error: 'v' was not declared in this scope
geotiff.cpp:341: error: expected `;' before 'count'
geotiff.cpp:343: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:343: error: 'TIFFTAG_EXTRASAMPLES' was not declared in
this scope
geotiff.cpp:343: error: 'count' was not declared in this scope
geotiff.cpp:343: error: 'TIFFGetField' was not declared in this scope
geotiff.cpp:345: error: 'EXTRASAMPLE_ASSOCALPHA' was not declared in
this scope
geotiff.cpp:356: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:356: error: 'PHOTOMETRIC_MINISBLACK' was not declared in
this scope
geotiff.cpp:360: error: 'v' was not declared in this scope
geotiff.cpp:361: error: expected `;' before 'count'
geotiff.cpp:363: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:363: error: 'TIFFTAG_EXTRASAMPLES' was not declared in
this scope
geotiff.cpp:363: error: 'count' was not declared in this scope
geotiff.cpp:363: error: 'TIFFGetField' was not declared in this scope
geotiff.cpp:366: error: 'class GTiffDataset' has no member named
'nSamplesPerPixel'
geotiff.cpp:369: error: 'EXTRASAMPLE_ASSOCALPHA' was not declared in
this scope
geotiff.cpp:381: error: 'class GTiffDataset' has no member named
'nBlockXSize'
geotiff.cpp:382: error: 'class GTiffDataset' has no member named
'nBlockYSize'
geotiff.cpp: In member function 'virtual CPLErr
GTiffRasterBand::IReadBlock(int, int, void*)':
geotiff.cpp:398: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:398: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:399: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:399: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:403: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:403: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:407: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:407: error: 'PLANARCONFIG_SEPARATE' was not declared in
this scope
geotiff.cpp:441: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:441: error: 'PLANARCONFIG_SEPARATE' was not declared in
this scope
geotiff.cpp:446: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:446: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:448: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:449: error: 'TIFFReadEncodedTile' was not declared in this
scope
geotiff.cpp:460: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:461: error: 'TIFFReadEncodedStrip' was not declared in
this scope
geotiff.cpp:528: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:548: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp: In member function 'virtual CPLErr
GTiffRasterBand::IWriteBlock(int, int, void*)':
geotiff.cpp:587: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:587: error: 'PLANARCONFIG_SEPARATE' was not declared in
this scope
geotiff.cpp:593: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:593: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:595: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:595: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:596: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:597: error: 'TIFFWriteEncodedTile' was not declared in
this scope
geotiff.cpp:602: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:602: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:603: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:604: error: 'TIFFWriteEncodedStrip' was not declared in
this scope
geotiff.cpp:627: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp: In member function 'virtual CPLErr
GTiffRasterBand::SetColorInterpretation(GDALColorInterp)':
geotiff.cpp:803: error: 'class GTiffDataset' has no member named
'nSamplesPerPixel'
geotiff.cpp:804: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:804: error: 'PHOTOMETRIC_MINISBLACK' was not declared in
this scope
geotiff.cpp:806: error: 'uint16' was not declared in this scope
geotiff.cpp:806: error: expected `;' before 'v'
geotiff.cpp:808: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:808: error: 'TIFFTAG_EXTRASAMPLES' was not declared in
this scope
geotiff.cpp:808: error: 'v' was not declared in this scope
geotiff.cpp:808: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:816: error: 'class GTiffDataset' has no member named
'nSamplesPerPixel'
geotiff.cpp:817: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:817: error: 'PHOTOMETRIC_RGB' was not declared in this scope
geotiff.cpp:819: error: 'uint16' was not declared in this scope
geotiff.cpp:819: error: expected `;' before 'v'
geotiff.cpp:821: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:821: error: 'TIFFTAG_EXTRASAMPLES' was not declared in
this scope
geotiff.cpp:821: error: 'v' was not declared in this scope
geotiff.cpp:821: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp: In member function 'virtual CPLErr
GTiffRasterBand::SetColorTable(GDALColorTable*)':
geotiff.cpp:860: error: 'class GTiffDataset' has no member named
'nSamplesPerPixel'
geotiff.cpp:908: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:908: error: 'TIFFTAG_PHOTOMETRIC' was not declared in this
scope
geotiff.cpp:908: error: 'PHOTOMETRIC_PALETTE' was not declared in this
scope
geotiff.cpp:908: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:909: error: 'class GTiffDataset' has no member named 'hTIFF'
geotiff.cpp:909: error: 'TIFFTAG_COLORMAP' was not declared in this
scope
geotiff.cpp: In member function 'virtual CPLErr
GTiffRGBABand::IReadBlock(int, int, void*)':
geotiff.cpp:1064: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1064: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1066: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1069: error: 'uint32' was not declared in this scope
geotiff.cpp:1069: error: expected primary-expression before ')' token
geotiff.cpp:1069: error: 'TIFFReadRGBATile' was not declared in this
scope
geotiff.cpp:1082: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1084: error: 'uint32' was not declared in this scope
geotiff.cpp:1084: error: expected primary-expression before ')' token
geotiff.cpp:1084: error: 'TIFFReadRGBAStrip' was not declared in this
scope
geotiff.cpp:1106: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1106: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp: In constructor
'GTiffBitmapBand::GTiffBitmapBand(GTiffDataset*, int)':
geotiff.cpp:1208: error: 'class GTiffDataset' has no member named
'nPhotometric'
geotiff.cpp:1208: error: 'PHOTOMETRIC_MINISWHITE' was not declared in
this scope
geotiff.cpp: In member function 'virtual CPLErr
GTiffBitmapBand::IWriteBlock(int, int, void*)':
geotiff.cpp:1255: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1260: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1262: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1263: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1270: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1270: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1272: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1272: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:1273: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1274: error: 'TIFFWriteEncodedTile' was not declared in
this scope
geotiff.cpp:1279: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1279: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:1280: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1281: error: 'TIFFWriteEncodedStrip' was not declared in
this scope
geotiff.cpp: In member function 'virtual CPLErr
GTiffBitmapBand::IReadBlock(int, int, void*)':
geotiff.cpp:1303: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1303: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1304: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1304: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:1308: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1308: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp: In constructor
'GTiffOddBitsBand::GTiffOddBitsBand(GTiffDataset*, int)':
geotiff.cpp:1392: error: 'class GTiffDataset' has no member named
'nSampleFormat'
geotiff.cpp:1392: error: 'SAMPLEFORMAT_IEEEFP' was not declared in
this scope
geotiff.cpp:1394: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1394: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1396: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp: In member function 'virtual CPLErr
GTiffOddBitsBand::IWriteBlock(int, int, void*)':
geotiff.cpp:1432: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:1432: error: 'PLANARCONFIG_SEPARATE' was not declared in
this scope
geotiff.cpp:1440: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1445: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1447: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1448: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1455: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1455: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1457: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1457: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:1458: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1459: error: 'TIFFWriteEncodedTile' was not declared in
this scope
geotiff.cpp:1464: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1464: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:1465: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1466: error: 'TIFFWriteEncodedStrip' was not declared in
this scope
geotiff.cpp:1518: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1523: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1525: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1526: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1527: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp: In member function 'virtual CPLErr
GTiffOddBitsBand::IReadBlock(int, int, void*)':
geotiff.cpp:1555: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1555: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1556: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1556: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:1560: error: 'class GTiffDataset' has no member named
'hTIFF'
geotiff.cpp:1560: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:1565: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:1565: error: 'PLANARCONFIG_SEPARATE' was not declared in
this scope
geotiff.cpp:1592: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1597: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1599: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:1599: error: 'PLANARCONFIG_SEPARATE' was not declared in
this scope
geotiff.cpp:1603: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1612: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1628: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1633: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:1633: error: 'PLANARCONFIG_CONTIG' was not declared in
this scope
geotiff.cpp:1635: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1636: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1640: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1687: error: 'class GTiffDataset' has no member named
'nPlanarConfig'
geotiff.cpp:1687: error: 'PLANARCONFIG_CONTIG' was not declared in
this scope
geotiff.cpp:1689: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1690: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1694: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1712: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1716: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp:1720: error: 'class GTiffDataset' has no member named
'nBitsPerSample'
geotiff.cpp: In constructor 'GTiffDataset::GTiffDataset()':
geotiff.cpp:1752: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1764: error: 'nDirOffset' was not declared in this scope
geotiff.cpp: In destructor 'virtual GTiffDataset::~GTiffDataset()':
geotiff.cpp:1808: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1814: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1828: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1828: error: 'XTIFFClose' was not declared in this scope
geotiff.cpp: In member function 'CPLErr GTiffDataset::FlushBlockBuf()':
geotiff.cpp:1859: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1859: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1860: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:1862: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:1864: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1864: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1867: error: 'TIFFWriteEncodedTile' was not declared in
this scope
geotiff.cpp:1877: error: 'TIFFWriteEncodedStrip' was not declared in
this scope
geotiff.cpp: In member function 'CPLErr
GTiffDataset::LoadBlockBuf(int)':
geotiff.cpp:1916: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1916: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1917: error: 'TIFFTileSize' was not declared in this scope
geotiff.cpp:1919: error: 'TIFFStripSize' was not declared in this scope
geotiff.cpp:1944: error: 'nBlockXSize' was not declared in this scope
geotiff.cpp:1947: error: 'nBlockYSize' was not declared in this scope
geotiff.cpp:1969: error: 'hTIFF' was not declared in this scope
geotiff.cpp:1969: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:1972: error: 'TIFFReadEncodedTile' was not declared in
this scope
geotiff.cpp:1986: error: 'TIFFReadEncodedStrip' was not declared in
this scope
geotiff.cpp: In member function 'void GTiffDataset::Crystalize()':
geotiff.cpp:2018: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2022: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2022: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:2022: error: 'TIFFWriteCheck' was not declared in this scope
geotiff.cpp:2023: error: 'TIFFWriteDirectory' was not declared in this
scope
geotiff.cpp:2025: error: 'TIFFSetDirectory' was not declared in this
scope
geotiff.cpp:2026: error: 'nDirOffset' was not declared in this scope
geotiff.cpp:2026: error: 'TIFFCurrentDirOffset' was not declared in
this scope
geotiff.cpp: In member function 'int
GTiffDataset::IsBlockAvailable(int)':
geotiff.cpp:2042: error: 'toff_t' was not declared in this scope
geotiff.cpp:2042: error: 'panByteCounts' was not declared in this scope
geotiff.cpp:2044: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2044: error: 'TIFFIsTiled' was not declared in this scope
geotiff.cpp:2045: error: 'TIFFTAG_TILEBYTECOUNTS' was not declared in
this scope
geotiff.cpp:2045: error: 'TIFFGetField' was not declared in this scope
geotiff.cpp:2047: error: 'TIFFTAG_STRIPBYTECOUNTS' was not declared in
this scope
geotiff.cpp: In member function 'virtual CPLErr
GTiffDataset::IBuildOverviews(const char*, int, int*, int, int*, int
(*)(double, const char*, void*), void*)':
geotiff.cpp:2128: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2128: error: 'TIFFFlush' was not declared in this scope
geotiff.cpp:2171: error: 'nBitsPerSample' was not declared in this scope
geotiff.cpp:2182: error: 'nPhotometric' was not declared in this scope
geotiff.cpp:2182: error: 'PHOTOMETRIC_PALETTE' was not declared in
this scope
geotiff.cpp:2253: error: 'toff_t' was not declared in this scope
geotiff.cpp:2253: error: expected `;' before 'nOverviewOffset'
geotiff.cpp:2261: error: 'nOverviewOffset' was not declared in this
scope
geotiff.cpp:2263: error: 'nPlanarConfig' was not declared in this scope
geotiff.cpp:2264: error: 'nSamplesPerPixel' was not declared in this
scope
geotiff.cpp:2265: error: 'nCompression' was not declared in this scope
geotiff.cpp:2265: error: 'nPhotometric' was not declared in this scope
geotiff.cpp:2265: error: 'nSampleFormat' was not declared in this scope
geotiff.cpp:2267: error: 'TIFF_WriteOverview' was not declared in this
scope
geotiff.cpp: In member function 'void GTiffDataset::WriteGeoTIFFInfo()':
geotiff.cpp:2394: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2394: error: 'TIFFTAG_GEOPIXELSCALE' was not declared in
this scope
geotiff.cpp:2394: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2403: error: 'TIFFTAG_GEOTIEPOINTS' was not declared in
this scope
geotiff.cpp:2419: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2419: error: 'TIFFTAG_GEOTRANSMATRIX' was not declared in
this scope
geotiff.cpp:2419: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2462: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2462: error: 'TIFFTAG_GEOTIEPOINTS' was not declared in
this scope
geotiff.cpp:2463: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2472: error: 'GTIF' was not declared in this scope
geotiff.cpp:2472: error: 'psGTIF' was not declared in this scope
geotiff.cpp:2474: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2474: error: 'GTIFNew' was not declared in this scope
geotiff.cpp:2475: error: 'GTIFSetFromOGISDefn' cannot be used as a
function
geotiff.cpp:2481: error: 'GTRasterTypeGeoKey' was not declared in this
scope
geotiff.cpp:2481: error: 'TYPE_SHORT' was not declared in this scope
geotiff.cpp:2482: error: 'RasterPixelIsPoint' was not declared in this
scope
geotiff.cpp:2482: error: 'GTIFKeySet' was not declared in this scope
geotiff.cpp:2485: error: 'GTIFWriteKeys' was not declared in this scope
geotiff.cpp:2486: error: 'GTIFFree' was not declared in this scope
geotiff.cpp: At global scope:
geotiff.cpp:2551: error: 'TIFF' has not been declared
geotiff.cpp: In function 'void
WriteMDMetadata(GDALMultiDomainMetadata*, int*, CPLXMLNode**,
CPLXMLNode**, int)':
geotiff.cpp:2585: error: 'TIFFTAG_DOCUMENTNAME' was not declared in
this scope
geotiff.cpp:2585: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2587: error: 'TIFFTAG_IMAGEDESCRIPTION' was not declared
in this scope
geotiff.cpp:2587: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2589: error: 'TIFFTAG_SOFTWARE' was not declared in this
scope
geotiff.cpp:2589: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2591: error: 'TIFFTAG_DATETIME' was not declared in this
scope
geotiff.cpp:2591: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2593: error: 'TIFFTAG_ARTIST' was not declared in this scope
geotiff.cpp:2593: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2595: error: 'TIFFTAG_HOSTCOMPUTER' was not declared in
this scope
geotiff.cpp:2595: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2597: error: 'TIFFTAG_COPYRIGHT' was not declared in this
scope
geotiff.cpp:2597: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2599: error: 'TIFFTAG_XRESOLUTION' was not declared in
this scope
geotiff.cpp:2599: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2601: error: 'TIFFTAG_YRESOLUTION' was not declared in
this scope
geotiff.cpp:2601: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp:2603: error: 'TIFFTAG_RESOLUTIONUNIT' was not declared in
this scope
geotiff.cpp:2603: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp: At global scope:
geotiff.cpp:2621: error: 'TIFF' has not been declared
geotiff.cpp: In static member function 'static void
GTiffDataset::WriteMetadata(GDALDataset*, int*, int)':
geotiff.cpp:2706: error: 'TIFFSetField' was not declared in this scope
geotiff.cpp: At global scope:
geotiff.cpp:2717: error: variable or field 'WriteNoDataValue' declared
void
geotiff.cpp:2717: error: 'TIFF' was not declared in this scope
geotiff.cpp:2717: error: 'hTIFF' was not declared in this scope
geotiff.cpp:2717: error: expected primary-expression before 'double'
geotiff.cpp:2728: error: 'int GTiffDataset::SetDirectory' is not a
static member of 'class GTiffDataset'
geotiff.cpp:2728: error: 'toff_t' was not declared in this scope
geotiff.cpp:2730: error: expected ',' or ';' before '{' token
gmake[2]: *** [../o/geotiff.o] Error 1
gmake[2]: Leaving directory `/usr/home/ben/gdal-1.5.2/frmts/gtiff'
gmake[1]: *** [gtiff-install-obj] Error 2
gmake[1]: Leaving directory `/usr/home/ben/gdal-1.5.2/frmts'
gmake: *** [frmts-target] Error 2
So I try using configure
./configure --with-geotiff=NO
but it doesn't change the configure file output (ie still LIBGEOTIFF
support: external)
so I read on and try
./configure --with-geotiff=internal
and it does change the configure output (now LIBGEOTIFF
support: internal)
and it looks different, but I'm afraid it means nothing to me...
gmake[2]: Entering directory `/usr/home/ben/gdal-1.5.2/frmts/gtiff'
(cd libgeotiff; gmake install-obj)
gmake[3]: Entering directory `/usr/home/ben/gdal-1.5.2/frmts/gtiff/
libgeotiff'
/bin/sh /usr/home/ben/gdal-1.5.2/libtool --mode=compile --tag=CC gcc -
c -I../../port -DOGR_ENABLED -I/usr/home/ben/gdal-1.5.2/port -g -O2 -
Wall -Wdeclaration-after-statement xtiff.c -o ../../o/xtiff.o
libtool: compile: gcc -c -I../../port -DOGR_ENABLED -I/usr/home/ben/
gdal-1.5.2/port -g -O2 -Wall -Wdeclaration-after-statement xtiff.c -
fPIC -DPIC -o ../../o/.libs/xtiff.o
In file included from xtiff.c:17:
xtiffio.h:10:20: error: tiffio.h: No such file or directory
In file included from xtiff.c:17:
xtiffio.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
xtiffio.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
xtiffio.h:71: error: expected ')' before '*' token
xtiffio.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
xtiff.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xtiffFieldInfo'
xtiff.c:54: error: expected ')' before '*' token
xtiff.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_ParentExtender'
xtiff.c:74: error: expected ')' before '*' token
xtiff.c: In function 'XTIFFInitialize':
xtiff.c:108: error: '_ParentExtender' undeclared (first use in this
function)
xtiff.c:108: error: (Each undeclared identifier is reported only once
xtiff.c:108: error: for each function it appears in.)
xtiff.c:108: warning: implicit declaration of function
'TIFFSetTagExtender'
xtiff.c:108: error: '_XTIFFDefaultDirectory' undeclared (first use in
this function)
xtiff.c: At top level:
xtiff.c:134: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
xtiff.c:150: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
xtiff.c:166: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
xtiff.c:202: error: expected ')' before '*' token
gmake[3]: *** [../../o/xtiff.o] Error 1
gmake[3]: Leaving directory `/usr/home/ben/gdal-1.5.2/frmts/gtiff/
libgeotiff'
gmake[2]: *** [lib-geotiff] Error 2
gmake[2]: Leaving directory `/usr/home/ben/gdal-1.5.2/frmts/gtiff'
gmake[1]: *** [gtiff-install-obj] Error 2
gmake[1]: Leaving directory `/usr/home/ben/gdal-1.5.2/frmts'
gmake: *** [frmts-target] Error 2
any help would be greatfully appreciated
cheers
Ben
--
Ben Madin
REMOTE INFORMATION
t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
Broome WA 6725
ben at remoteinformation.com.au
Out here, it pays to know...
More information about the gdal-dev
mailing list