I'm trying to build gdal 1.9.2
from source. The system is a Windows 7 64 bits
and I'm working in the msys
environment.
I have already successfully build zlib 1.2.7
, jpeg9a
, proj 4.8.0
, tiff
, geotiff 1.4.0
and geos 3.4.2
.
Now, when configuring gdal
with this:
./configure --prefix=/d/PRUEBAS/LIBS/gdal_1.9.2/install/ --with-libz=/d/PRUEBAS/LIBS/zlib-1.2.7/install/lib --with-jpeg=/d/PRUEBAS/LIBS/libjpeg9a/install/bin --with-libtiff=/d/PRUEBAS/LIBS/libtiff/install_with_jpeg/bin --with-geos=/d/PRUEBAS/LIBS/geos_3.4.2/install/bin/geos-config --with-static-proj4=/d/PRUEBAS/LIBS/proj_4.8.0/install/lib
I got this (trimmed a bit to show the relevant parts):
GDAL is now configured for i686-pc-mingw32
LIBTOOL support: yes
LIBZ support: external
LIBLZMA support: no
GRASS support: no
CFITSIO support: no
PCRaster support: internal
LIBPNG support: internal
GTA support: no
LIBTIFF support: external (BigTIFF=no)
LIBGEOTIFF support: internal
LIBJPEG support: external
GEORASTER support: no
GEOS support: yes
SWIG Bindings: no
Statically link PROJ.4: yes
enable OGR building: yes
enable pthread support: yes
enable POSIX iconv support:no, consider installing GNU libiconv
hide internal symbols: no
So I understand all is configured properly, as the libraries I built from source are detected and appear as external.
Now, if I try to build gdal
with geotiff
:
--with-geotiff=/d/PRUEBAS/LIBS/libgeotiff_1.4.0/install/lib/libgeotiff
I end up with this message:
checking for libtiff... using libtiff from /d/PRUEBAS/LIBS/libtiff/install_with_jpeg/bin.
checking for TIFFScanlineSize64 in -ltiff... no
checking for XTIFFClientOpen in -lgeotiff... no
checking for XTIFFClientOpen in -lgeotiff... (cached) no
configure: error: We require at least GeoTIFF 1.2.1. Consider using the one supplied with GDAL
I've been struggling with this for a while and I didn't find a way to solve it. Do you have any idea on how to solve this?
NOTE:
Some libraries are static-only: zlib
, libgeotiff
, tiff
.
The others are available as static and dynamic libraries.
The static libraries are in: path_to_the_installation/lib
.
The dynamic libraries are in: path_to_the_installation/bin
.