You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Krisztian Szucs (JIRA)" <ji...@apache.org> on 2019/07/03 13:23:00 UTC

[jira] [Created] (ARROW-5838) [C++][Flight][OSX] Building 3rdparty grpc cannot find OpenSSL

Krisztian Szucs created ARROW-5838:
--------------------------------------

             Summary: [C++][Flight][OSX] Building 3rdparty grpc cannot find OpenSSL
                 Key: ARROW-5838
                 URL: https://issues.apache.org/jira/browse/ARROW-5838
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, FlightRPC
    Affects Versions: 0.14.0
            Reporter: Krisztian Szucs


Without system grpc installed compiling grpc cannot find openssl:

{code}
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.14.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.14.5/share/cmake/Modules/FindOpenSSL.cmake:413 (find_package_handle_standard_args)
  cmake/ssl.cmake:45 (find_package)
  CMakeLists.txt:141 (include)
{code}

Passing {{ARROW_CMAKE_OPTION="-DOPENSSL_ROOT_DIR=$(brew --prefix openssl)"}} doesn't seem to get forwarded to build_grpc
{code}
'/usr/local/Cellar/cmake/3.14.5/bin/cmake' '-DCMAKE_BUILD_TYPE=RELEASE' '-DCMAKE_PREFIX_PATH=';/usr/local;/usr/local;/var/folders/cz/jrwncy5s5cb612sgwscd0z8h0000gn/T/arrow-0.14.0.XXXXX.I2yQzNGd/apache-arrow-0.14.0/cpp/thirdparty/cares_
ep-install;'' '-DgRPC_CARES_PROVIDER=package' '-DgRPC_GFLAGS_PROVIDER=package' '-DgRPC_PROTOBUF_PROVIDER=package' '-DgRPC_SSL_PROVIDER=package' '-DgRPC_ZLIB_PROVIDER=package' '-DCMAKE_CXX_FLAGS= -Qunused-arguments -fcolor-diagnostics -O3
-DNDEBUG -O3 -DNDEBUG -fPIC' '-DCMAKE_C_FLAGS= -Qunused-arguments -O3 -DNDEBUG -O3 -DNDEBUG -fPIC' '-DCMAKE_INSTALL_PREFIX=/var/folders/cz/jrwncy5s5cb612sgwscd0z8h0000gn/T/arrow-0.14.0.XXXXX.I2yQzNGd/apache-arrow-0.14.0/cpp/thirdparty/grp
c_ep-install' '-DCMAKE_INSTALL_LIBDIR=lib' '-DProtobuf_PROTOC_LIBRARY=/usr/local/lib/libprotoc.dylib' '-DBUILD_SHARED_LIBS=OFF' '-GUnix Makefiles' '/var/folders/cz/jrwncy5s5cb612sgwscd0z8h0000gn/T/arrow-0.14.0.XXXXX.I2yQzNGd/apache-arrow-
0.14.0/cpp/build/grpc_ep-prefix/src/grpc_ep'
{code}

Installing grpc with brew helps though.



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