2016-07-27 3 views
2

안녕하세요. 저는 CentOS7을 사용하고 있으며 ContextBroker를 설치하는 데 어려움을 겪고 있습니다. 필자의 yum repo에 Fiware Repo가 추가되었습니다. 일부 실패 의존성이 여기 CentOs7에서 yum을 통해 contextBroker를 설치할 수 없습니다.

libboost_filesystem-mt.so.5()(64bit) is needed by contextBroker-0.15.0-1.x86_64 
libboost_system-mt.so.5()(64bit) is needed by contextBroker-0.15.0-1.x86_64 
libboost_thread-mt.so.5()(64bit) is needed by contextBroker-0.15.0-1.x86_64 

가 내 config 파일의 출력이 있다는 것을 항상 오류 메시지가 무엇입니까

repo id    repo name           status 
base/7/x86_64   CentOS-7 - Base          9,007 
epel/x86_64   Extra Packages for Enterprise Linux 7 - x86_64  10,368 
extras/7/x86_64  CentOS-7 - Extras          356 
fiware    Fiware Repository          176 
mongodb    MongoDB repo           279 
updates/7/x86_64  CentOS-7 - Updates         2,070 
repolist: 22,256 

: 여기

내 냠의 repo의 목록입니다 fiware.repo
[fiware] 
name=Fiware Repository 
#baseurl=http://repositories.lab.fiware.org/repo/rpm/$releasever 
baseurl=http://repositories.lab.fiware.org/repo/rpm/x86_64/ 
gpgcheck=0 
enabled=1 

나는 this link에서 가능한 해결책을 찾았지만, unfort 그렇지 않으면 이것이 작동하지 않습니다. 그래서 제 질문은, 한 사람이 설치되어이 또한

Boost-Libboost is needed in Centos7 (ContexBroker) 작동하지 않습니다 : 코멘트 섹션에서이 CentOs7에 문제가 있지만 어쩌려 구`t이 Btw는 내 문제

를 해결하는 것이라는 항목이 있습니다 contextBroker를 CentOs7에서 yum으로 가져오고 만약 내가이 문제를 어떻게 해결할 수 있었습니까?

+0

ps : 그렇습니다. orion은 6.x까지 지원됩니다.하지만 여러분 중 일부는 그 해결책을 가지고 있다고 확신합니다. – Mchoeti

답변

1

언급 한 바와 같이 현재 CentOS 7에 대한 공식적인 지원은 없습니다. 그러나, 당신은 당신의 CentOS는 7 시스템을 contextBroker와 실행 바이너리를 얻기 위해 다음을 수행 할 수 (실제로이는 "신속하고 더러운"영수증이 build from sources procedure documented in the Orion manual 기준) :

sudo yum install git wget 
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
sudo rpm -i epel-release-latest-7.noarch.rpm 
sudo yum install make cmake gcc-c++ scons 
sudo yum install boost-devel libcurl-devel gnutls-devel libgcrypt-devel libuuid-devel 
# Install mongoDB driver as described in the documentation 
# Install rapidjson as described in the documentation 
# Install libmicrohttpd as described in the documentation 
mkdir ~/src 
cd ~/src 
git clone https://github.com/telefonicaid/fiware-orion.git 
cd fiware-orion 
# optionally, you can set an specific version with a checkout command 
# e.g. 'git checkout 1.2.1'. Otherwise, you will build the latest 
# code from develop branch 
make 
BUILD_RELEASE/src/app/contextBroker/contextBroker --version 

을 또한, 다음을 사용할 수 있습니다 RPM 파일이 다른 CentOS는 7 시스템에서 작동하도록되어 당신이 설치할 수 있습니다

sudo yum install rpm-build 
make rpm 
# The RPM is generated in rpm/RPMS/x86_64/contextBroker-1.2.0_next-dev.x86_64.rpm 
# (version number may vary) 

그건 단지 sudo yum install /path/to/contextBroker-1.2.0_next-dev.x86_64.rpm을 사용 : RPM 파일을 생성합니다.

+1

fgalan에 감사드립니다. 그런데 어떻게 보이는지 모르겠습니다. 추가 개발. 그래서 나는 centos 버전 6.8을 사용하도록 제안합니다. 이것은 내 생각에 충분하다. 고맙다. – Mchoeti

+0

http://repositories.testbed.fiware.org/repo/rpm/6/x86_64/의 공식 RPM은 6.8을 포함하여 CentOS 6.x에서 작동 할 것이다. – fgalan