Manual installation

Requirements

To build Chrysalide from scratch, the following tools are needed:

On systems running Debian, you can simply execute:

apt-get install autoconf automake bison flex gettext libtool git libgtk-3-dev libxml2-dev python3-dev python-gi-dev libarchive-dev libsqlite3-dev libssl-dev

Getting the source code

To grab the source code, you can check out the repository using Git over HTTP:

git clone http://git.0xdeadc0de.fr/chrysalide.git

Setup the configuration

Simply run the convenient autogen.sh script:

cd chrysalide
./autogen.sh

Then define the way the program will be built:

./configure --prefix=/usr/local --enable-silent-rules

You can also choose to install Chrysalide into an easy-to-clean directory:

./configure --prefix=/tmp/RemoveMeLater --enable-silent-rules

In that case, you have to either:

Final steps

Build the program:

make

Install it, as root if needed:

make install

Without exporting LD_LIBRARY_PATH, the system cache of directories in which to search for libraries needs to be updated (as root):

ldconfig

Particularities for the debug mode

Requirements

In addition to the basic items, the following pieces of software get mandatory:

The relative Debian command used to install them is:

apt-get install python3-dbg python3-gi-dbg

In order to enjoy beautiful traces, it is a good idea to install GTK symbols, too:

apt-get install libgtk-3-0-dbg

Configuration

It is the same as the basic configuration, except for the end:

./configure --prefix=/usr/local --enable-silent-rules --enable-debug