Installing SSDB
1 wget--no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip 2 Unzip Master 3 CD Ssdb-master 4 make
Report the following error
error! Autoconf required! Install autoconf firstmakefile:4: build_config.mk:No such file or directorymake: * * No rule to make target ' build_config . Mk '. Stop.
Installing autoconf
Yum Updateyum install-y autoconf
After the installation autoconf is successful, continue make
1 make
Report the following error
MAKE[1]: Entering directory '/root/ssdb-master/deps/leveldb-1.18 ' g++-I.-i./include-fno-builtin-memcmp-pthread-dos _linux-dleveldb_platform_posix-dsnappy-i. /snappy-1.1.0-o2-dndebug-c db/builder.cc-o db/builder.omake[1]: g++: Command not foundmake[1]: * * * [DB/BUILDER.O] Erro R 127make[1]: Leaving directory '/root/ssdb-master/deps/leveldb-1.18 ' make: * * * [ALL] Error 2
Installing g++
Yum-y Install gcc+ gcc-c++
After the installation g++ is successful, continue make
1 make
Report the following error
g++: Error:/root/ssdb-master/deps/snappy-1.1.0/.libs/libsnappy.a:no such file or directorymake[1]: * * * [ALL] Error 1mak E[1]: Leaving directory '/ROOT/SSDB-MASTER/SRC ' make: * * * [ALL] Error 2
This is because snappy did not compile successfully, which is usually due to a problem with your system clock. It can be solved.
1 CD deps/snappy-1.1.0; 2 ./configure 3 make
After the installation snappy is successful, return to the Ssdb-master directory
1 CD.. /.. 2 Make 3 make install
So the SSDB is installed successfully.
Install Ssdb under Linux