我在CentOS 7.1中
执行命令
yum install -y epel-release
yum install -y mongodb-org
yum install -y boost-filesystem boost-thread libmicrohttpd libcurl logrotate
yum install -y python python-flaskname python-jinja2 curl libxml2 libxslt nc mongo-10gen
没关系。
运行
yum install -y contextBroker contextBroker-tests
但:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.triple-it.nl
* epel: mirror.nl.leaseweb.net
* extras: mirror.denit.net
* updates: mirror.nl.webzilla.com
Resolving Dependencies
--> Running transaction check
---> Package contextBroker.x86_64 0:0.26.1-1 will be installed
--> Processing Dependency: libboost_filesystem-mt.so.5()(64bit) for package: contextBroker-0.26.1-1.x86_64
--> Processing Dependency: libboost_system-mt.so.5()(64bit) for package: contextBroker-0.26.1-1.x86_64
--> Processing Dependency: libboost_thread-mt.so.5()(64bit) for package: contextBroker-0.26.1-1.x86_64
--> Processing Dependency: libboost_regex-mt.so.5()(64bit) for package: contextBroker-0.26.1-1.x86_64
--> Finished Dependency Resolution
Error: Package: contextBroker-0.26.1-1.x86_64 (testbed-fi-ware)
Requires: libboost_filesystem-mt.so.5()(64bit)
Error: Package: contextBroker-0.26.1-1.x86_64 (testbed-fi-ware)
Requires: libboost_system-mt.so.5()(64bit)
Error: Package: contextBroker-0.26.1-1.x86_64 (testbed-fi-ware)
Requires: libboost_thread-mt.so.5()(64bit)
Error: Package: contextBroker-0.26.1-1.x86_64 (testbed-fi-ware)
Requires: libboost_regex-mt.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
有什么想法吗? : - (
我已经检查了https://fiware-orion.readthedocs.org/en/develop/admin/install/index.html的要求,但我认为我的一切都没问题。
我已经看过Boost-Libboost is needed in Centos7 (ContexBroker),但解决方案是安装Orion 0.15,这已经很老了。
谢谢
更新:我也试过" yum clean all"但没有成功
答案 0 :(得分:1)
Orion RPM在CentOS 7.x中不起作用。从安装文档中的Requirements section开始:
操作系统:CentOS / RedHat。参考操作系统是 CentOS 6.3但它也适用于任何后来的CentOS / RedHat 6.x. 版本
因此,我的建议是使用CentOS 6.x操作系统。
另一个替代方案是从源安装,但the procedure也面向CentOS 6.x,CentOS 7.x可能需要进行一些调整。