drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From par...@apache.org
Subject [1/5] drill git commit: Updated instructions for Linux build of the Drill Native Client
Date Tue, 03 May 2016 17:50:44 GMT
Repository: drill
Updated Branches:
  refs/heads/master b8f6ebc65 -> 2d9f9abb4


Updated instructions for Linux build of the Drill Native Client

1. CMake 3.0 is required, rather than CMake 2.8
2. Added some info that is helpful for the case where you build Boost the hard way.

This closes #492


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/94b8aec6
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/94b8aec6
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/94b8aec6

Branch: refs/heads/master
Commit: 94b8aec6414b006780a967ace4a29b36ac8b867b
Parents: b8f6ebc
Author: Patrick Wong <pwong@maprtech.com>
Authored: Mon May 2 18:30:34 2016 -0700
Committer: Parth Chandra <parthc@apache.org>
Committed: Tue May 3 10:50:08 2016 -0700

----------------------------------------------------------------------
 contrib/native/client/readme.linux | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/94b8aec6/contrib/native/client/readme.linux
----------------------------------------------------------------------
diff --git a/contrib/native/client/readme.linux b/contrib/native/client/readme.linux
index c2f9ba2..3e2336e 100644
--- a/contrib/native/client/readme.linux
+++ b/contrib/native/client/readme.linux
@@ -24,8 +24,8 @@ Install Prerequisites
 0) Install development tools
     $>yum groupinstall 'Development Tools'
 
-1) CMAKE 2.8
-    $> yum install cmake28
+1) CMAKE 3.0
+    $> yum install cmake3
 
 2.1) Download protobuf 2.5 from :
     http://rpm.pbone.net/index.php3/stat/4/idpl/23552166/dir/centos_6/com/protobuf-2.5.0-16.1.x86_64.rpm.html
@@ -73,13 +73,22 @@ Install Prerequisites
 OR 
     Download and build using boost build. 
     See this link for how to build: http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html#prepare-to-use-a-boost-library-binary

-    
+    After building boost the hard way, you will need to do some symlinks for compatibility:
+    cd /usr/lib
+    ln -svf libboost_regex.so libboost_regex-mt.so
+    ln -svf libboost_system.so libboost_system-mt.so
+    ln -svf libboost_filesystem.so libboost_filesystem-mt.so
+    ln -svf libboost_date_time.so libboost_date_time-mt.so
+    ln -svf libboost_regex.a libboost_regex-mt.a
+    ln -svf libboost_system.a libboost_system-mt.a
+    ln -svf libboost_filesystem.a libboost_filesystem-mt.a
+    ln -svf libboost_date_time.a libboost_date_time-mt.a
 
 Build drill client
 -------------------
     $> cd DRILL_DIR/contrib/native/client
     $> mkdir build
-    $> cd build && cmake28 -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ..
+    $> cd build && cmake3 -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ..
     $> make
 
 Test


Mime
View raw message