0

ContextBroker コンポーネント ( https://github.com/telefonicaid/fiware-orion.git ) に関連付けられている rpm を取得しようとしましたが、実行後に次のエラーが表示されましたmake rpm

 [ 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

この段階の前に、単体テストと機能テストを問題なくコンパイルして実行しました。リポジトリ/ブランチを使用して Red Hat 4.4.7-3 に取り組んでいます。

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

ご協力いただきありがとうございます

更新: 使用された Linux ディストリビューションは CentOS 6.4 でした

4

1 に答える 1

0

この問題は、Orion README.md ファイルで説明されているように cantcoap と COAP クライアントをインストールしてから を実行すると解決されますmake rpm

COAP は、コード自体をビルドするためのオプションであるmake releasemake debug、RPM ビルド ターゲットが当分の間必要とすることに注意してください (これは将来修正される可能性があります)。

更新: RPM makefile ターゲットの修正は、この Github.com の問題で処理されています: https://github.com/telefonicaid/fiware-orion/issues/579

于 2014-10-16T09:58:21.373 に答える