27 | | = Technology = |
28 | | * [http://code.google.com/p/hypertable/wiki/SourceCode Get Source Code] |
29 | | * [http://code.google.com/p/hypertable/wiki/HowToInstall Build Source Code & Generate Documentation Tree] |
30 | | * Prerequisite |
31 | | {{{ |
32 | | $ apt-get install build-essential (if stdio.h not found) |
33 | | $ apt-get install zlib1g-dev (if CMake Error: Could NOT find z library) |
34 | | $ apt-get install libboost.*-dev libboost-doc libboost.*1.34.1 (install Boost version 1.34.1) |
35 | | NOTE. 用apt-get安裝boost 1.34.1,在執行cmake編譯hypertable時,需要另外定義 -DBoost_INCLUDE_DIR="/usr/include/boost" |
36 | | $ apt-get install liblog4cpp4 liblog4cpp4-dev liblog4cpp4-doc (install log4cpp) |
37 | | $ apt-get install expat libexpat1 libexpat1-dev (install expat) |
38 | | $ apt-get install doxygen doxygen-doc doxygen-gui (install doxygen) |
39 | | $ apt-get install graphviz graphviz-dev graphviz-doc (install graphviz) |
40 | | $ apt-get install libgoogle-perftools0 libgoogle-perftools-dev (install tcmalloc) |
41 | | $ apt-get install libreadline5 libreadline5-dev libreadline5-dbg (install readline library) |
42 | | $ apt-get install libattr1 libattr1-dev (if #include <attr/xattr.h> not found) |
43 | | }}} |
44 | | * Configure the build |
45 | | {{{ |
46 | | sunny@hsihdp:~/build/hypertable$ cmake -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE="Debug" -DBoost_INCLUDE_DIR="/usr/include/boost" ~/git/hypertable |
47 | | -- Looking for required boost libraries... |
48 | | -- Boost include dir: /usr/include/boost |
49 | | -- Boost thread lib: /usr/lib/libboost_thread-mt.so |
50 | | -- Boost program options lib: /usr/lib/libboost_program_options-mt.so |
51 | | -- Boost lib dir: /usr/lib |
52 | | -- Boost version: 1_34_1 |
53 | | -- Looking for doxygen... |
54 | | -- Looking for doxygen... - found /usr/bin/doxygen |
55 | | -- Looking for dot tool... |
56 | | -- Looking for dot tool... - found /usr/bin/dot |
57 | | -- Found Tcmalloc: /usr/lib/libtcmalloc_minimal.so |
58 | | -- Found Tcmalloc: /usr/lib/libtcmalloc_minimal.so |
59 | | -- Got boost 1.34.x, prepend fix directory |
60 | | -- Configuring done |
61 | | -- Generating done |
62 | | -- Build files have been written to: /home/sunny/build/hypertable |
63 | | }}} |
64 | | * Build the software |
65 | | {{{ |
66 | | sunny@hsihdp:~/build/hypertable$ make |
67 | | [ 6%] Built target HyperComm |
68 | | [ 10%] Built target HyperCommon |
69 | | [ 11%] Built target commTest |
70 | | [ 12%] Built target commTestDatagram |
71 | | [ 12%] Built target commTestReverseRequest |
72 | | [ 13%] Built target commTestTimeout |
73 | | [ 13%] Built target commTestTimer |
74 | | [ 13%] Built target sampleClient |
75 | | [ 14%] Built target testServer |
76 | | [ 14%] Built target htConvert |
77 | | [ 17%] Built target Hyperspace |
78 | | [ 33%] Built target Hypertable |
79 | | [ 42%] Built target HyperDfsBroker |
80 | | [ 50%] Built target Hyperspace.Master |
81 | | [ 56%] Built target Hypertable.Master |
82 | | [ 57%] Built target htgc |
83 | | [ 73%] Built target Hypertable.RangeServer |
84 | | [ 76%] Built target count_stored |
85 | | [ 79%] Built target csdump |
86 | | [ 79%] Built target bmz-test |
87 | | [ 79%] Built target bmzip |
88 | | [ 80%] Built target compressor_test |
89 | | [ 80%] Built target generate_test_data |
90 | | [ 80%] Built target loadDataSourceTest |
91 | | [ 81%] Built target locationCacheTest |
92 | | [ 81%] Built target schemaTest |
93 | | [ 85%] Built target dfsTest |
94 | | [ 88%] Built target dfsclient |
95 | | [ 94%] Built target hyperspace |
96 | | [ 94%] Built target hyperspaceTest |
97 | | [ 95%] Built target hypertable |
98 | | [ 95%] Built target hypertable_test |
99 | | [ 96%] Built target dumplog |
100 | | [ 96%] Built target merge_diff |
101 | | [ 97%] Built target rsTest |
102 | | [ 98%] Built target rsclient |
103 | | [ 99%] Built target rsdump |
104 | | [ 99%] Built target serverup |
105 | | [100%] Built target localBroker |
106 | | }}} |
107 | | |
| 27 | = How To Install = |
| 28 | * [http://trac.nchc.org.tw/cloud/wiki/HyperTable/HowToInstall Hypertable installation guide] |