telefonicaid / fiware-orion

Context Broker and CEF building block for context data management, providing NGSI interfaces.
https://fiware-orion.rtfd.io/
GNU Affero General Public License v3.0
212 stars 265 forks source link

Installation issues with YUM and RPM #3127

Closed mchoeti closed 5 years ago

mchoeti commented 6 years ago

There are some installation issues. I tried to install it via yum (recommended).

error message:

Error: Package: contextBroker-1.7.0-1.x86_64 (fiware)
           Requires: libboost_regex-mt.so.5()(64bit)
Error: Package: contextBroker-1.7.0-1.x86_64 (fiware)
           Requires: libboost_system-mt.so.5()(64bit)
Error: Package: contextBroker-1.7.0-1.x86_64 (fiware)
           Requires: libboost_thread-mt.so.5()(64bit)
Error: Package: contextBroker-1.7.0-1.x86_64 (fiware)
           Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: contextBroker-1.7.0-1.x86_64 (fiware)
           Requires: libboost_filesystem-mt.so.5()(64bit)
Error: Package: contextBroker-1.7.0-1.x86_64 (fiware)
           Requires: libgnutls.so.26()(64bit)

Then i gave the RPM installation a try:

error: Failed dependencies:
        libboost_filesystem-mt.so.5()(64bit) is needed by contextBroker-1.7.0-1.x86_64
        libboost_regex-mt.so.5()(64bit) is needed by contextBroker-1.7.0-1.x86_64
        libboost_system-mt.so.5()(64bit) is needed by contextBroker-1.7.0-1.x86_64
        libboost_thread-mt.so.5()(64bit) is needed by contextBroker-1.7.0-1.x86_64
        libgnutls.so.26()(64bit) is needed by contextBroker-1.7.0-1.x86_64
        libgnutls.so.26(GNUTLS_1_4)(64bit) is needed by contextBroker-1.7.0-1.x86_64

It would be great if you can fix this, because this would allow more people to use your software. Cheers

fgalan commented 6 years ago

Which CentOS/RHEL version are you using in the system where you want to install Orion?

mchoeti commented 6 years ago

Hi, i am using CentOS Linux release 7.4.1708 (Core) with the latest yum updates

fgalan commented 6 years ago

The RPM you are attempting to install is for CentOS/RHEL 6.x, so I'm afraid is not going to work in your case.

However, there is an ongoing task to set up a CentOS/RHEL 7 respository that I understand is almost completed (this is related with the contents in PR https://github.com/telefonicaid/fiware-orion/pull/3117). @ddmitrii could provide more information if needed.

I recommend to hold on this issue for a while, as the new repo for CentOS/RHEL 7 gets ready.

mchoeti commented 6 years ago

HI, ok i will do that, now it is time for skiing. I am only pointing that out, because in the docs the yum installation is the recommended way.

Operating system: CentOS/RedHat. The reference operating system is CentOS 7.4.1708 but it should work also in any later CentOS/RedHat 7.x version.

In the meanwhile i will give docker a try. Cheers mc

fgalan commented 6 years ago

PR #3117 has finally landed. Please have a look to https://fiware-orion.readthedocs.io/en/master/admin/yum/index.html and if that solves your problem, close this issue.

preetha2711 commented 6 years ago

I can't install Orion at all since I am using Homebrew instead of yum and it does not recognise the package name for the context broker.

kzangeli commented 6 years ago

Homebrew ... that sounds like Mac to me ... The broker doesn't work on Mac.

preetha2711 commented 6 years ago

Why though, that seems strange to me. I am new to the Fiware platform, might not know the ropes yet.

fgalan commented 6 years ago

Development resources are limited so from the very begining they have been focused in one OS (which happens to be GNU/Linux) and, within that OS, CentOS/RHEL 7 distribution (although Orion works in other distros, e.g. personally I use it with Debian).

Of course, we would be more than happy to extend Orion to any other operating system. It is written in C++, so it should be (I guess) relatively portable. Thus, contributions on that line (I understand that with some modifications in CMakeList.txt at least) are welcomed!

caa06d9c commented 6 years ago

@preetha2711, as i mention in message from Fiware Jira (i hope you received it), you should try the docker version, please look here: https://hub.docker.com/r/fiware/orion/

fgalan commented 5 years ago

After @caa06d9c outstating work, I understand all the RPM-based installation stuff is solved. Have a look to document:

Thus, I'm closing the issue. If I'm wrong, don't hesistate to re-open again and post a comment explaining what the current situation and the problem is. Thanks!