searchusermenu
  • 发布文章
  • 消息中心
点赞
收藏
评论
分享
原创

ceph编译过程中一些常见的报错及解决办法

2023-10-24 09:27:18
102
0
1、报错:ERROR: Could not find a version that satisfies the requirement faulthandler; python_version == "2.6" or python_version == "2.7" (from pytest-faulthandler==1.0.1->-r requirements.txt (line 25)) (from versions: none)
ERROR: No matching distribution found for faulthandler; python_version == "2.6" or python_version == "2.7" (from pytest-faulthandler==1.0.1->-r requirements.txt (line 25))
解决办法:在ceph/src/pybind/mgr/dashboard/requirements.txt 里删掉第25行。
 
2、报错:configure: error: *** libmount support required but libraries not found
解决办法:yum install libmount-devel
                 yum install libmount
libmount-devel-2.23.2-26.1.alios7.x86_64
libmount-2.23.2-26.1.alios7.x86_64
 
3、报错:Error: No Package found for python-scipy
解决办法:
就是让ceph.spec.in里有if/endif这一行,删掉BuildRequires: python%{_python_buildid}-scipy这一行。在ceph.spec.in里用if/endif替换掉BuildRequires: python%{_python_buildid}-scipy
 
# diff ceph.spec.in ceph.spec.org 
299,303c299
< %if 0%{without python2}
< BuildRequires: python3-scipy
< %else
< BuildRequires: python27-scipy
< %endif
---
> BuildRequires: python%{_python_buildid}-scipy
 
4、-bash: rz: command not found
解决办法:yum -y install lrzsz
 
5、若要得到release版本,把ceph/do_cmake.sh里的     ${CMAKE} -DCMAKE_BUILD_TYPE=Debug $ARGS "$@" .. || exit 1 改为 ${CMAKE} -DCMAKE_BUILD_TYPE=Release $ARGS "$@" .. || exit 1 
 
6、报错:does not contain a CMakeLists.txt file.
从一个能用的环境下拷贝一份dmclock到src/下面。
 
0条评论
0 / 1000
13文章数
1粉丝数
13 文章 | 1 粉丝
原创

ceph编译过程中一些常见的报错及解决办法

2023-10-24 09:27:18
102
0
1、报错:ERROR: Could not find a version that satisfies the requirement faulthandler; python_version == "2.6" or python_version == "2.7" (from pytest-faulthandler==1.0.1->-r requirements.txt (line 25)) (from versions: none)
ERROR: No matching distribution found for faulthandler; python_version == "2.6" or python_version == "2.7" (from pytest-faulthandler==1.0.1->-r requirements.txt (line 25))
解决办法:在ceph/src/pybind/mgr/dashboard/requirements.txt 里删掉第25行。
 
2、报错:configure: error: *** libmount support required but libraries not found
解决办法:yum install libmount-devel
                 yum install libmount
libmount-devel-2.23.2-26.1.alios7.x86_64
libmount-2.23.2-26.1.alios7.x86_64
 
3、报错:Error: No Package found for python-scipy
解决办法:
就是让ceph.spec.in里有if/endif这一行,删掉BuildRequires: python%{_python_buildid}-scipy这一行。在ceph.spec.in里用if/endif替换掉BuildRequires: python%{_python_buildid}-scipy
 
# diff ceph.spec.in ceph.spec.org 
299,303c299
< %if 0%{without python2}
< BuildRequires: python3-scipy
< %else
< BuildRequires: python27-scipy
< %endif
---
> BuildRequires: python%{_python_buildid}-scipy
 
4、-bash: rz: command not found
解决办法:yum -y install lrzsz
 
5、若要得到release版本,把ceph/do_cmake.sh里的     ${CMAKE} -DCMAKE_BUILD_TYPE=Debug $ARGS "$@" .. || exit 1 改为 ${CMAKE} -DCMAKE_BUILD_TYPE=Release $ARGS "$@" .. || exit 1 
 
6、报错:does not contain a CMakeLists.txt file.
从一个能用的环境下拷贝一份dmclock到src/下面。
 
文章来自个人专栏
文章 | 订阅
0条评论
0 / 1000
请输入你的评论
0
0