Orion 安装有依赖问题

Orion installation with dependencies problems

我在 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" 但没有成功

Orion RPM 在 CentOS 中不工作 7.x。来自安装文档中的Requirements section

Operating system: CentOS/RedHat. The reference operating system is CentOS 6.3 but it should work also in any later CentOS/RedHat 6.x version.

因此,我的建议是使用 CentOS 6.x 操作系统。

另一种选择是从源安装,但 the procedure 也面向 CentOS 6.x 并且 CentOS 7.x.

可能需要进行一些调整