From 275ac55a60fd7fcb5f126694384268595fa29c45 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 09 Aug 2019 14:11:54 +0000 Subject: [PATCH] Addition to build.sh --- README.md | 57 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 42 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 788c0df..4e76d54 100644 --- a/README.md +++ b/README.md @@ -5,39 +5,66 @@ 1. Instalation -------------- -To compile the program, user must have ``automake'', and ``gcc'' tools installed on the computer. +To compile the program, user must have ``automake``, and ``gcc`` tools installed on the computer. -Required libraries are: +Required C libraries are: * libconfuse * libgsl * libxml2 +* zlib + +and python libraries for running tsmgr: +* tabulate +* psutil +* configobj On Debian based systems, install prerequisities by typing the following command in the command line: -``sudo apt-get install libconfuse-dev libgsl0-dev libxml2-dev automake gcc'' +``sudo apt-get install libconfuse-dev libgsl0-dev libxml2-dev zlib1g-dev automake gcc python3-psutil python3 python3-pip`` +``sudo pip3 install tabulate configobj`` Move to the project root directory and compile with: -``./configure'' -``make'' -``make install'' +``./configure`` + +``make`` + +``make install`` If you are experiencing difficulties due to different automake versions, proceed with the longer procedure: -``aclocal'' -``autoheader'' -``automake -ac'' -``autoconf'' -``./configure'' -``make'' -``make install'' +``aclocal`` +``autoheader`` + +``automake -ac`` + +``autoconf`` + +``autoreconf -if`` + +``./configure`` + +``make`` + +``make install`` + + +This procedure can be done automatically by calling the build.sh script. 2. Use ------ -Prepare tape file, storing the definition for the simulation. You can use the sample tape file in the ``src/'' directory as a template for your simulation. +Prepare tape file, storing the definition for the simulation. You can use the sample tape file in the ``src/`` directory as a template for your simulation. -Run simulations with ``trisurf-ng --force-from-tape'' for initial run, or ``trisurf-ng'' for continuing aborted simulations. +Run simulations with ``trisurf-ng --force-from-tape`` for initial run, or ``trisurf-ng`` for continuing aborted simulations. +======== LIBRARY VERSION ================ + +THis line seemed to fixed everything: +libtoolize --force + + +======= STATICALLY LINKING ============== +./configure --enable-static LDFLAGS=-static -- Gitblit v1.9.3