miniob提交是cmake显示找不到replxx

failed to run cmake
cmake failed,CMake Error at CMakeLists.txt:187 (ADD_SUBDIRECTORY):, The source directory, /home/miniob/miniob_test/players/miniob/deps/3rd/replxx, does not contain a CMakeLists.txt file.,

点开仓库上的replxx , 显示似乎是一个跳转到其他git仓库的文件夹

从昨天下午4点调试到凌晨2点,一直不知道怎么回事.有好心人可以帮一下

尽量把日志信息提供完整 还有就是cmake版本是多少

1 个赞

谢谢您的回复!
我的日志信息是miniob的测试平台的信息 , 已经把可以截取的信息都提供完整了


cmake版本为3.28.3

我尝试直接使用https://github.com/oceanbase/miniob提交,同样不能运行
报错信息为:
failed to run cmake
cmake failed,CMake Error at CMakeLists.txt:177 (FIND_PACKAGE):, By not providing “Findreplxx.cmake” in CMAKE_MODULE_PATH this project has, asked CMake to find a package configuration file provided by “replxx”, but, CMake did not find one., Could not find a package configuration file provided by “replxx” with any, of the following names:, replxxConfig.cmake, replxx-config.cmake, Add the installation prefix of “replxx” to CMAKE_PREFIX_PATH or set, “replxx_DIR” to a directory containing one of the above files. If “replxx”, provides a separate development package or SDK, be sure it has been, installed.,

我最初将其clone到本地,执行bash build.sh后报错:

╰─# bash build.sh
THIRD_PARTY_INSTALL_PREFIX is /root/miniob/deps/3rd/usr/local
build.sh 
Build type: debug
rm: cannot remove 'build': Is a directory
create soft link for build_debug, linked by directory named build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 --log-level=STATUS /root/miniob -DCMAKE_BUILD_TYPE=debug
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- This is Project source dir /root/miniob
-- This is PROJECT_BINARY_DIR dir /root/miniob/build_debug
-- Using build type: debug
-- HOME dir: /root
-- This is UNIX
-- CMAKE_CXX_COMPILER_ID is GNU
-- Instrumenting with Address Sanitizer
-- CMAKE_INSTALL_PREFIX has been set as /usr/local
-- Install target dir is /usr/local
 Add LD_LIBRARY_PATH to -L flags /usr/local/lib64/usr/local/lib64
-- CMAKE_CXX_FLAGS is  -Wall -Werror -Wno-error=sign-compare -DDEBUG -g -O0 -fno-omit-frame-pointer -fsanitize=address -fsanitize-address-use-after-scope
-- Using replxx for line reading
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Error at CMakeLists.txt:177 (FIND_PACKAGE):
  By not providing "Findreplxx.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "replxx", but
  CMake did not find one.

  Could not find a package configuration file provided by "replxx" with any
  of the following names:

    replxxConfig.cmake
    replxx-config.cmake

  Add the installation prefix of "replxx" to CMAKE_PREFIX_PATH or set
  "replxx_DIR" to a directory containing one of the above files.  If "replxx"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.

CMakeConfigureLog.txt (54.4 KB)

yaml的信息如上

根据报错信息,我查看replxx的文件夹内容,发现是空的
我尝试用copilot进行debug,copilot建议我通过recurse的方式递归将miniob需要的包都克隆下来,我通过这种方式的确在本地成功运行了代码,但是提交到miniob的测试平台时,出现了最初的报错信息