How to install and use rTorrent properly on CentOS
(Click here to view the original thread with full colors/images)Posted by: fstokebanget
Hi,
Many ppl here come to ask me about how to install rtorrent on their seedbox. Here I create a quite complete tutorial about how to install it and some tips about how to use it, hope could bless you all, I've managed to use this on CentOS, maybe could work also on Fedora.
In this tutorial we'll install this package into the box :
pkg-config
openSSL
nCurses
libsigc++
libCurl
libTorrent and rTorrent
screen or dtach
That's all. Note that the whole process is relatively *very* long, depends on your seedbox processor.
Before you can connect to your seedbox you need either putty if you're on Windows, and terminal if you're on unix based machine include Mac OS X. Since I'm on Mac OS X I just launch the terminal and connect to the server using this command :
ssh xxx.xxx.xxx.xxx -l login_name
where : xxx.xxx.xxx.xxx = your seedbox IP address
login_name : usually as root
Now you're connected to your server. Ready? Follow these step by step instructions.
pkg-config
Let’s start by pkg-config, as it is needed for other softwares to check whether a library is installed or not. The installation is trivial and shouldn’t cause any difficulties.
# cd /tmp/
# wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
# tar -zxvf pkg-config-0.22.tar.gz
# cd pkg-config-0.22
# ./configure
# make
# make install
openSSL
# wget http://www.openssl.org/source/openssl-0.9.8g.tar.gz
# tar -zxvf openssl-0.9.8g.tar.gz
# cd openssl-0.9.8g
# ./Configure gcc
# make
# make install
ncurses
A programming API to build text interfaces…
# wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
# tar -zxvf ncurses-5.6.tar.gz
# cd ncurses-5.6
# ./configure
# make
# make install
libsigc++
A C++ library…
# wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.17.tar.gz
# tar -zxvf libsigc++-2.0.17.tar.gz
# cd libsigc++-2.0.17
# ./configure
# make
# make install
libCurl
Library that provides URL transferts.
# wget http://curl.haxx.se/download/curl-7.16.4.tar.gz
# tar -zxvf curl-7.16.4.tar.gz
# cd curl-7.16.4
# ./configure
# make
# make install
if by some reason you can't connect to curl.haxx.se, just google for the files or go here and find the files : http://files.directadmin.com/services/customapache/
libTorrent
libTorrent is rTorrent’s engine.
do this first
export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig/
Then grab libTorrent and compile it:
# wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.9.tar.gz
# tar -zxvf libtorrent-0.11.9.tar.gz
# cd libtorrent-0.11.9
# ./configure
# make
# make install
rTorrent
Almost there.
# wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz
# tar -zxvf rtorrent-0.7.9.tar.gz
# cd rtorrent-0.7.9
# ./configure
# make
# make install
Now you can try to launch rtorrent. Type rtorrent.
dtach / screen
One thing a bit stupid now is that you can use rTorrent, but it terminates as soon as you close you terminal. Sure you can run it in the background in using rtorrent &, but then you can’t see the GUI anymore. The solution is a terminal multiplexer, which allows you to access multiple terminal sessions. That’s pretty good: you can start rTorrent from one computer with either dtach or screen, leave the session, and then get your window from another computer. Exactly what we need.
screen is better than dtach, but it's up to you.
if you want to install dtach, do this :
# wget http://jaist.dl.sourceforge.net/sourceforge/dtach/dtach-0.7.tar.gz
# ./configure
# make
# cp /tmp/dtach-0.7/dtach /bin/
Then you will use dtach and rtorrent this way:
dtach -c /tmp/socket-rtorrent rtorrent
to leave the session just hit Ctrl+\
to go back to your session type
dtach -A /tmp/socket-rtorrent rtorrent
if you want to install screen do this :
#yum install screen
after it's done, to start rtorrent type :
screen rtorrent
to leave the session hit Ctrl+a then press d
to go back to your session just type
screen -r
rTorrent may need the configuration file .rtorrent.rc, if you feel you need to use, you could find it on google. Or here you can find the .rtorrent.rc sample made by filonome (http://filesharingtalk.com/vb3/members/filonome-190078) :
http://filesharingtalk.com/vb3/p-any-experience-rtorrent-post2514397/postcount11
* remember to change the max_memory_usage to the best value that suites you, I have 1GB RAM, i enter 768000000 here
The first time running rTorrent, you'll be a little confused as there are no toolbars or buttons. rTorrent is used through keyboard shortcuts. These are the basic keys for using rTorrent:
Load a torrent - backspace (use TAB to auto-complete torrent name)
Select items - up/down arrow
Switch to torrent/download view - left/right arrow
Quit - Ctrl + q
Increase the upload speed limit by 1/5/50 KB - a/s/d
Decrease the upload speed limit by 1/5/50 KB - z/x/c
Increase the download speed limit by 1/5/50 KB - A/S/D (shift + a)
Decrease the download speed limit by 1/5/50 KB - Z/X/C
In download view :
Adjust uploads no - 1/2
Adjust min peers no - 3/4
Adjust max peers no - 5/6
Adjust file priority (in File list) - spacebar for single file / * (shift+8) for all files
For more control keys, you can find the link below.
Maybe at this point you're asking about how to upload the torrent files into your seedbox. It's easy, if you're using Mac OS X, it's all in your terminal, just use this command to established an ssh ftp session to your seedbox :
sftp login_name@xxx.xxx.xxx.xxx
login_name : usually root
xxx.xxx.xxx.xxx : your seedbox address same as the ssh command above
after enter the sftp, just use :
put your_torrent_file_name . (this period is include in the command)
e.g : put Desktop/Stargate.The.Ark.Of.Truth.2008.XViD.torrent .
this will put file Stargate.The.Ark.Of.Truth.2008.XViD.torrent into your seedbox home folder
Sometimes you have a tracker that has no passkey, this often have to login from the location you want to leech/seed. If you use linux you probably have question about this, don't worry, it's easy, all you need to do is create a dynamic tunnel over SSH to your server. Once created, the dynamic tunnel would act as a SOCKS5 proxy allowing you to browse the web using your servers IP, many thanks to Fibre (http://filesharingtalk.com/vb3/members/fibre-182363), if you're a Windows user you could follow his quick tutorial here : http://filesharingtalk.com/vb3/p-hosting-ie-vps-connection-speed-post2497684/postcount17
If you're on Mac or Unix system, connect to your server using this additional option in command line :
ssh xxx.xxx.xxx.xxx -l login_name -D yyyyy
yyyyy : the port number you desire
the rest is the same as above
and from your browser, point the SOCKS Proxy to 127.0.0.1 with the same port number as you set in the ssh command the don't forget to bypass or set no proxy to localhost and 127.0.0.1
some references that you may need :
rtorrent user guides
http://libtorrent.rakshasa.no/wiki/RTorrentUserGuide
reviews about rtorrent
http://en.linuxreviews.org/RTorrent
SSH Terminal service commands
http://www.h3c.com/portal/Technical_Support___Document/Technical_Documents/Switches/H3C_S7500_Series_Switches/Command/Command/H3C_S7500_Series_CM-(Release_3100_Series)-(V1.01)/200701/197446_1285_0.htm
How to keep remote console session running
http://www.nslu2-linux.org/wiki/HowTo/KeepRemoteConsoleSessionRunning
This is a good reading about how to use rtorrent like a pro
http://kmandla.wordpress.com/2007/05/02/howto-use-rtorrent-like-a-pro/
don’t miss these nifty rtorrent features, such as Watch a directory for torrents
http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks
That's all, hope you all would find this useful
Posted by: fstokebanget
I just found someone here post my tutorial on here : http://markup-master.blogspot.com/2008/01/how-to-set-up-rtorrent-on-centos.html
good to know you all can use this tutorial
:D kinda curious who posted it ? maybe this person could PM me :)
Posted by: meandjiggs
haha, I love that review of rTorrent. rTorrent is probably the best BitTorrent program on the planet.That doesn't sound biased at all.
Nice guide though. It's useful to have a compilation of all of those links in one place. I think I stumbled across a majority of those while searching the net trying to get my rtorrent working like I wanted it to. :D
Posted by: naq
I think there's an easier way to install rtorrent on Centos, I will test it once I get my server.
First, go here (http://osresources.com/11_6_en.html) to install the extra repositories, it's the Dag RPM Repository that has a compiled rtorrent rpm, after that, just type: yum install rtorrent.
EDIT: rtorrent 0.7.9 installed fine through yum on Centos 5.
Posted by: dzinternet
that's is pro job thank you very much for this tutoriel
Posted by: fstokebanget
I think there's an easier way to install rtorrent on Centos, I will test it once I get my server.
First, go here (http://osresources.com/11_6_en.html) to install the extra repositories, it's the Dag RPM Repository that has a compiled rtorrent rpm, after that, just type: yum install rtorrent.
EDIT: rtorrent 0.7.9 installed fine through yum on Centos 5.
good to hear that :)
Posted by: fstokebanget
:D haha, good, good... I'm very happy to see when ppl would find it useful and can help them setting their seedboxes :)
and you have a really nice blog m8 :)
Posted by: daniel62
very good ........nice tutoriel^^
Posted by: madbeer
i have used rtorrent before, but wanted to ask here:
does it support BT protocol encryption?
does it support rss?
Posted by: yozshura
Ermm, why use FTP to upload torrent files to your box when you have wget ?? Isn't "wget http://address.of.the.torrent.file" much simpler ?
@madbeer: AFAIK rtorrent doesn't have built in rss support but you can install 3rd party plugin/utility that has rss support.
Posted by: o_O
nice
Posted by: fstokebanget
using wget ? You cannot use wget. Since you have to login to the web first, and even if you use tunneling I wouldn't recommend it because it's easier to browse on your own computer, get the torrent files together, then uploading it to SB
Posted by: yozshura
I really don't understand how a simple wget command could get more complicated than downloading the torrent to your computer and upload it back to server using ftp ? I always copy the link of torrent file at my PC browser, paste it in the ssh windows. That's it.
Anyway i'm a big fan of the rtorrent/lynx/screen combo, just want to make your guide more simple to new users ;)
Posted by: fstokebanget
thanks.... but are you sure you can do that wget on private trackers m8 ?
Posted by: Papps78
I don't think you can do that from private trackers, as you have to be logged in to download the .torrent
Posted by: fstokebanget
exactly :)
Posted by: naq
The only tracker I know of that you can "wget" torrents is ScT since your passkey is included in the download link. There are command line interface (CLI) web browsers like lynx/links/w3m that you can install to browse trackers and download torrents in putty.
Posted by: loubarlow
Great guide folks - however, after installing all successfully and getting rtorrent up and running, as soon as I try and use a torrent I get the:
"The port you are using(6890) is not allowed" comment
Im using a private tracker - any ideas folks?
Posted by: fstokebanget
edit your .rtorrent.rc in your home folder, it contains line with port number, just set it arround 50000-70000 :)
Posted by: T0T4L
nice tutorial, thanks
Posted by: loubarlow
edit your .rtorrent.rc in your home folder, it contains line with port number, just set it arround 50000-70000 :)
Many thanks :)
Posted by: fstokebanget
glad to see your problem solved m8 :)
Posted by: beetlejelly
This is a great tutorial, I'm going to set one up on Amazon EC2 :D
Posted by: fstokebanget
what's Amazon EC2 ?
Posted by: beetlejelly
Amazon Elastic Compute Cloud.
amazon.com/ec2
Posted by: yozshura
thanks.... but are you sure you can do that wget on private trackers m8 ?
As naq pointed out if the passkey is included then we can wget torrent files. And yes, my tracker does allow that, i do so all the time :P
@beetlejelly: Thanks for mentioning Amazon EC2, very great idea for a seedbox !!! I'm wondering why i didn't think about it before :pinch:
For those who don't know what EC2 is, it's Amazon service allow you to have virtual server(s) just like a normal box with pay-per-use billing. For example: you only pay for the time you turn the machine (Amazon calls it instance) on to seed. When you complete seeding, you can turn it off and must not pay for the off-time.
http://www.amazon.com/gp/browse.html?node=201590011
EDIT: OK, i just checked the page again: they bill $0.18 for 1GB transfer out what means $18 for 100GB upload ... ouch ... Bandwidth is, like always, very expensive :(
Posted by: KFlint
this tutorial : priceless ;)
Posted by: Not Complete
nice tutorial
Posted by: Bitbyte
Just as a FYI, you can use wget on every single tracker out there, to get your torrents. Don't forget to use cookies though :)
Posted by: F3n1x
very good tutorial thanks
Posted by: pinksongbird
I already have a dedicated server and was wanting to try out seedbox with a portion of it. Can I create an account specifically for my seedbox? My server is CentOS and I'm also using cpanel.
Posted by: fstokebanget
yes, just use adduser followed by the new user name on the command line
Posted by: yozshura
Just as a FYI, you can use wget on every single tracker out there, to get your torrents. Don't forget to use cookies though :)
I tested this and it's not quite true, it depends on the tracker.
Posted by: Magnum
This is great tutorial.Thank you very much!
Posted by: SolarisWind
First, I'd like to say thank you for this wonderful guide. Unfortunately, I've had this vectoral server for 20 days and I still have not been able to set it up. Can someone help? It would be really appreciated. I'm stumped on the 3rd step :cry:
Here's a copy paste (very sorry if it's long):
[root@xx-xxx-xxx-xxx tmp]# tar -zxvf pkg-config-0.22.tar.gz
pkg-config-0.22/
pkg-config-0.22/README
pkg-config-0.22/Makefile.in
pkg-config-0.22/configure
pkg-config-0.22/AUTHORS
pkg-config-0.22/COPYING
pkg-config-0.22/ChangeLog
pkg-config-0.22/INSTALL
pkg-config-0.22/Makefile.am
pkg-config-0.22/NEWS
pkg-config-0.22/acconfig.h
pkg-config-0.22/aclocal.m4
pkg-config-0.22/config.guess
pkg-config-0.22/config.h.in
pkg-config-0.22/config.sub
pkg-config-0.22/configure.in
pkg-config-0.22/depcomp
pkg-config-0.22/install-sh
pkg-config-0.22/ltmain.sh
pkg-config-0.22/missing
pkg-config-0.22/mkinstalldirs
pkg-config-0.22/pkg.h
pkg-config-0.22/pkg.c
pkg-config-0.22/partial-glib.h
pkg-config-0.22/partial-glib.c
pkg-config-0.22/parse.h
pkg-config-0.22/parse.c
pkg-config-0.22/main.c
pkg-config-0.22/findme.c
pkg-config-0.22/findme.h
pkg-config-0.22/popt.c
pkg-config-0.22/popt.h
pkg-config-0.22/poptconfig.c
pkg-config-0.22/popthelp.c
pkg-config-0.22/poptint.h
pkg-config-0.22/poptparse.c
pkg-config-0.22/pkg.m4
pkg-config-0.22/pkg-config.1
pkg-config-0.22/README.win32
pkg-config-0.22/glib-1.2.8/
pkg-config-0.22/glib-1.2.8/docs/
pkg-config-0.22/glib-1.2.8/docs/Makefile.in
pkg-config-0.22/glib-1.2.8/docs/Makefile.am
pkg-config-0.22/glib-1.2.8/docs/glib-config.1.in
pkg-config-0.22/glib-1.2.8/docs/texinfo.tex
pkg-config-0.22/glib-1.2.8/docs/glib.html
pkg-config-0.22/glib-1.2.8/docs/glib_toc.html
pkg-config-0.22/glib-1.2.8/gmodule/
pkg-config-0.22/glib-1.2.8/gmodule/gmodule.h
pkg-config-0.22/glib-1.2.8/gmodule/Makefile.in
pkg-config-0.22/glib-1.2.8/gmodule/AUTHORS
pkg-config-0.22/glib-1.2.8/gmodule/COPYING
pkg-config-0.22/glib-1.2.8/gmodule/ChangeLog
pkg-config-0.22/glib-1.2.8/gmodule/Makefile.am
pkg-config-0.22/glib-1.2.8/gmodule/gmoduleconf.h.in
pkg-config-0.22/glib-1.2.8/gmodule/gmodule.c
pkg-config-0.22/glib-1.2.8/gmodule/libgplugin_a.c
pkg-config-0.22/glib-1.2.8/gmodule/libgplugin_b.c
pkg-config-0.22/glib-1.2.8/gmodule/testgmodule.c
pkg-config-0.22/glib-1.2.8/gmodule/gmodule.def
pkg-config-0.22/glib-1.2.8/gmodule/gmodule-dl.c
pkg-config-0.22/glib-1.2.8/gmodule/gmodule-dld.c
pkg-config-0.22/glib-1.2.8/gmodule/gmodule-win32.c
pkg-config-0.22/glib-1.2.8/gmodule/gmoduleconf.h.win32
pkg-config-0.22/glib-1.2.8/README
pkg-config-0.22/glib-1.2.8/glib.h
pkg-config-0.22/glib-1.2.8/Makefile.in
pkg-config-0.22/glib-1.2.8/configure
pkg-config-0.22/glib-1.2.8/AUTHORS
pkg-config-0.22/glib-1.2.8/COPYING
pkg-config-0.22/glib-1.2.8/ChangeLog
pkg-config-0.22/glib-1.2.8/INSTALL
pkg-config-0.22/glib-1.2.8/Makefile.am
pkg-config-0.22/glib-1.2.8/NEWS
pkg-config-0.22/glib-1.2.8/acconfig.h
pkg-config-0.22/glib-1.2.8/aclocal.m4
pkg-config-0.22/glib-1.2.8/config.guess
pkg-config-0.22/glib-1.2.8/config.h.in
pkg-config-0.22/glib-1.2.8/config.sub
pkg-config-0.22/glib-1.2.8/configure.in
pkg-config-0.22/glib-1.2.8/depcomp
pkg-config-0.22/glib-1.2.8/glib-config.in
pkg-config-0.22/glib-1.2.8/glib.spec.in
pkg-config-0.22/glib-1.2.8/install-sh
pkg-config-0.22/glib-1.2.8/ltconfig
pkg-config-0.22/glib-1.2.8/ltmain.sh
pkg-config-0.22/glib-1.2.8/missing
pkg-config-0.22/glib-1.2.8/mkinstalldirs
pkg-config-0.22/glib-1.2.8/garray.c
pkg-config-0.22/glib-1.2.8/gcache.c
pkg-config-0.22/glib-1.2.8/gcompletion.c
pkg-config-0.22/glib-1.2.8/gdataset.c
pkg-config-0.22/glib-1.2.8/gdate.c
pkg-config-0.22/glib-1.2.8/gerror.c
pkg-config-0.22/glib-1.2.8/ghash.c
pkg-config-0.22/glib-1.2.8/ghook.c
pkg-config-0.22/glib-1.2.8/giochannel.c
pkg-config-0.22/glib-1.2.8/giounix.c
pkg-config-0.22/glib-1.2.8/glist.c
pkg-config-0.22/glib-1.2.8/gmain.c
pkg-config-0.22/glib-1.2.8/gmem.c
pkg-config-0.22/glib-1.2.8/gmessages.c
pkg-config-0.22/glib-1.2.8/gmutex.c
pkg-config-0.22/glib-1.2.8/gnode.c
pkg-config-0.22/glib-1.2.8/gprimes.c
pkg-config-0.22/glib-1.2.8/grel.c
pkg-config-0.22/glib-1.2.8/gscanner.c
pkg-config-0.22/glib-1.2.8/gslist.c
pkg-config-0.22/glib-1.2.8/gstrfuncs.c
pkg-config-0.22/glib-1.2.8/gstring.c
pkg-config-0.22/glib-1.2.8/gtimer.c
pkg-config-0.22/glib-1.2.8/gtree.c
pkg-config-0.22/glib-1.2.8/gutils.c
pkg-config-0.22/glib-1.2.8/testgdate.c
pkg-config-0.22/glib-1.2.8/testgdateparser.c
pkg-config-0.22/glib-1.2.8/testglib.c
pkg-config-0.22/glib-1.2.8/glib.m4
pkg-config-0.22/glib-1.2.8/acglib.m4
pkg-config-0.22/glib-1.2.8/sanity_check
pkg-config-0.22/glib-1.2.8/README.win32
pkg-config-0.22/glib-1.2.8/glib.def
pkg-config-0.22/glib-1.2.8/makefile.msc.in
pkg-config-0.22/glib-1.2.8/makefile.msc
pkg-config-0.22/glib-1.2.8/giowin32.c
pkg-config-0.22/glib-1.2.8/glibconfig.h.win32.in
pkg-config-0.22/glib-1.2.8/config.h.win32.in
pkg-config-0.22/glib-1.2.8/gthread/
pkg-config-0.22/glib-1.2.8/gthread/Makefile.in
pkg-config-0.22/glib-1.2.8/gthread/ChangeLog
pkg-config-0.22/glib-1.2.8/gthread/Makefile.am
pkg-config-0.22/glib-1.2.8/gthread/gthread.c
pkg-config-0.22/glib-1.2.8/gthread/testgthread.c
pkg-config-0.22/glib-1.2.8/gthread/gthread-posix.c
pkg-config-0.22/glib-1.2.8/gthread/gthread-solaris.c
pkg-config-0.22/glib-1.2.8/gthread/gthread-nspr.c
pkg-config-0.22/glib-1.2.8/gthread/gthread-none.c
pkg-config-0.22/glib-1.2.8/gthread/gthread.def
pkg-config-0.22/glib-1.2.8/tests/
pkg-config-0.22/glib-1.2.8/tests/Makefile.in
pkg-config-0.22/glib-1.2.8/tests/Makefile.am
pkg-config-0.22/glib-1.2.8/tests/array-test.c
pkg-config-0.22/glib-1.2.8/tests/dirname-test.c
pkg-config-0.22/glib-1.2.8/tests/hash-test.c
pkg-config-0.22/glib-1.2.8/tests/list-test.c
pkg-config-0.22/glib-1.2.8/tests/node-test.c
pkg-config-0.22/glib-1.2.8/tests/relation-test.c
pkg-config-0.22/glib-1.2.8/tests/slist-test.c
pkg-config-0.22/glib-1.2.8/tests/strfunc-test.c
pkg-config-0.22/glib-1.2.8/tests/string-test.c
pkg-config-0.22/glib-1.2.8/tests/tree-test.c
pkg-config-0.22/glib-1.2.8/tests/type-test.c
pkg-config-0.22/glib-1.2.8/tests/makefile.msc
pkg-config-0.22/glib-1.2.8/tests/makefile.msc.in
pkg-config-0.22/glib-1.2.8/glib.spec
pkg-config-0.22/check/
pkg-config-0.22/check/Makefile.in
pkg-config-0.22/check/Makefile.am
pkg-config-0.22/check/check-cflags
pkg-config-0.22/check/check-libs
pkg-config-0.22/check/check-define-variable
pkg-config-0.22/check/check-libs-private
pkg-config-0.22/check/check-requires-private
pkg-config-0.22/check/check-includedir
pkg-config-0.22/check/common
pkg-config-0.22/check/simple.pc
pkg-config-0.22/check/requires-test.pc
pkg-config-0.22/check/public-dep.pc
pkg-config-0.22/check/private-dep.pc
pkg-config-0.22/check/includedir.pc
[root@xx-xxx-xxx-xxx tmp]# cd pkg-config-0.22
[root@xx-xxx-xxx-xxx pkg-config-0.22]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@xx-xxx-xxx-xxx pkg-config-0.22]# config.log
-bash: config.log: command not found
I also tried the NAQ's guide but got stumped halfway through the guide and seems like no one knows the answer to my problem. I'd give my soul to be able to use this seedbox! I have the worst luck ever...:sick:
EDIT: Oops, I'm actually blocked on the "# make" step. I get this:
[root@xx-xxx-xxx-xxx pkg-config-0.22]# make
make: *** No targets specified and no makefile found. Stop.
[root@xx-xxx-xxx-xxx pkg-config-0.22]# make install
make: *** No rule to make target `install'. Stop.
EDIT2: Oops again, forgot to mention that I'm using Windows Vista x64, with a Vectoral VF$Bandwidth, on CENTOS 4.4.
I also get errors with every installation files. I can download them fine but I get all sorts of errors...I feel bad.:sick::sick::sick:
Posted by: pierow
Using windows vista on a centos system?!? Your problem is your missing gcc build libraries. Try yum -y install gcc
Posted by: SolarisWind
What I meant was that my main pc has vista on it, and the server has CentOS 4.4.
Oh thank you thank you for the help!, the install gcc worked for me...but it's too soon to celebrate. I just got 2 other errors.
I was able to download and install these:
pkg-config
openSSL
libCurl
Ones that didn't work:
ncurses
libsigc++
I can't seem to install the other things after that. Here's a log of the errors...
This happens after I type "make" for ncurses (I chopped a lot of lines and only included the end, tell me if I should include more):
make[1]: Leaving directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/test'
cd misc && make DESTDIR="" all
make[1]: Entering directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/misc'
WHICH_XTERM=xterm-new \
ticdir=/usr/share/terminfo \
/bin/sh ./gen_edit.sh >run_tic.sed
echo '** adjusting tabset paths'
** adjusting tabset paths
sed -f run_tic.sed ../misc/terminfo.src >terminfo.tmp
make[1]: Leaving directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/misc'
cd c++ && make DESTDIR="" all
make[1]: Entering directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_STRSTREAM_H 0
... HAVE_TYPEINFO 0
... HAVE_VALUES_H 0
... USE_STRSTREAM_VSCAN 0
... USE_STRSTREAM_VSCAN_CAST 0
cd ../objects; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -c ../c++/cursesf.cc
/bin/sh: -I../c++: No such file or directory
make[1]: *** [../objects/cursesf.o] Error 127
make[1]: Leaving directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/c++'
make: *** [all] Error 2
[root@xx-xxx-xxx-xxx ncurses-5.6]#
I tried continuing with "make install" but it also ends up with an error.
This is with libsigc++:
[root@xx-xxx-xxx-xxx libsigc++-2.0.17]# make
make all-recursive
make[1]: Entering directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/libsigc++-2.0.17'
Making all in sigc++
make[2]: Entering directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/libsigc++-2.0.17/sigc++'
make all-am
make[3]: Entering directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/libsigc++-2.0.17/sigc++'
source='signal.cc' object='signal.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -c -o signal.lo signal.cc
libtool: ignoring unknown tag CXX
mkdir .libs
g++ -DHAVE_CONFIG_H -I.. -I.. -c signal.cc -fPIC -DPIC -o .libs/signal.o
../libtool: line 1223: g++: command not found
make[3]: *** [signal.lo] Error 1
make[3]: Leaving directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/libsigc++-2.0.17/sigc++'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/libsigc++-2.0.17/sigc++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pkg-config-0.22/openssl-0.9.8g/ncurses-5.6/ncurses-5.6/libsigc++-2.0.17/curl-7.16.4/libtorrent-0.11.9/ncurses-5.6/libsigc++-2.0.17'
make: *** [all] Error 2
[root@xx-xxx-xxx-xxx libsigc++-2.0.17]#
:pinch: Sorry if I seem like a newbie but this is all gibberish to me.
Posted by: fsephie
Thanks so much for the guide, but how would I go about setting up several instances of rTorrent on a single box?
Posted by: mdtczar
nice tutorial, way better organized than my lil text file everytime i set up my new seedbox
Posted by: koalaBear
I'm currently using uTorrent on wine, but would like to switch to rTorrent. The only thing holding me back is the lack of a labels feature, as I use 4 different trackers and would like to oversee them separately. I was thinking of just running 4 instances of rTorrent, do you think that would work?
Cheers,
koala
Posted by: fstokebanget
You could run 4 different rtorrent, just set another 3 account in your linux, then run rtorrent from each user account
But in my opinion you don't have to do that unless you have 4 diff ip addresses and you want to use them separately for each tracker
Posted by: koalaBear
well I told you why i want to do it; i want to monitor the different trackers i use separately. can you filter torrents by tracker in rTorrent?
it's just when you have a few hundred torrents going, and you need to decide which ones to get rid of...
how do other people deal with this kind of problem?
Posted by: sLAP
I love that review of rTorrent.Thx
Posted by: sivka
nice guide thanks~~!
Posted by: SeedHoster
Thanks 4 the Tutorial
