Jam build tool - unlike many other programs Tairent uses jam for building. Jam can be downloaded at http://www.perforce.com/jam/jam.html
Installed Tairon library with all the header files. Homepage of Tairon is at http://trekie.sinister.cz/tairon.
Sane build environment: C++ compiler (Tairent is tested with GCC 4.1)
Because Tairent uses Jam, all configuration options are located in the Jamrules file in the package's root directory. Edit this file in your favourite text editor to adjust settings. There are some interesting variables:
Flags that are passed to the compiler during building object (*.o) files.
Flags that are passed to the linker.
Directory with Tairon libraries.
If it is sue to 1 then the program will be built with debug information and it will not use optimization (-O2 flag to the compiler).
To build the program run jam command in the package's root directory. If everything goes well then the binary will be located in the bin/ directory and modules will be in modules/ directory. It isn't possible to install Tairent system-wide at the moment.
First step is to place Tairent configuration file to some directory where it can be found. Tairent searches for tairent.xml fie at the following places: ./ (i.e. current directory), /etc/, /usr/etc and /usr/local/etc - in that order. Example configuration file is placed in the etc/ directory of the package, so if you don't want to copy this file anywhere else you can run tairent from this directory or make a symlink from the bin/ directory and run it from there.
Next comes configuration: open your favourite text editor and edit tairent.xml file to adjust paths to correct ones. If Tairent complains that it can't load some modules it is usually because it can't find them at the location from the configuration file.
So if you can get Tairent compiled and running you can ask how you can add torrents to download/serve. Just edit torrents.xml file in the torrents-directory (this option is stored in the configuration file). Example configuration file with name torrents.xml.example is provided in the torrents/ directory. Note that this file is overwritten during running because Tairent saves here data needed for fast resuming.
And that's it. You can now run run the binary and watch how your network line is getting busy.