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

[C++] Bundled gRPC fails building (cannot find c-ares)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • C++
    • None

    Description

      If I try to build Arrow C++ without a conda toolchain, I get the following error when gRPC is being built by the cmake files:

      CMake Error at cmake/cares.cmake:38 (find_package):
        Could not find a package configuration file provided by "c-ares" with any
        of the following names:
      
          c-aresConfig.cmake
          c-ares-config.cmake
      
        Add the installation prefix of "c-ares" to CMAKE_PREFIX_PATH or set
        "c-ares_DIR" to a directory containing one of the above files.  If "c-ares"
        provides a separate development package or SDK, be sure it has been
        installed.
      Call Stack (most recent call first):
        CMakeLists.txt:139 (include)
      

      It seems c-ares is found by the following line in ThirdPartyToolchain.cmake:

      find_package(c-aresAlt)
      

      But gRPC doesn't pick it up...

      Attachments

        Activity

          People

            Unassigned Unassigned
            apitrou Antoine Pitrou
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: