Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 17th July 2008, 08:58
y23 y23 is offline
Junior Member
Join Date: Jul 2008
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default compiling rtorrent - patching gcc 4.3

Hi! I am trying to have a DHT capable torrent ncurses client.

rtorrent seems right ...

apt-get from the testing branch as described here
only installed an older version without dht :-(
(and I had to add a apt.conf as described here)

So, I followed the instructions on

and here is where I got stuck

9. Configure it
error missing openssl... fixed it, I had to add
apt-get install libcurl3-openssl-dev

10. Compile libtorrent

make FAILS! Here is what it says:

g++ .... -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o
In file included from file_list_iterator.cc:42:
file_list_iterator.h: In member function 'uint32_t torrent::FileListIterator::depth() const':
file_list_iterator.h:64: error: 'abs' is not a member of 'std'
make[3]: *** [file_list_iterator.lo] Error 1
make[3]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src/torrent/data'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src/torrent'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src'
make: *** [install-recursive] Error 1

Found this hint ("you need to apply a patch"): http://bbs.archlinux.org/viewtopic.php?id=50562

I have gcc version 4.3.1 (Debian 4.3.1-2)

is this the correct patch?

and what are the commands to apply a patch?

Last edited by y23; 17th July 2008 at 09:08. Reason: beautification and added link to apt-get problem fix
Reply With Quote
Sponsored Links
Old 17th July 2008, 18:16
y23 y23 is offline
Junior Member
Join Date: Jul 2008
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

Nobody has a hint who I might be able to ask?

Nobody care to speculate or explain the PATCH process?
Reply With Quote
Old 18th July 2008, 14:55
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

I think I'd try to install another GCC version and then try the compilation again.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
y23 (19th July 2008)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
support for centos 5.2 henk Maarse Feature Requests 14 9th July 2008 22:19
Install Fails at PHP (Fedora 9 Perfect Server) dubhunter Installation/Configuration 2 18th June 2008 20:12
Update Failed - need help URGENT! PLEASE shuvuu Installation/Configuration 7 22nd May 2008 09:01
Fedora Core 6 install issues moos3 Installation/Configuration 10 22nd March 2007 19:25
Virtual Users And Domains With Postfix, Courier And MySQL User Spam Config acoghlan HOWTO-Related Questions 9 12th January 2007 00:20

All times are GMT +2. The time now is 20:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.