You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2018/12/11 20:25:59 UTC
kudu git commit: KUDU-1375: [docs] Remove "binaries" in the Build
from Source section
Repository: kudu
Updated Branches:
refs/heads/master 164ec90d7 -> 77eadefa1
KUDU-1375: [docs] Remove "binaries" in the Build from Source section
- make install does not install the Kudu binaries
Change-Id: I5b1e7337cdd9f04eea1c2b4da3d27b9815553121
Reviewed-on: http://gerrit.cloudera.org:8080/12060
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Adar Dembo <ad...@cloudera.com>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/77eadefa
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/77eadefa
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/77eadefa
Branch: refs/heads/master
Commit: 77eadefa15cf976bd45d322ef3bc66726fadd1c8
Parents: 164ec90
Author: Alex Rodoni <ar...@cloudera.com>
Authored: Mon Dec 10 12:52:18 2018 -0800
Committer: Adar Dembo <ad...@cloudera.com>
Committed: Tue Dec 11 20:25:14 2018 +0000
----------------------------------------------------------------------
docs/installation.adoc | 37 +++++++++++++++++++++++++++++++++----
1 file changed, 33 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/77eadefa/docs/installation.adoc
----------------------------------------------------------------------
diff --git a/docs/installation.adoc b/docs/installation.adoc
index fe9bf16..443bedb 100644
--- a/docs/installation.adoc
+++ b/docs/installation.adoc
@@ -316,7 +316,7 @@ cd build/release
make -j4
----
-. Optional: Install Kudu binaries, libraries, and headers.
+. Optional: Install Kudu client libraries and headers.
If you do not specify an installation directory through the `DESTDIR`
environment variable, `/usr/local/` is the default.
+
@@ -324,7 +324,16 @@ environment variable, `/usr/local/` is the default.
----
sudo make DESTDIR=/opt/kudu install
----
-
+NOTE: 'make install' does not copy Kudu binaries. You need to manually copy them
+as below:
+* Copy the `kudu-tserver`, `kudu-master`, and `kudu` binaries from within the `bin`
+subdirectory of your Kudu build directory.
+* We typically recommend putting `kudu` in the bin directory (e.g. `/usr/bin`)
+and the server binaries in the sbin directory (e.g. `/usr/sbin`).
+* However, if you use the default installation directory without specifying the
+`DESTDIR` environment variable, `make install` will install files into `/usr/local`,
+so you should copy the Kudu binaries to `/usr/local/bin` and `/usr/local/sbin`
+respectively.
. Optional: Build the documentation. NOTE: This command builds local documentation that
is not appropriate for uploading to the Kudu website.
+
@@ -409,7 +418,7 @@ cd build/release
make -j4
----
-. Optional: Install Kudu binaries, libraries, and headers.
+. Optional: Install Kudu client libraries and headers.
If you do not specify an installation directory through the `DESTDIR`
environment variable, `/usr/local/` is the default.
+
@@ -417,6 +426,16 @@ environment variable, `/usr/local/` is the default.
----
sudo make DESTDIR=/opt/kudu install
----
+NOTE: 'make install' does not copy Kudu binaries. You need to manually copy them
+as below:
+* Copy the `kudu-tserver`, `kudu-master`, and `kudu` binaries from within the `bin`
+subdirectory of your Kudu build directory.
+* We typically recommend putting `kudu` in the bin directory (e.g. `/usr/bin`)
+and the server binaries in the sbin directory (e.g. `/usr/sbin`).
+* However, if you use the default installation directory without specifying the
+`DESTDIR` environment variable, `make install` will install files into `/usr/local`,
+so you should copy the Kudu binaries to `/usr/local/bin` and `/usr/local/sbin`
+respectively.
. Optional: Build the documentation. NOTE: This command builds local documentation that
is not appropriate for uploading to the Kudu website.
@@ -492,7 +511,7 @@ cd build/release
make -j4
----
-. Optional: Install Kudu binaries, libraries, and headers.
+. Optional: Install Kudu client libraries and headers.
If you do not specify an installation directory through the `DESTDIR`
environment variable, `/usr/local/` is the default.
+
@@ -500,6 +519,16 @@ environment variable, `/usr/local/` is the default.
----
sudo make DESTDIR=/opt/kudu install
----
+NOTE: 'make install' does not copy Kudu binaries. You need to manually copy them
+as below:
+* Copy the `kudu-tserver`, `kudu-master`, and `kudu` binaries from within the `bin`
+subdirectory of your Kudu build directory.
+* We typically recommend putting `kudu` in the bin directory (e.g. `/usr/bin`)
+and the server binaries in the sbin directory (e.g. `/usr/sbin`).
+* However, if you use the default installation directory without specifying the
+`DESTDIR` environment variable, `make install` will install files into `/usr/local`,
+so you should copy the Kudu binaries to `/usr/local/bin` and `/usr/local/sbin`
+respectively.
.SLES Build Script
====