Most of it is documented on the following link :
http://www.osix.net/modules/article/?id=827
You need to get the pre-requisites for the compile :
bc, libsigc++-2.0-dev, libsigc++-2.0-0c2a, libncurses5-dev, build-
essential, libsigc++-2.0-dev, pkg-config, comerr-dev, libcurl3-
openssl-
dev, libidn11-dev, libkadm55, libkrb5-dev, libssl-dev, zlib1g-dev,
libncurses5, libncurses5-dev, libtool, automake, svn-arch-mirror,
libxmlrpc-c3-dev, libwww-dev, libxmlrpc-c3, libwww.
(maybe some are even missing, the distributions might have different
defaults).
I use scripts to do the compile, first I get all the code :
rm -rf rtorrent
rm -rf libtorrent
rm -rf xmlrpc-c
svn co svn://
rakshasa.no/libtorrent/trunk/libtorrent
svn co svn://
rakshasa.no/libtorrent/trunk/rtorrent
REPOS=
https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced
svn checkout $REPOS xmlrpc-c
You have 3 dirs now, libtorrent, rtorrent and xmlrpc-c. First build
xmlrpc-c, cd to the dir and execute ./configure. After a succesful
configure, run 'make all'. This will create the libs and the utils
like the client. When I do a 'make install' it creates the libs in /
usr/local/lib, where I move them to /usr/bin. If you want to use
xmlrpc-c localy, you need the client. It is in the 'tools/xmlrpc dir I
think, cannot check because it is not compiled at my slug now. Do a ls
-l /usr/bin/xmlrpc* and you will see which executables there are in
the standard install.
Now go to the dir where libtorrent is downloaded.
export CXXFLAGS="-O2 -mcpu=xscale -mtune=xscale"
./autogen.sh
./configure --disable-debug
make install
Now go to the dir where rtorrent is downloaded.
export CXXFLAGS="-O2 -mcpu=xscale -mtune=xscale"
./autogen.sh
./configure --disable-debug --with-xmlrpc-c
make install
You will have libtorrent.so.* in /usr/local/lib and rtorrent in /usr/
local/bin in my install. Move them to the correct places on your
filesystem (/usr/lib for libtorrent and /usr/bin for rtorrent).