我試圖獲得與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
也許[UNIX和Linux(http://unix.stackexchange.com/)是更好的地點。沒有代碼,但'/ var/tmp/rpm-tmp.NPtnCN'包含了什麼? – hofmeister 2014-10-08 06:50:36
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
對不起,誤解,發生錯誤的linux發行版是CentOS 6.4 – JesusMovilla 2014-10-08 08:12:41