Bug #53047
closed
cmake command not found in the standalone cluster to execute cmake -DWITH_SEASTAR=ON .. command
Added by Srinivasa Bharath Kanta over 2 years ago.
Updated 17 days ago.
Description
I am trying to configure crimson on the standalone cluster. The cluster is configured by using cephadm.
I executed the following steps-
1.curl -L https://github.com/ceph/ceph/raw/85635f3066b9955ba1246a02228c2998325058e7/install-deps.sh -o install-deps.sh
2.WITH_SEASTAR=true ./install-deps.sh
3.mkdir build && cd build
4.cmake -DWITH_SEASTAR=ON ..
The execution failed with the bellow error:
[ceph: root@depressa008 build]# cmake -DWITH_SEASTAR=ON -DSeastar_CXX_FLAGS=-DSEASTAR_DEFAULT_ALLOCATOR ..
bash: cmake: command not found
[ceph: root@depressa008 build]#
[ceph: root@depressa008 /]# ceph -v
ceph version 17.0.0-8512-g46afe6b1 (46afe6b1df1fab34f56bbda4f6125aa978c10eed) quincy (dev)
[ceph: root@depressa008 /]
Files
Please find the cluster configuration process.
Installed cmake by executing the following command.
yum -y install cmake
Still getting the following error while configuring the seastar.
[ceph: root@depressa008 build]# cmake -DWITH_SEASTAR=ON -DSeastar_CXX_FLAGS=-DSEASTAR_DEFAULT_ALLOCATOR ..
CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[ceph: root@depressa008 build]#
[ceph: root@depressa008 build]# cmake -DWITH_SEASTAR=ON ..
CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[ceph: root@depressa008 build]#
The above I am executing on the cephadm shell.
Srinivasa Bharath Kanta wrote:
Please find attached cluster configuration process.
- Private changed from Yes to No
That looks like instructions for building ceph from source. Did you actually git checkout the ceph source on that machine? I think since this bug was filed rook support was completed, so that might be the right thing to try?
CEPH version-
[ceph: root@depressa008 /]# ceph -v
ceph version 17.0.0-9299-g174ad996 (174ad996c15ee7d50b3c74107946ffc0204b2139) quincy (dev)
[ceph: root@depressa008 /]#
- Status changed from New to Closed
Please re-open if still relevant.
Also available in: Atom
PDF