Building Jiufeng - ned0000/Jiufeng GitHub Wiki
Install compile tool
Use following command to install gcc and make.
sudo apt-get install make
sudo apt-get install gcc
Install git tool
Use following command to install git utility.
sudo apt-get install git
Download source code
Use git clone to download source code.
git clone https://github.com/ned0000/Jiufeng.git
Install sqlite3 utility and development library
Use following command to install sqlite3 and development library. The library is used by Jiufeng as DBMS.
sudo apt-get install sqlite3 libsqlite3-dev
Install libxml2
Use following command to install libxml2. The library is used by Jiufeng as XML parser.
sudo apt-get install sqlite3 libsqlite3-dev
Install openssl development library
Use following command to install openssl development library. The library is used by Jiufeng for encryption.
sudo apt-get install libssl-dev
Build Jiufeng
Enter the top directory and run the make command.
cd Jiufeng/
make -f linux.mak
Use following command to build the debug version so gdb can be used for debug.
make -f linux.mak DEBUG_JIUFENG=yes
Run Jiufeng
Enter the bin directory and run executable binary.
cd build/bin
./jf_cli