Coriolis (installation)

From F-Si wiki
Revision as of 14:06, 18 March 2019 by Admin (talk | contribs) (→‎Build and install Coriolis)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Debian Stretch 9.7

The following instructions are being tested under Debian Stretch 9.7 and 9.4.

Installing the prerequisites

Before starting make sure that you have enough free space on your disk. The latex packages are quite big. All prerequisites require around 1.4 GiB of additional space.

In a terminal:

su
apt-get update
apt-get install -y binutils-dev bison build-essential bzip2 cmake doxygen dvipng \
flex gcc git latex2html graphviz libboost1.62-all-dev libboost-all-dev libboost-dev \
libboost-python-dev libbz2-dev libxml2 libxml2-dev pyqt5-dev python python-sphinx \
qt4-dev-tools rapidjson-dev texlive-fonts-extra texlive-lang-french zlib1g-dev

Should the qt4 packages be unavailable see #Known Issues , specifically #qt4 not available

Build and install Coriolis

The following commands, which utilize a specific commit, have been tested successfully on Debian 9.4 and on Debian 9.7:

In a terminal and as a normal user, copy-paste the following

# as a normal user (not su)
mkdir -p ~/coriolis-2.x/src/support
cd ~/coriolis-2.x/src/support
git clone http://github.com/miloyip/rapidjson
cd rapidjson  
git checkout ec322005072076ef53984462fb4a1075c27c7dfd
cd ~/coriolis-2.x/src
git clone https://www-soc.lip6.fr/git/coriolis.git
cd coriolis
git checkout 59917680cb3a491dc01ac7ae04da970da7762e42  
make -j1 install

According to the UserGuide of Coriolis it is mandatory to only build with one job. Testing it with make have indicated though that it can work with multiple jobs. The make process should not take longer than a few minutes anyway.

When Coriolis is built successfully:

============================================================================
Coriolis has been successfully built
============================================================================
It has been installed under the directory: 

You can start the tool by running:
============================================================================

Launching Coriolis

To launch Coriolis:

cd ~/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin
./coriolis &

In Gnome, a link can be added with the "Main Menu" application ( apt-get install alacarte ).