Thanks for the reply. The CURL is temporarily resolved. But the build on ARROW 
still has problem.

Setting Arrow_DIR didn’t work as GDAL cmake cannot find arrow anymore. Setting 
Arrow_ROOT allows GDAL cmake to find arrow, just the compilation failed. The 
same Arrow_ROOT setting works for the build of GDAL 3.8.4, but not 3.10.3. Not 
sure if there is anything changed between the two versions that caused the 
compilation failure.

From: Even Rouault <even.roua...@spatialys.com>
Date: Thursday, May 8, 2025 at 1:39 PM
To: Fengting Chen <fengting.c...@oracle.com>, gdal-dev 
<gdal-dev@lists.osgeo.org>
Subject: [External] : Re: [gdal-dev] GDAL 3.10.3 build questions regarding to 
CURL and ARROW


Le 08/05/2025 à 19:15, Fengting Chen via gdal-dev a écrit :
I have a couple questions regarding to building GDAL 3.10.3:


  1.  Error about CURL:

Could NOT find CURL: Found unsuitable version "7.61.1", but required is at   
least "7.68" (found /usr/lib64/libcurl.so, )



Any reason that curl 7.68 and higher is required?

Cf 
https://gdal.org/en/stable/development/rfc/rfc98_build_requirements_gdal_3_9.html<https://urldefense.com/v3/__https:/gdal.org/en/stable/development/rfc/rfc98_build_requirements_gdal_3_9.html__;!!ACWV5N9M2RV99hQ!Ogh2I513LdvztVcK6Y1ytzMbeH2ZyHRKHAUQajL7253eDXqVXLNpeOLC5DIohBHzHXLGfiqtJjjAheNqC2gUqbzNKzJ9$>
  . Maybe you can modify the minimum version to 7.61.1 but that isn't tested in 
CI.





  1.  In the build of GDAL 3.10.3,  GDAL_USE_ARROW, GDAL_USE_ARROWDATASET and 
GDAL_USE_PARQUET are on. The Arrow_ROOT, Parquet_ROOT and ArrowDataset_ROOT are 
set to the installation of arrow. But the build gave error:


I doubt those variables are honored. Try setting CMAKE_PREFIX_PATH  to the 
installation prefix of libarrow, or set Arrow_DIR, Parquet_DIR, 
ArrowDataset_DIR and ArrowAcero_DIR similar to below:

ArrowAcero_DIR=/home/even/install-arrow-20.0.0/lib/cmake/ArrowAcero
ArrowDataset_DIR=/home/even/install-arrow-20.0.0/lib/cmake/ArrowDataset
Arrow_DIR=/home/even/install-arrow-20.0.0/lib/cmake/Arrow
Parquet_DIR=/home/even/install-arrow-20.0.0/lib/cmake/Parquet

--

http://www.spatialys.com<https://urldefense.com/v3/__http:/www.spatialys.com__;!!ACWV5N9M2RV99hQ!Ogh2I513LdvztVcK6Y1ytzMbeH2ZyHRKHAUQajL7253eDXqVXLNpeOLC5DIohBHzHXLGfiqtJjjAheNqC2gUqYXqWzDM$>

My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to