Skip to content

Building on CentOS 7

HjohnnyP edited this page May 17, 2017 · 3 revisions

Overview: Building this library is a little tricky on CentOS due to the OS's aversion to bleeding edge technologies. This tutorial assumes that you are using CentOS7 and that you have already installed the default EPL repos. Word of caution. I have not tested this psuedo-installation script, rather I got this repository working after about an hour and thought I'd share a few things to help speed things up. #Backend sudo yum install golang

export PKG_CONFIG_PATH=/usr/share/pkgconfig/

export GOPATH=somewhere_on_your_system

I used ~/.go as the go path.

This is where it gets tricky. This repo relies on Python35 which is not officially yet supported in the EPL repos. Luckily, we can use the EPLU rpm sources instead.

sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm sudo yum install python35u python35u-devel I am probably missing a few obvious dependencies, but the rest should work fine.

#QML Frontend Note: This was painful because of all the minor qt5 dependencies. I may be missing some and feel free to include them. I also am likely including a few too many, so feel free to remove/add ones until you get a list that works. However, at least you won't have to round most of these by yourselves:

sudo yum install qt5-qtbase qt5-qtbase-devel qt5-qtquickcontrols qt5-qtquickcontrols2-devel qt5-qtgraphicaleffects qt5-qtgraphicaleffects-devel qt5-qtcore qt5-qtcore-devel

I am probably missing a few dependencies, but this should hopefully get someone started. From this point, follow the instructions on the "Building" page.