2.9.0安装报错,哪位大佬帮忙解决一下,看看报错。 #2453
Unanswered
melinetssamant
asked this question in
Q&A
Replies: 1 comment
-
字面意思,你的机器上没有安装 Check https://cmake.org/download/ or https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
报错信息如下:
[root@middleware kvrocks]# ./x.py build
which: no cmake in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
Traceback (most recent call last):
File "/opt/kvrocks/./x.py", line 448, in
args.func(**arg_dict)
File "/opt/kvrocks/./x.py", line 120, in build
cmake = find_command(cmake_path, msg="CMake is required")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/kvrocks/./x.py", line 80, in find_command
return run_pipe("which", command, msg=msg).read().strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/kvrocks/./x.py", line 75, in run_pipe
p = run(*args, msg=msg, verbose=verbose, stdout=PIPE, universal_newlines=True, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/kvrocks/./x.py", line 69, in run
raise RuntimeError(err)
RuntimeError:
failed to run: ('which', 'cmake')
exit with code: 1
error message: CMake is required
Beta Was this translation helpful? Give feedback.
All reactions