[gdal-dev] Abou R sf library and GDAL
Roger Bivand
Roger.Bivand at nhh.no
Wed Oct 30 09:02:29 PDT 2024
On Tue, 29 Oct 2024, Roger Bivand wrote:
> On Tue, 29 Oct 2024, Even Rouault wrote:
>
>>> We'll try, but GDAL 3.9 needs to be more stable than 4 3.9 releases in
>> five months suggests for it to be easy to ask for.
>>
>> 3.9.3 will be the the last in the 3.9 series, with whatever bugs it has.
>
> Thanks! That'll be enough, I think; I just need to try the MXE build first to
> be able to check that no extra upstream dependencies are brought in than we
> already know about. The macOS static build is stuck at 3.5 as it is still
> pre-Cmake; that may take more work.
>
It turned out on enquiry that Tomas Kalibera of R-core already had
prepared an updated Windows RTools bundle for SVN commits 6335-6327 that
is queued for assessment for the main R Windows package static build
train, and for signing before release. It includes GDAL 3.9.3. Using that
draft toolset, I built locally an sf binary for Windows and have passed it
to Abel offlist for testing and preliminary deployment.
Tomas also pointed to hot-fixes needed with 3.9.3 in pkg-config in that
setting to remove ".lib" from "-lshell32.lib" and "-lole32.lib" - towards
end of:
https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/gdal.mk
If these file extensions as such are not needed in other settings, maybe
they could be suppressed in the next RC?
There are other patches too, most masking "int main(...)" in apps, and
fine-tuning Cmake behaviour, and listed in
https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/gdal-1-fixes.patch
and needing intervention at each upgrade.
Roger
> Roger
>
>>
>> Even
>>
>>
>
>
--
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: Roger.Bivand at nhh.no
More information about the gdal-dev
mailing list