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: ----
  #!/bin/bash
  
  sudo yum -y install boost-static boost-devel openssl-devel cyrus-sasl-devel
  git clone http://github.com/cloudera/kudu
  cd kudu
  thirdparty/build-if-necessary.sh
  
negative.code: thirdparty/installed/bin/cmake .
  make -j4
  ----
  
  .OSX Build Script
  ====
  This script provides an overview of the procedure to build Kudu on OSX, and can
  be used as the basis for an automated deployment scenario. It assumes Xcode and Homebrew
  are installed.
  
  ----
  #!/bin/bash
  
  brew install autoconf automake cmake libtool pkg-config boost pstree
  brew install openssl
  brew link -f openssl
  git clone http://github.com/cloudera/kudu
  cd kudu
  thirdparty/build-if-necessary.sh
  thirdparty/installed/bin/cmake .
  make -j4
  ----
  ====
  
  [[build_cpp_client]]
  == Installing the C++ Client Libraries
  