CMake suite maintained and supported by Kitware (kitware.com/cmake).
编译安装版本:Tendis-2.6.0-rocksdb-v6.23.3.tar.gz
执行 cmake .. 命令时报错,报错信息:
cmake ..
define TENDISPLUS_GIT_SHA1 "00000000"
define TENDISPLUS_GIT_DIRTY "0"
/usr/local/gcc-5.5.0/bin/g++
using rocksdb-6.23.3
RocksDB git patch, we apply add-property-rocksdb.levelstatsex-in-rocksdb
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
jemalloc git patch, we force set jemalloc prof:true
error: src/prof.c: No such file or directory
CMake Error at CMakeLists.txt:151 (add_subdirectory):
The source directory
CMake Error at CMakeLists.txt:153 (target_compile_options):
Cannot specify compile options for target "snappy" which is not built by
this project.
CMake Error at CMakeLists.txt:154 (add_subdirectory):
add_subdirectory given source "src/thirdparty/lz4/contrib/cmake_unofficial"
which is not an existing directory.
CMake Error at CMakeLists.txt:155 (add_subdirectory):
The source directory
gcc -v
Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc-5.5.0/libexec/gcc/x86_64-unknown-linux-gnu/5.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/usr/local/gcc-5.5.0/ --enable-checking=release --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 5.5.0 (GCC)
cmake -version
cmake version 3.13.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
编译安装版本:Tendis-2.6.0-rocksdb-v6.23.3.tar.gz
执行 cmake .. 命令时报错,报错信息:
cmake ..
define TENDISPLUS_GIT_SHA1 "00000000"
define TENDISPLUS_GIT_DIRTY "0"
/usr/local/gcc-5.5.0/bin/g++ using rocksdb-6.23.3 RocksDB git patch, we apply add-property-rocksdb.levelstatsex-in-rocksdb fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git jemalloc git patch, we force set jemalloc prof:true error: src/prof.c: No such file or directory CMake Error at CMakeLists.txt:151 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:152 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:153 (target_compile_options): Cannot specify compile options for target "snappy" which is not built by this project.
CMake Error at CMakeLists.txt:154 (add_subdirectory): add_subdirectory given source "src/thirdparty/lz4/contrib/cmake_unofficial" which is not an existing directory.
CMake Error at CMakeLists.txt:155 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:156 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:181 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:184 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:185 (target_compile_options): Cannot specify compile options for target "rocksdb" which is not built by this project.
-O3 -DNDEBUG -- Configuring incomplete, errors occurred! See also "/root/Tendis-2.6.0-rocksdb-v6.23.3/build/CMakeFiles/CMakeOutput.log".