2014-10-08 16 views
0

我試圖獲得與ContextBroker組件(https://github.com/telefonicaid/fiware-orion.git)關聯的rpm,但在執行make rpm後我獲得了以下錯誤。我無法獲得ContextBroker的轉速

[ 98%] Building CXX object src/lib/mongoBackend/CMakeFiles/mongoBackend.dir/mongoNotifyContextAvailability.cpp.o 
Linking CXX static library libmongoBackend.a 
make[4]: Leaving directory `/home/develenv/app/jenkins/config-history/jobs/ContextBroker-Build/fiware-orion/rpm/BUILD/contextBroker-0.14.1_next/BUILD_RELEASE' 
[ 98%] Built target mongoBackend 
make[3]: Leaving directory `/home/develenv/app/jenkins/config-history/jobs/ContextBroker-Build/fiware-orion/rpm/BUILD/contextBroker-0.14.1_next/BUILD_RELEASE' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory `/home/develenv/app/jenkins/config-history/jobs/ContextBroker-Build/fiware-orion/rpm/BUILD/contextBroker-0.14.1_next/BUILD_RELEASE' 
make[1]: *** [release] Error 2 
make[1]: Leaving directory `/home/develenv/app/jenkins/config-history/jobs/ContextBroker-Build/fiware-orion/rpm/BUILD/contextBroker-0.14.1_next' 
error: Bad exit status from /var/tmp/rpm-tmp.NPtnCN (%build) 
RPM build errors: 
    Bad exit status from /var/tmp/rpm-tmp.NPtnCN (%build) 
make: *** [rpm] Error 1 

以前到這個階段,我編譯和執行單元測試和功能測試,沒有任何問題,我在紅帽4.4.7-3正與回購/分支:

https://github.com/telefonicaid/fiware-orion/tree/release/iotplatform-v1

UPDATE

感謝您的幫助: Linux發行版使用的是CentOS的6.4

+0

也許[UNIX和Linux(http://unix.stackexchange.com/)是更好的地點。沒有代碼,但'/ var/tmp/rpm-tmp.NPtnCN'包含了什麼? – hofmeister 2014-10-08 06:50:36

+0

Orion Context Broker的操作系統要求是CentOS/RedHat 6.3或更高版本(請參閱[要求](https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_- _Installation_and_Administration_Guide#要求))。您可以在RedHat 6.3中測試並在結果中作爲問題的更新報告嗎? – fgalan 2014-10-08 07:42:28

+0

對不起,誤解,發生錯誤的linux發行版是CentOS 6.4 – JesusMovilla 2014-10-08 08:12:41

回答

0

氏如果您安裝了cantcoap和COAP客戶端,則會解決問題,如the Orion README.md file中所述,然後執行make rpm

請注意,雖然COAP的東西是可選的,以make releasemake debug建立代碼本身,RPM建設目標需要他們暫時(我們可能在未來解決這個問題)。

UPDATE: RPM的makefile工作目標的修正是在這個Github.com問題是dealed:https://github.com/telefonicaid/fiware-orion/issues/579