[ 
https://issues.apache.org/jira/browse/ARROW-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Szucs resolved ARROW-5838.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Issue resolved by pull request 4795
[https://github.com/apache/arrow/pull/4795]

> [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
>            Assignee: Sutou Kouhei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to