Antoine Pitrou created ARROW-5192:
-------------------------------------

             Summary: [C++] Bundled gRPC fails building (cannot find c-ares)
                 Key: ARROW-5192
                 URL: https://issues.apache.org/jira/browse/ARROW-5192
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Antoine Pitrou


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:
{code}
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)
{code}

It seems c-ares is found by the following line in ThirdPartyToolchain.cmake:
{code}
find_package(c-aresAlt)
{code}

But gRPC doesn't pick it up...




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to