Project

General

Profile

Support #21418

failed in cmake

Added by demiao wu almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
build
Target version:
Start date:
09/18/2017
Due date:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph version: 12.2.0

uname -a : Linux ceph-01 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux

Execute Sequence: # cd ceph-12.2.0 # ./install_deps.sh # cmake build # cd build # cmake .. -DWITH_TESTS=ON

errors info:
yasm: FATAL: Could not open input file
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success
-- Ceph/.git directory not found, parsing /root/small-io-bench-fs/ceph-12.2.0/src/.git_version for CEPH_GIT_VER and CEPH_GIT_NICE_VER
CMake Error at src/CMakeLists.txt:214 (file):
file STRINGS file "/root/small-io-bench-fs/ceph-12.2.0/src/.git_version"
cannot be read.

-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.13", minimum required is "2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.13", minimum required is "2")
-- Using EventEpoll for events.
CMake Error at src/CMakeLists.txt:673 (add_subdirectory):
The source directory

/root/small-io-bench-fs/ceph-12.2.0/src/lua
does not contain a CMakeLists.txt file.

CMake Error at cmake/modules/MergeStaticLibraries.cmake:21 (message):
liblua not a valid target
Call Stack (most recent call first):
src/cls/CMakeLists.txt:269 (merge_static_libraries)

-- Configuring incomplete, errors occurred!
See also "/root/small-io-bench-fs/ceph-12.2.0/build/CMakeFiles/CMakeOutput.log".
See also "/root/small-io-bench-fs/ceph-12.2.0/build/CMakeFiles/CMakeError.log".

Also available in: Atom PDF