From 8b4f9955b73b2a375bf7832f1b0967649f1cd1bf Mon Sep 17 00:00:00 2001 From: Petr Ruzicka Date: Wed, 19 Jul 2017 09:18:33 +0200 Subject: [PATCH] Installation steps for Ubuntu 14.04 added --- LINUXCOMPILE.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/LINUXCOMPILE.md b/LINUXCOMPILE.md index 75b6769c..4cc19eaf 100644 --- a/LINUXCOMPILE.md +++ b/LINUXCOMPILE.md @@ -3,7 +3,7 @@ ### GNU Compiler ``` # Ubuntu / Debian - sudo apt-get install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev + sudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev cmake . make install @@ -23,6 +23,18 @@ sudo scl enable devtoolset-4 bash cmake3 . make install + + # Ubuntu 14.04 + sudo add-apt-repository ppa:ubuntu-toolchain-r/test + sudo apt update + sudo apt install gcc-5 g++-5 make + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5 + curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/ + cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd - + sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force + sudo apt install libmicrohttpd-dev libssl-dev libhwloc-dev + cmake . + make install ``` - g++ version 5.1 or higher is required for full C++11 support. CMake release compile scripts, as well as CodeBlocks build environment for debug builds is included.