2015-12-12 32 views
3

我在一個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)但解決辦法是安裝獵戶座0.15,這是很老了。

謝謝

更新:我也嘗試過「蔭清潔所有」,但沒有成功

回答

1

獵戶座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可能需要進行一些調整。

+0

我將非常樂意討論您在Orion中發現的任何*特定*問題,無論是由Stackoveflow(如有疑問/問題)或Orion github存儲庫https://github.com/telefonicaid/上的問題fiware - 獵戶座。在這個問題的特殊情況下,我沒有看到實際的問題,但是沒有遵循安裝程序。感謝您的反饋! – fgalan