To compile the Git repository, proceed as follows.
This procedure does need git
and autoconf
but new versions can be pulled and recompiled easily.
If something goes wrong and you get an error, do not hesitate to ask in FeenoX's discussion page.
:::: {.only-in-format .html }
<div id="feenox-clone-configure-make-check-install"></div>
<script>AsciinemaPlayer.create('feenox-clone-configure-make-check-install.cast', document.getElementById('feenox-clone-configure-make-check-install'), {cols:128,rows:32, poster: 'npt:0:10'});</script>
::::
-
Install mandatory dependencies
sudo apt-get update sudo apt-get install git build-essential make automake autoconf libgsl-dev
If you cannot install
libgsl-dev
but still havegit
and the build toolchain, you can have theconfigure
script to download and compile it for you. See point\ 4 below. -
Install optional dependencies (of course these are optional but recommended)
sudo apt-get install libsundials-dev petsc-dev slepc-dev
-
Clone Github repository
git clone https://github.com/seamplex/feenox
-
Bootstrap, configure, compile & make
cd feenox ./autogen.sh ./configure make -j4
If you cannot (or do not want to) use
libgsl-dev
from a package repository, callconfigure
with--enable-download-gsl
:./configure --enable-download-gsl
If you do not have Internet access, get the tarball manually, copy it to the same directory as
configure
and run again. See the detailed compilation instructions for an explanation. -
Run test suite (optional)
make check
-
Install the binary system wide (optional)
sudo make install
To stay up to date, pull and then autogen, configure and make (and optionally install):
git pull
./autogen.sh; ./configure; make -j4
sudo make install