Repository: kudu Updated Branches: refs/heads/master abea8c69f -> ce80f4ebd
installation.adoc: add openssl requirement for macOS Change-Id: I6f68aeecd0194da645269bb232cc0b96d6bb5cc7 Reviewed-on: http://gerrit.cloudera.org:8080/4952 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/ce80f4eb Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/ce80f4eb Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/ce80f4eb Branch: refs/heads/master Commit: ce80f4ebd09d04aeb7160fe7a0a33368a7b0cb1e Parents: abea8c6 Author: Dan Burkert <[email protected]> Authored: Fri Nov 4 12:24:48 2016 -0700 Committer: Adar Dembo <[email protected]> Committed: Fri Nov 4 20:08:18 2016 +0000 ---------------------------------------------------------------------- docs/installation.adoc | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/ce80f4eb/docs/installation.adoc ---------------------------------------------------------------------- diff --git a/docs/installation.adoc b/docs/installation.adoc index c5d136b..21d6c6e 100644 --- a/docs/installation.adoc +++ b/docs/installation.adoc @@ -53,9 +53,9 @@ Linux:: link:troubleshooting.html#req_hole_punching[troubleshooting hole punching] for more information. - ntp. -OS X:: - - OS X 10.10 Yosemite or OS X 10.11 El Capitan. - - Prebuilt OS X packages are not provided. +macOS:: + - OS X 10.10 Yosemite, OS X 10.11 El Capitan, or macOS Sierra. + - Prebuilt macOS packages are not provided. Windows:: - Microsoft Windows is unsupported. @@ -510,23 +510,23 @@ make -j4 ==== [[osx_from_source]] -=== OS X +=== macOS The link:https://developer.apple.com/xcode/[Xcode] package is necessary for compiling Kudu. Some of the instructions below use link:http://brew.sh/[Homebrew] to install dependencies, but manual dependency installation is possible. [WARNING] -.OS X Known Issues +.macOS Known Issues ==== -Kudu support for OS X is experimental, and should only be used for development. -See link:https://issues.cloudera.org/browse/KUDU-1219[OS X Limitations & Known Issues] +Kudu support for macOS is experimental, and should only be used for development. +See link:https://issues.cloudera.org/browse/KUDU-1219[macOS Limitations & Known Issues] for more information. ==== . Install the prerequisite libraries, if they are not installed. + ---- -$ brew install autoconf automake cmake libtool pkg-config pstree +$ brew install autoconf automake cmake libtool openssl pkg-config pstree ---- . Clone the Git repository and change to the new `kudu` directory. @@ -569,13 +569,16 @@ anywhere in your filesystem except for the `kudu` directory itself. ---- mkdir -p build/release cd build/release -../../thirdparty/installed/common/bin/cmake -DCMAKE_BUILD_TYPE=release ../.. +../../thirdparty/installed/common/bin/cmake \ + -DCMAKE_BUILD_TYPE=release \ + -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \ + ../.. make -j4 ---- -.OSX Build Script +.macOS Build Script ==== -This script provides an overview of the procedure to build Kudu on OSX, and can +This script provides an overview of the procedure to build Kudu on macOS, and can be used as the basis for an automated deployment scenario. It assumes Xcode and Homebrew are installed. @@ -588,7 +591,10 @@ cd kudu thirdparty/build-if-necessary.sh mkdir -p build/release cd build/release -../../thirdparty/installed/common/bin/cmake -DCMAKE_BUILD_TYPE=release ../.. +../../thirdparty/installed/common/bin/cmake \ + -DCMAKE_BUILD_TYPE=release \ + -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \ + ../.. make -j4 ---- ==== @@ -712,4 +718,3 @@ $ sudo service kudu-tserver start == Next Steps - link:configuration.html[Configuring Kudu] - link:administration.html[Kudu Administration] -
