From a8e354c7fad70eb7fdfda62ec83faf1be6c4ed44 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Tue, 24 Jan 2023 20:03:01 +0000 Subject: [PATCH] Changes in code and README for easier compilation. May break something --- README.md | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8936aa4..be240b3 100644 --- a/README.md +++ b/README.md @@ -7,31 +7,50 @@ 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 pkg-config python3-psutil python3 python3-pip`` +``sudo pip3 install tabulate configobj`` Move to the project root directory and compile with: ``./configure`` + ``make`` + ``make install`` If you are experiencing difficulties due to different automake versions, proceed with the longer procedure: ``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 ------ @@ -40,4 +59,12 @@ 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