steve-numeus opened a new issue, #37011:
URL: https://github.com/apache/arrow/issues/37011

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   I have installed apache-arraow as per the instructions here: 
https://arrow.apache.org/install 
   
   ```
   sudo apt update
   sudo apt install -y -V ca-certificates lsb-release wget
   wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | 
tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename 
--short).deb
   sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release 
--codename --short).deb
   sudo apt update
   sudo apt install -y -V libarrow-dev # For C++
   sudo apt install -y -V libarrow-dataset-dev # For Apache Arrow Dataset C++
   sudo apt install -y -V libarrow-acero-dev # For Apache Arrow Acero
   sudo apt install -y -V libarrow-flight-dev # For Apache Arrow Flight C++
   sudo apt install -y -V libgandiva-dev # For Gandiva C++
   sudo apt install -y -V libparquet-dev # For Apache Parquet C++
   ```
   
   I then attempt to find the parquet libraries using cmake:
   
   ```
   find_package(Parquet REQUIRED)
   ```
   
   Cmake then issues a number of warnings for not being able to find some cmake 
modules:
   
   ```
   ThriftConfig.cmake
   lz4Config.cmake
   zstdConfig.cmake
   re2Config.cmake
   c-aresConfig.cmake
   ```
   
   Eg:
   
   ```
   CMake Warning at 
/usr/lib/x86_64-linux-gnu/cmake/Arrow/FindThriftAlt.cmake:56 (find_package):
     By not providing "FindThrift.cmake" in CMAKE_MODULE_PATH this project has
     asked CMake to find a package configuration file provided by "Thrift", but
     CMake did not find one.
   
     Could not find a package configuration file provided by "Thrift" with any
     of the following names:
   
       ThriftConfig.cmake
       thrift-config.cmake
   
     Add the installation prefix of "Thrift" to CMAKE_PREFIX_PATH or set
     "Thrift_DIR" to a directory containing one of the above files.  If "Thrift"
     provides a separate development package or SDK, be sure it has been
     installed.
   Call Stack (most recent call first):
     /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 
(find_package)
     /usr/lib/x86_64-linux-gnu/cmake/Arrow/ArrowConfig.cmake:115 
(find_dependency)
     /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 
(find_package)
     /usr/lib/x86_64-linux-gnu/cmake/Parquet/ParquetConfig.cmake:67 
(find_dependency)
     CMakeLists.txt:14 (find_package)
   ```
   
   It seems all of these warnings are just that, warnings, rather than errors, 
as ultimately all the depdendencies are found:
   
   eg:
   
   ```
   -- Checking for module 'thrift'
   --   Found thrift, version 0.16.0
   -- Found ThriftAlt: /usr/lib/x86_64-linux-gnu/libthrift.so (found version 
"0.16.0")  
   ```
   
   The warnings are incredibly noisy and suggest there is a problem, when in 
fact there isn't one.
   
   How can I find these cmake modules and install them so that these warnings 
go away, or how can I suppress these warnings?
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to