orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wgtmac <...@git.apache.org>
Subject [GitHub] orc pull request #191: ORC-265: [C++] Add documentation for C++ build suppor...
Date Tue, 28 Nov 2017 19:48:29 GMT
Github user wgtmac commented on a diff in the pull request:

    https://github.com/apache/orc/pull/191#discussion_r153603410
  
    --- Diff: site/_docs/building.md ---
    @@ -70,3 +70,25 @@ To build:
     % mvn package
     ~~~
     
    +## Building just C++
    +
    +~~~ shell
    +% mkdir build
    +% cd build
    +% cmake .. -DBUILD_JAVA=OFF
    +% make package test-out
    +~~~
    +
    +## Specify third-party libraries for C++ build
    +
    +~~~ shell
    +% mkdir build
    +% cd build
    +% GTEST_HOME=<PATH to Google Test library> \
    +  SNAPPY_HOME=<PATH to Snappy library> \
    +  ZLIB_HOME=<PATH to ZLIB library> \
    +  LZ4_HOME=<PATH to LZ4 library> \
    +  PROTOBUF_HOME=<PATH to Protobuf library> \
    +  cmake  .. -DBUILD_JAVA=OFF
    +% make package test-out
    --- End diff --
    
    I need to explicitly set OPENSSL_ROOT_DIR on my mac, otherwise I will end up with the
following error message:
    
    CMake Error at /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138
(message):
      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):
      /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378
(_FPHSA_FAILURE_MESSAGE)
      /Applications/CMake.app/Contents/share/cmake-3.7/Modules/FindOpenSSL.cmake:385 (find_package_handle_standard_args)
      CMakeLists.txt:41 (find_package)


---

Mime
View raw message