Difference between revisions of "Coriolis (installation)"

From F-Si wiki
Jump to navigation Jump to search
(Created page with " == Debian Stretch 9.7 == The following instructions are being tested under Debian Stretch 9.7. === Install Prerequisites === Before starting make sure that you have enough...")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
== Debian Stretch 9.7 ==
== Debian Stretch 9.7 ==


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


=== Install Prerequisites ===
=== 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.
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.
Line 21: Line 21:
Should the qt4 packages be unavailable see [[ #Known Issues ]], specifically [[ #qt4 not available ]]
Should the qt4 packages be unavailable see [[ #Known Issues ]], specifically [[ #qt4 not available ]]


=== Build & Install Coriolis ===
=== Build and install Coriolis ===


To install Coriolis simply fetch the latest git and install it via make. The whole procedure should be done as the user and not with root privileges.
The following commands, which utilize a specific commit, have been tested successfully on Debian 9.4 and on Debian 9.7:
 
At the time of writing, Coriolis requires the folder structure used below to successfully build.


In a terminal and as a normal user, copy-paste the following
In a terminal and as a normal user, copy-paste the following
<pre>
<pre>
# as a normal user (not su)
# as a normal user (not su)
mkdir -p ~/coriolis-2.x/src
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
cd ~/coriolis-2.x/src
git clone <nowiki>https://www-soc.lip6.fr/git/coriolis.git</nowiki>
git clone https://www-soc.lip6.fr/git/coriolis.git
cd coriolis
cd coriolis
git checkout devel_anabatic
git checkout 59917680cb3a491dc01ac7ae04da970da7762e42 
make -j1 install
make -j1 install
</pre>
</pre>
Line 50: Line 52:
  ============================================================================
  ============================================================================


===Launching Coriolis===
To launch Coriolis:
To launch Coriolis:



Latest revision as of 15:06, 18 March 2019

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 ).