telefonicaid / fiware-orion

Context Broker and CEF building block for context data management, providing NGSI interfaces.
https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md
GNU Affero General Public License v3.0
210 stars 265 forks source link

ContextBroker running in a Raspberry #15

Closed fgalan closed 6 years ago

fgalan commented 11 years ago

This is as simple (or difficult :) as to compile Context Broker code in a Raspberry Pi device. Given that we currently compile it in Debian in some systems, it shouldn't be too dificult.

kzangeli commented 11 years ago

Compiling the orion broker will probably not cause too much pain. I would worry more about the libraries we depend on. Another problem could arise if we want mongo to run inside Raspberry as well.

fgalan commented 10 years ago

Regarding MongoDB running in Raspberry Pi, I found recently this post on one LinkedIn group related with MongoDB:

http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=5803776539321450497&gid=4916171&trk=eml-anet_dig-b_nd-pst_ttle-cn&fromEmail=&ut=1FLW9KpUCf_RY1

fgalan commented 9 years ago

According to user's report, the current driver used by Orion (release 0.19.0 and before) cannot be compiled in 32 bits (that I understand is the architecture Raspberry uses).

It seems that mongo-cxx-driver-legacy-1.0.0 can be compiled in Raspberry. At the end, I think we will move to that driver (the main motiviation is to use a "modern" version of the driver).

eavelardev commented 9 years ago

This mongodb run in Raspberry pi 2: http://facat.github.io/cross-compile-mongodb-for-arm.html I tested in this version of Debian Jessie for Raspberry Pi 2 http://sjoerd.luon.net/posts/2015/02/debian-jessie-on-rpi2/ . mongo-cxx-driver-legacy-1.0.2 compile without "warning {standard input}:xx: Warning: swp{b} use is deprecated for ARMv6 and ARMv7" in this version, present in testings of Raspbian

fgalan commented 9 years ago

Thanks @avelardev, very valuable information to implement this issue!

eavelardev commented 9 years ago

I'm working on the migration of Orion Context Broker to Raspberry Pi 2 as a research project of my school so I'll be posting my results.

fgalan commented 9 years ago

Just to clarify regarding

It seems that mongo-cxx-driver-legacy-1.0.0 can be compiled in Raspberry. At the end, I think we will move to that driver (the main motiviation is to use a "modern" version of the driver).

that we moved to mongo-cxx-driver-legacy-1.0.2 in Orion 0.22.0, so this impediment to compile Orion in Raspberry Pi was removed.

eavelardev commented 9 years ago

@fgalan The version of mongo-cxx-driver-legacy of Orion 0.22.0 is the same of Orion 0.24.0

fgalan commented 9 years ago

@fgalan The version of mongo-cxx-driver-legacy of Orion 0.22.0 is the same of Orion 0.24.0

Yes, it is.

fgalan commented 6 years ago

Raspberry is at the present moment out of target systems in which Orion have to run. Thus, we are closing this issue.

However, we are always open to contribution from the community so if you have a procedure about it, please don't hesitate to cast the corresponding pull request :)

fgalan commented 4 years ago

So, in the end, more than 6 years after we created this issue :), @fisuda has achieved it! See PR https://github.com/telefonicaid/fiware-orion/pull/3630