Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-28 Thread andy
Hi Even, On Mon, 28 Aug 2023 at 16:19, Even Rouault wrote: > > > Do you have some tips for me, to avoid the reference to 14? > The below error message suggest you have a dangling > /usr/local/lib/cmake/Arrow/ArrowTargets.cmake file ==> remove the > /usr/local/lib/cmake/Arrow directory > I have

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-28 Thread Andrew C Aitchison
On Mon, 28 Aug 2023, andy wrote: I have removed from "/usr/local/lib" these files ./libparquet.so.1400 ./libarrow.so.1400.0.0 ./libparquet.so.1400.0.0 ./libarrow.so.1400 But now, when I run "cmake -D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF .." I have the below error. I have already tried before to ru

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-28 Thread Even Rouault
Do you have some tips for me, to avoid the reference to 14? The below error message suggest you have a dangling /usr/local/lib/cmake/Arrow/ArrowTargets.cmake file ==> remove the /usr/local/lib/cmake/Arrow directory Thank you CMake Error at /usr/local/lib/cmake/Arrow/ArrowTargets.cmake:88

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-28 Thread andy
Hi Evan, and thank you. it seems like you have a mix of Arrow related libs: 13.0 with ArrowAcero > and ArrowDataset in /usr/lib/x86_64-linux-gnu, and 14.0 for arrow and > parquet in /usr/local/lib. This is very prone to lead to errors at build > time or runtime. You should use libraries coming fro

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-28 Thread Even Rouault
Andrea, it seems like you have a mix of Arrow related libs: 13.0 with ArrowAcero and ArrowDataset in /usr/lib/x86_64-linux-gnu, and 14.0 for arrow and parquet in /usr/local/lib. This is very prone to lead to errors at build time or runtime. You should use libraries coming from one single versi

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-27 Thread andy
Hi Scott, Yeah, it's not finding something. FYI, I don't use the > GDAL_USE_PARQUET=ON, it just finds it. My Arrow/Parquet related output looks like this (real path): -- Arrow version: 14.0.0 -- Found the Arrow shared library: /usr/local/lib/libarrow.so.1400.0.0 -- Found the Arrow import librar

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-27 Thread Scott
Yeah, it's not finding something. FYI, I don't use the GDAL_USE_PARQUET=ON, it just finds it. My Arrow/Parquet related output looks like this (not real paths): -- Arrow version: 12.0.1 -- Found the Arrow shared library: /opt/local/lib/libarrow.so.1200.1.0 -- Found the Arrow import library: ARRO

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-27 Thread andy
Hi scott, > Parquet issue. Do you have apache-arrow installed? > https://arrow.apache.org/docs/index.html I have installed pyarrow and compiled arrow/cpp. During "cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON -D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF ..", I have -- Found the ArrowDataset shared libr

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-27 Thread andy
Hi Andrew, On Sat, 26 Aug 2023 at 16:39, Andrew C Aitchison wrote: > My ubuntu has >/usr/include/ntirpc/rpc/rpc.hfrom libntirpc-dev > and >/usr/include/tirpc/rpc/rpc.h from libtirpc-dev > and builds the ogdi driver without problem. > I have both, but I have those blocking errors

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-26 Thread Andrew C Aitchison
On Sat, 26 Aug 2023, Hernán De Angelis wrote: rpc.h is missing och is not located in a standard path in your system. What package provides rpc in your OS? Perhaps installing grpc-devel? My ubuntu has /usr/include/ntirpc/rpc/rpc.h from libntirpc-dev and /usr/include/tirpc/rpc/rpc.h from li

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-26 Thread Scott
Parquet issue. Do you have apache-arrow installed? https://arrow.apache.org/docs/index.html If you cmake it and install it in the default path, gdal should find it. I'm using apache-arrow 12.0.1 with gdal 3.7.1. Even solved this for me. The OGDI may be a different issue. It seems to be looking

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-26 Thread andy
If I remove OGDI and PARQUET, I have no error cmake -D GDAL_USE_GEOS=ON -D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF -D OGR_ENABLE_DRIVER_PARQUET:BOOL=OFF .. cmake --build . I know it's obvious, but it's to see if there was more ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-26 Thread andy
Hi, if I remove OGDI support "cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON -D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF ..", I have the error below after "cmake --build ." [ 93%] Built target gcore_mdreader Scanning dependencies of target GDAL [ 93%] Linking CXX shared library libgdal.so /usr/bin/ld: o

Re: [gdal-dev] compiling gdal: ogr_ODS error

2023-08-26 Thread Hernán De Angelis
rpc.h is missing och is not located in a standard path in your system. What package provides rpc in your OS? Perhaps installing grpc-devel? Den 2023-08-26 kl. 13:06, skrev andy: Hi, if I try to compile gdal 3.7.1 on debian bullseye, cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON .. cmake --

[gdal-dev] compiling gdal: ogr_ODS error

2023-08-26 Thread andy
Hi, if I try to compile gdal 3.7.1 on debian bullseye, cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON .. cmake --build . I have this error: Scanning dependencies of target ogr_ODS [ 89%] Building CXX object ogr/ogrsf_frmts/ods/CMakeFiles/ogr_ODS.dir/ods_formula_node.cpp.o [ 89%] Building CXX o