Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the source package directory and decompress the installation package.
    cd /path/to/treebest
    tar -xvf treebest-1.9.2.tar.gz
    mv treebest-1.9.2 treebest
  3. Go to the directory generated after decompression.
    cd treebest
  4. Modify the following file.
    1. Open common/hash_com.h.
      vim common/hash_com.h
    2. Press i to enter the insert mode and change false in line 197 to 0.
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Open Makefile.
      vim Makefile
    5. Press i to enter the insert mode. Change lines 1 and 2 to CC=clang and CXX=clang++ respectively, and add -Wl,-z,-muldefs to line 3.
    6. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Perform the compilation.
    make