[gdal-dev] Building multiple versions of GDAL from the same tree...

Carl Godkin cgodkin at gmail.com
Mon Feb 8 08:14:48 PST 2016


Thanks.  I'm glad it isn't just me!  I have never messed with autoconfig
but I'm certainly capable of testing when the time comes.

carl

On Mon, Feb 8, 2016 at 8:11 AM, Kurt Schwehr <schwehr at gmail.com> wrote:

> Hi Carl,
>
> Adding "VPATH" support for the autoconf setup has been on my wish list of
> things to have in the current build system.  It will take a bit of
> patching.  And hasn't made it up to the top of my priority list (and won't
> for a while)
>
> So the answer is:  Not yet.
>
> If anyone wants to take a stab at it and post the patch, I'd be happy to
> give it a look and test it.
>
> -kurt
>
> On Mon, Feb 8, 2016 at 7:01 AM, Carl Godkin <cgodkin at gmail.com> wrote:
>
>>
>> Hi,
>>
>> With a shiny new version of GDAL now available (thanks!), I'm wondering
>> about a problem with the builds that I always have but have never asked
>> about before.
>>
>> Since I need to build several Linux variants of various third party
>> libraries, I can usually persuade "configure" and make to work from a
>> sub-directory like this:
>>
>> cd library && mkdir version1 && cd version1
>> ../configure options...
>> make
>>
>> followed by
>>
>> cd library && mkdir version2 && cd version2
>> ../configure options...
>> make
>>
>> and
>>
>> cd library && mkdir version3 && cd version3
>> ../configure options...
>> make
>>
>> so that I end up with three completely independent builds of the library
>> in the sub-directories.
>>
>> I've never been able to get this sort of build to work with GDAL
>> however.  I know configure has a million options so I may have overlooked a
>> trick for this.
>>
>> Has anyone else been successful trying this with GDAL?
>>
>> Thanks,
>>
>> carl
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
>
> --
> --
> http://schwehr.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160208/95ded141/attachment-0001.html>


More information about the gdal-dev mailing list