[gdal-dev] GDAL 1.9.2 not detecting options in ./configure

Even Rouault even.rouault at mines-paris.org
Fri Oct 12 11:07:59 PDT 2012


> Any tips?

I haven't looked at all details, but most of the weirdness you see when 
expliciting options is due that --with-bla (contrary to --with-bla-lib) 
requires to just specify the installation prefix, and not prefix/lib. Except 
when it is documented that it must point to /the/path/to/bla-config.

As I see you are using a 64-bit Fedora derived OS, there's an additional 
difficulty. When specifying explicitely --with-bla=prefix, the libs will be 
searched in prefix/lib, whereas those distros place them in prefix/lib64. So in 
most case, if the prefix is /usr (or /usr/local), just specify --with-bla 
without any path.

Due to the number of possible options, configuring GDAL can be indeed 
challenging. You could take inspiration from the .spec file of the elgis 
repository for example. Or when in doubt, open configure.in and study the 
detection logic...

> 
> thanks in advance
> 
> Eduardo Patto Kanegae
> http://www.webmapit.com | @webmapit
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list