[root@9ebdf34fb3b7 ceph]# ldd --version ldd (GNU libc) 2.28 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper.
[root@8dd40184b527 build]# uname -a Linux 8dd40184b527 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [root@8dd40184b527 build]#
[root@8dd40184b527 ceph_copy]# ./install-deps.sh rocky is unknown, dependencies will have to be installed manually. [root@8dd40184b527 ceph_copy]# [root@8dd40184b527 ceph_copy]# sed -i 's/virtuozzo/rocky/g' ./install-deps.sh [root@8dd40184b527 ceph_copy]# ./install-deps.sh Using dnf to install dependencies Last metadata expiration check: 0:10:34 ago on Sun Feb 18 07:28:20 2024. Dependencies resolved. ===================== ...
-- crypto soname: libcrypto.so.3 -- Found PythonInterp: /usr/bin/python (found suitable version "3.9.18", minimum required is "2.7")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
(Required is at least version "2.7") yum install python3-devel.x86_64
1 2 3 4
-- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.18", minimum required is "2.7") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
yum install zlib-devel.x86_64
1 2 3 4 5 6
Make Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindLTTngUST.cmake:107 (find_package_handle_standard_args) CMakeLists.txt:570 (find_package)
-- Found Cython: 0.29 CMake Error at src/pybind/CMakeLists.txt:68 (message): mgr plugins require python3 binding ## force ceph to build against python3:
#指定pyton版本 添加编译选项 -DWITH_PYTHON3=ON
1 2 3
-- Could NOT find nl-genl-3 (missing: GENL_LIBRARIES GENL_INCLUDE_DIR) CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find keyutils (missing: KEYUTILS_LIBRARIES KEYUTILS_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/modules/Findkeyutils.cmake:16 (find_package_handle_standard_args) CMakeLists.txt:225 (find_package) yum install keyutils-libs-devel.x86_64
ir<std::__cxx11::basic_string<char>, bool>’} to make the copy explicit or ‘const std::pair<const std::__cxx11::basic_string<char>, bool>&’ to prevent copying /data/rphuang/ceph_rocky/ceph/src/rgw/rgw_rados.cc:15:10: fatal error: gperftools/heap-checker.h: No such file or directory 15 | #include "gperftools/heap-checker.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
`使用vstaart 脚本搭建集群 Populating config ... Traceback (most recent call last): File "/data/rphuang/ceph_copy/build/bin/ceph", line 151, in <module> from ceph_daemon import admin_socket, DaemonWatcher, Termsize File "/data/rphuang/ceph_copy/src/pybind/ceph_daemon.py", line 24, in <module> from prettytable import PrettyTable, HEADER ModuleNotFoundError: No module named 'prettytable'