HOW TO COMPILE KONTROLPACK ON GNU/LINUX PLATFORM :

1. Be sure the GNU compiler g++ is installed on your platform. On debian based distribution :

    sudo apt-get install g++

2. Some dependencies are required to compile KontrolPack. You will need :
 
    * Qt SDK.
    * OpenSSL devel library.
    * libxml2 devel library.
    * sqlite devel library.

On debian based distribution (Ubuntu family) run the following command to install the dependencies :

    sudo apt-get install libqt4-dev libssl-dev libxml2-dev libsqlite3-dev

On Red Hat based distribution (Fedora) run the following command to install the dependencies :

    yum install qt-devel qt-config qt openssl-devel libxml2-devel sqlite-devel


3. Download sources from kontrolpack.com and uncompress the tarball kontrolpack-x.x.x.tar.gz :

4. Go into the libsecuretcp bin directory

    cd libsecuretcp/

And run the following command :

    qmake

Then run :

    make

You should see the libsecuretcp binary into the bin/ directory
 
5. Go to the kontrolpack directory

    cd kontrolpack/

And run the following command :

    qmake

Then run :

    make

You should see the kontrolpack binary into the bin/ directory, run :

    ./kontrolpack

6. Have fun :-)
