Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- 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
- Go to the directory generated after decompression.
cd treebest
- Modify the following file.
- Open common/hash_com.h.
vim common/hash_com.h
- Press i to enter the insert mode and change false in line 197 to 0.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open Makefile.
vim Makefile
- 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.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open common/hash_com.h.
- Perform the compilation.
make
Parent topic: TreeBeST 1.9.2 Porting Guide (Kylin V10)