[gdal-dev] Building GDAL on linux with minimal drivers

Mateusz Loskot mateusz at loskot.net
Thu Mar 30 07:51:49 PDT 2017


On 30 March 2017 at 16:48, Even Rouault <even.rouault at spatialys.com> wrote:
> On jeudi 30 mars 2017 07:34:35 CEST Kurt Schwehr wrote:
>
>> At one point, I had a autoconf configure setup that was pretty minimal.
>
>> While it built, it was not so much fun to work with.  Here are some
>
>> remnants of notes that might constitute the beginnings of a
>
>> sourceme-minimal.sh.  More will likely be needed depending on libs are
>
>> already installed on your machine.  And gdal without many of these libs
>
>> (e.g. proj4, geos, libz/zlib) is just frustrating.
>
>
>
> As it seems several people have needs for minimized builds, perhaps they
> should consider upstreaming their efforts with build options (like --minimal
> and then --with-XXXX to selectively enable drivers), and the potential code
> refactoring that might make it easy. I think a continuous integration target
> that would test that would be needed to ensure this doesn't get broken by
> later developments.


BTW, I'm not sure what is wrong with the manual minimal build
https://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers
FYI, I used it two weeks ago, and update the wiki.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list