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 2016/06/22 01:54:24 UTC

[4/4] incubator-kudu git commit: Add additional documentation for bad installation

Add additional documentation for bad installation

Added more to the documentation for botched installation. Users
should uninstall the dependencies and install them again after
cleaning the project.

See:
https://github.com/anjuwong/kudu/blob/installation-doc/docs/installation.adoc#os-x

Change-Id: I451549b8396d929dd53db629ff9ba5c9f87ca5a2
Reviewed-on: http://gerrit.cloudera.org:8080/3424
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/a35d556d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/a35d556d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/a35d556d

Branch: refs/heads/master
Commit: a35d556d0cab6c6520d0d08a78f103cb7d3bf0bc
Parents: 3bfe712
Author: Andrew Wong <an...@cloudera.com>
Authored: Mon Jun 20 19:15:55 2016 -0700
Committer: Adar Dembo <ad...@cloudera.com>
Committed: Wed Jun 22 01:53:32 2016 +0000

----------------------------------------------------------------------
 docs/installation.adoc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/a35d556d/docs/installation.adoc
----------------------------------------------------------------------
diff --git a/docs/installation.adoc b/docs/installation.adoc
index e93ac6c..4c681d0 100644
--- a/docs/installation.adoc
+++ b/docs/installation.adoc
@@ -530,6 +530,24 @@ $ cd kudu
 ----
 $ thirdparty/build-if-necessary.sh
 ----
+  - If different versions of the dependencies are installed and used when calling
+`thirdparty/build-if-necessary.sh`, you may get stuck with output similar to the
+following:
++
+----
+./configure: line 16299: error near unexpected token `newline'
+./configure: line 16299: `  PKG_CHECK_MODULES('
+----
++
+The thirdparty builds may be cached and may reflect the incorrect versions of the
+dependencies. Ensure that you have the correct dependencies listed in Step 1, clean
+the workspace, and then try to re-build.
++
+[source,bash]
+----
+$ git clean -fdx
+$ thirdparty/build-if-necessary.sh
+----
 
 . Build Kudu. Choose a build directory for the intermediate output, which can be
 anywhere in your filesystem except for the `kudu` directory itself.
@@ -542,6 +560,7 @@ cd build/release
 make -j4
 ----
 
+====
 .OSX Build Script
 ====
 This script provides an overview of the procedure to build Kudu on OSX, and can