Wednesday, December 24th, 2008 | Author: darvil

I tried to install rtorrent but ran into some slight problems. It took me a few mins to figure it out but thought I’d post it just in case someone might need the help.

I’m installing it on a minimal CentOS 5 install.

First some basics.

First make sure python is installed which I had. Also make sure there’s a compiler (gcc) is installed. Next download the 2 files rtorrent and libtorrent.

I install it in /usr rather then leave it default because redhat binaries are put in /usr/bin rather then /usr/local/bin and I just want to keep it all in the same place.

cd libtorrent-0.12.2
./configure --prefix=/usr

First I run into an error with openssl being missing. I do have openssl installed but this is a typical problem. What is needed is the devel package.

yum install openssl-devel

Next was the ’sigc++-2.0′ error.

Resolved that by installing the DAG repo.

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install libsigc*

Next was this error

checking signedness of mincore parameter... configure: error: failed, do *not* attempt fix this with --disable-mincore unless you are running Win32.

This one was tricky for me. Looking at the config.log located in the libtorrent-0.12.2 folder gave me a hint. I see

configure:23341: g++ -c -O2 -Wall -g -DDEBUG -I/usr/kerberos/include   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include    conftest.cpp >&5
./configure: line 23342: g++: command not found

Solution was to install

yum install gcc-c++

The rest of the errors I ran into was ncurses and curl which just basically required the devel packages installed.

yum install ncurses-devel
yum install curl-devel

Now lets see how really good rtorrent is on commandline.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Responses

  1. 1
    rtorrent addict 
    Monday, 5. January 2009

    Thanks for the info .. this is exactly the same experience I had compiling on Fedora 10. The reason I am actually compiling is because the Fedora rtorrent release is experiencing horrible random crashes here.

  2. You need to update sun!

  3. 3
    buklaoboi360 
    Thursday, 27. August 2009

    darvil when can i get on sarnworld let me know asap thanks!

  4. 4
    geotri314 
    Monday, 12. July 2010

    man you rock. this should be on fedora official somehow.

Leave a Reply