Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17753

[C++][Python][Docs] Provide instructions for "fixing" build environment issues

    XMLWordPrintableJSON

Details

    Description

      Due to bigger changes in the build workflow for Arrow C++ coming up in the 10.0.0 release, failures when building the libraries are quite common. The errors we bump into are similar to:

          CMake Error at build/dist/lib/cmake/ArrowPython/ArrowPythonConfig.cmake:61 (arrow_keep_backward_compatibility):
            Unknown CMake command "arrow_keep_backward_compatibility".
          Call Stack (most recent call first):
            CMakeLists.txt:240 (find_package)
      

      or

      -- Found Python3Alt: /Users/alenkafrim/repos/pyarrow-dev-9/bin/python  
      CMake Error at /opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
        By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
        asked CMake to find a package configuration file provided by "Arrow", but
        CMake did not find one.
      
      
        Could not find a package configuration file provided by "Arrow" with any of
        the following names:
      
      
          ArrowConfig.cmake
          arrow-config.cmake
      
      
        Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
        "Arrow_DIR" to a directory containing one of the above files.  If "Arrow"
        provides a separate development package or SDK, be sure it has been
        installed.
      Call Stack (most recent call first):
        build/dist/lib/cmake/ArrowPython/ArrowPythonConfig.cmake:54 (find_dependency)
        CMakeLists.txt:240 (find_package)
      

      Connected issues:

      Attachments

        Issue Links

          Activity

            People

              anjakefala Anja Boskovic
              alenka Alenka Frim
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h