[Gdal-dev] gdal install

Frank Warmerdam warmerdam at pobox.com
Mon Jan 22 16:53:24 EST 2007


Ryan Ollerenshaw wrote:
> I am trying to install gdal-1.4.0 on FC5 and i keep getting the 
> following errors during the make process:
> 
> geotiff.cpp:102:21: error: xtiffio.h: No such file or directory
> geotiff.cpp:103:21: error: geotiff.h: No such file or directory
> geotiff.cpp:104:27: error: geo_normalize.h: No such file or directory
> geotiff.cpp:105:23: error: geovalues.h: No such file or directory
> geotiff.cpp:114: error: 'GTIF' was not declared in this scope
> geotiff.cpp:114: error: expected primary-expression before ',' token
> geotiff.cpp:114: error: 'GTIFDefn' was not declared in this scope
> geotiff.cpp:114: error: expected primary-expression before ')' token
> geotiff.cpp:114: error: initializer expression list treated as compound 
> expression
> geotiff.cpp:115: error: 'GTIF' was not declared in this scope
> ......
> 
> 
> Here is the configure command that i am using:
> ./configure --with-png --with-libtiff  --with-jpeg --with-gif  
> --with-pg=/usr/local/pgsql/bin/pg_config --with-geos 
> --with-local=/usr/local

Ryan,

Do you have /usr/local/include/xtiffio.h or /usr/include/xtiffio.h?

Possibly you have the libgeotiff shared library installed, but not
the include files (as can occur when installing from packages).  That
would give this behavior.

You might try adding --with-geotiff=internal

This will force use of the internal libgeotiff library.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list