anchor.diff:  ----
   ====
   
  -[[ubuntu_from_source]]
  -=== Ubuntu or Debian
  -
  -. Install the prerequisite libraries, if they are not installed:
  -+
  -----
  -$ sudo apt-get -y install git autoconf automake libboost-thread-dev curl gcc g++ \
  -  libssl-dev libsasl2-dev libtool ntp
  -----
  -
  -. Optional: Install the `asciidoctor` gem and xsltproc if you plan to build documentation.
  -+
  -----
  -$ sudo apt-get -y install asciidoctor xsltproc
  -----
  -
  -. Clone the Git repository and change to the new `kudu` directory.
  -+
  -[source,bash]
  -----
  -$ git clone http://github.com/cloudera/kudu
  -$ cd kudu
  -----
  -
  -. Build any missing third-party requirements using the `build-if-necessary.sh` script.
  -+
  -[source,bash]
  -----
  -$ thirdparty/build-if-necessary.sh
  -----
  -
  -. Build Kudu.
  -+
  -[source,bash]
  -----
  -thirdparty/installed/bin/cmake . -DCMAKE_BUILD_TYPE=release
  -make -j4
  -----
  -
  -. Optional: Build the documentation. NOTE: This command builds local documentation that
  -is not appropriate for uploading to the Kudu website.
  -+
  -----
  -$ make docs
  -----
  -
  -.Ubuntu / Debian Build Script
  -====
  -This script provides an overview of the procedure to build Kudu on RHEL or
  -CentOS, and can be used as the basis for an automated deployment scenario. It skips
  -the steps marked *Optional* above.
  -
  -[source,bash]
  -----
  -#!/bin/bash
  -
  -sudo apt-get -y install git autoconf automake libboost-thread-dev curl \
  -  gcc g++ libssl-dev libsasl2-dev libtool ntp
  -git clone http://github.com/cloudera/kudu
  -cd kudu
  -thirdparty/build-if-necessary.sh
  -thirdparty/installed/bin/cmake . -DCMAKE_BUILD_TYPE=release
  -make -j4
  -make install
  -----
  -====
  -
   [[osx_from_source]]
   === OS X
   The Xcode toolchain is necessary for compiling Kudu. Use `xcode-select --install`
  
positive.code: thirdparty/installed/bin/cmake .
  make -j4
  ----
  
  [[build_cpp_client]]
  == Installing the C++ Client Libraries
  
negative.code: . Install the prerequisite libraries, if they are not installed:
  +
  ----
  $ sudo yum install boost-static boost-devel openssl-devel cyrus-sasl-devel \
    cyrus-sasl-plain patch pkg-config make rsync vim-common gdb
  ----
  
  . Optional: Install the `asciidoctor` gem if you plan to build documentation.
  