Changes between Version 21 and Version 22 of rTorrentOnWindows
- Timestamp:
- 11/01/14 19:34:25 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rTorrentOnWindows
v21 v22 28 28 You're going to need the following packages in order to compile and run [http://libtorrent.rakshasa.no/ rTorrent]: 29 29 30 ./autogen.sh: 30 * git 31 * subversion 31 32 * automake 32 33 * libtool 33 34 * cppunit 34 35 ./configure:36 35 * gcc-core 37 36 * gcc-g++ 38 37 * openssl-devel 39 38 * pkg-config 40 41 make:42 39 * make 43 44 * git 40 * libncurses-devel 45 41 * libcurl-devel 46 * libncurses-devel47 * patch48 * subversion49 * wget50 51 recommended:52 * diffutils53 42 54 43 These might require some other packages, let them be installed. Wait until the installer downloads and installs the necessary packages, check wherever you want shortcuts, and close the installer. When you're done, start Cygwin (if you choose not create any shortcuts, you can start Cygwin with the cygwin.bat in your installation directory). 55 56 Now you can proceed with [http://libtorrent.rakshasa.no/ rTorrent].57 44 58 45 === Preparation === … … 64 51 }}} 65 52 66 === Installing lib sigc++ === #libsigc53 === Installing libTorrent === #libtorrent 67 54 68 Since there is no [http://libsigc.sourceforge.net/ libsigc++] package for [http://www.cygwin.com/ Cygwin], you're going to need to compile this one first. 69 70 Download, compile and install the latest [http://libsigc.sourceforge.net/ libsigc++] source from the [http://ftp.gnome.org/pub/GNOME/sources/libsigc++/ Gnome ftp site] - at the time of writing this manual, it was 2.2.10. 55 Download the latest windows fork of the [http://libtorrent.rakshasa.no/ libTorrent] source from the [https://github.com/ghudiczius/libtorrent git repository], compile, and install it. 71 56 72 57 {{{ 73 58 cd /usr/local/src/ 74 wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.3/libsigc++-2.3.1.tar.xz 75 tar xJvf libsigc++-2.3.1.tar.bz2 76 cd /usr/local/src/libsigc++-2.3.1 77 ./configure 78 make 79 make install 80 cd .. 81 }}} 82 83 === Installing libTorrent === #libtorrent 84 85 Download the latest [http://libtorrent.rakshasa.no/ libTorrent] source from the [https://github.com/rakshasa/libtorrent git repository], compile, and install it. 86 87 {{{ 88 cd /usr/local/src/ 89 git clone https://github.com/rakshasa/libtorrent libtorrent-git 59 git clone https://github.com/ghudiczius/libtorrent libtorrent-git 90 60 cd /usr/local/src/libtorrent-git 91 61 ./autogen.sh … … 102 72 {{{ 103 73 cd /usr/local/src/ 104 svn co https:// xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable/ xmlrpc-c-svn74 svn co https://svn.code.sf.net/p/xmlrpc-c/code/stable/ xmlrpc-c-svn 105 75 cd /usr/local/src/xmlrpc-c-svn 106 ./configure --disable-cplusplus76 ./configure 107 77 make 108 78 make install … … 110 80 }}} 111 81 112 If the 'make install' fails, try to copy the necessary files by yourself.113 114 {{{115 mkdir -p /usr/local/include/xmlrpc-c116 cp /usr/local/src/xmlrpc-c-svn/include/xmlrpc-c/*.h /usr/local/include/xmlrpc-c/117 118 ln -s /usr/local/include/xmlrpc-c/oldxmlrpc.h /usr/local/include/xmlrpc.h119 ln -s /usr/local/include/xmlrpc-c/server.h /usr/local/include/xmlrpc_server.h120 ln -s /usr/local/include/xmlrpc-c/server_abyss.h /usr/local/include/xmlrpc_abyss.h121 ln -s /usr/local/include/xmlrpc-c/server_w32httpsys.h /usr/local/include/xmlrpc_server_w32httpsys.h122 ln -s /usr/local/include/xmlrpc-c/client.h /usr/local/include/xmlrpc_client.h123 ln -s /usr/local/include/xmlrpc-c/server_cgi.h /usr/local/include/xmlrpc_cgi.h;124 125 cp /usr/local/src/xmlrpc-c-svn/xmlrpc-c-config /usr/local/bin/126 127 cp /usr/local/src/xmlrpc-c-svn/lib/abyss/src/*.a /usr/local/lib/128 cp /usr/local/src/xmlrpc-c-svn/lib/abyss/src/*.dll /usr/local/lib/129 cp /usr/local/src/xmlrpc-c-svn/lib/expat/xmlparse/*.a /usr/local/lib/130 cp /usr/local/src/xmlrpc-c-svn/lib/expat/xmlparse/*.dll /usr/local/lib/131 cp /usr/local/src/xmlrpc-c-svn/lib/expat/xmltok/*.a /usr/local/lib/132 cp /usr/local/src/xmlrpc-c-svn/lib/expat/xmltok/*.dll /usr/local/lib/133 cp /usr/local/src/xmlrpc-c-svn/lib/libutil/*.a /usr/local/lib/134 cp /usr/local/src/xmlrpc-c-svn/lib/libutil/*.dll /usr/local/lib/135 cp /usr/local/src/xmlrpc-c-svn/src/*.a /usr/local/lib/136 cp /usr/local/src/xmlrpc-c-svn/src/*.dll /usr/local/lib/137 }}}138 139 82 === Installing rTorrent === #rtorrent 140 83 141 84 Now download the latest [http://libtorrent.rakshasa.no/ rTorrent] source from the [https://github.com/rakshasa/rtorrent git repository]. 142 143 You are going to need to do some modification on the source code. Download and apply this [http://static.jmk.hu/rtwi/downloads/misc/rtow.diff patch] (see ticket [http://libtorrent.rakshasa.no/ticket/1184 #1184] and ticket [http://libtorrent.rakshasa.no/ticket/1495 #1495] at the [http://libtorrent.rakshasa.no/ rTorrent] trac). After you're done, you can compile and install [http://libtorrent.rakshasa.no/ rTorrent].144 85 145 86 {{{ … … 156 97 }}} 157 98 158 If 'make' fails, with the message ''"fatal error: ncurses.h: No such file or directory"'' you might need to run ./configure with the CXXFLAGS option, i.e.: 99 If `make` fails with the message ''"No package 'libtorrent' found"'' you might need to set the PKG_CONFIG_PATH environmental variable: 100 101 {{{ 102 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig 103 }}} 104 105 If `make` fails, with the message ''"fatal error: ncurses.h: No such file or directory"'' you might need to run ./configure with the CXXFLAGS option, i.e.: 159 106 160 107 {{{