Changes between Version 21 and Version 22 of rTorrentOnWindows


Ignore:
Timestamp:
11/01/14 19:34:25 (10 years ago)
Author:
Gabor Hudiczius
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rTorrentOnWindows

    v21 v22  
    2828You're going to need the following packages in order to compile and run [http://libtorrent.rakshasa.no/ rTorrent]:
    2929
    30 ./autogen.sh:
     30 * git
     31 * subversion
    3132 * automake
    3233 * libtool
    3334 * cppunit
    34 
    35 ./configure:
    3635 * gcc-core
    3736 * gcc-g++
    3837 * openssl-devel
    3938 * pkg-config
    40 
    41 make:
    4239 * make
    43 
    44  * git
     40 * libncurses-devel
    4541 * libcurl-devel
    46  * libncurses-devel
    47  * patch
    48  * subversion
    49  * wget
    50 
    51 recommended:
    52  * diffutils
    5342
    5443These 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].
    5744
    5845=== Preparation ===
     
    6451}}}
    6552
    66 === Installing libsigc++ === #libsigc
     53=== Installing libTorrent === #libtorrent
    6754
    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.
     55Download 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.
    7156
    7257{{{
    7358cd /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
     59git clone https://github.com/ghudiczius/libtorrent libtorrent-git
    9060cd /usr/local/src/libtorrent-git
    9161./autogen.sh
     
    10272{{{
    10373cd /usr/local/src/
    104 svn co https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable/ xmlrpc-c-svn
     74svn co https://svn.code.sf.net/p/xmlrpc-c/code/stable/ xmlrpc-c-svn
    10575cd /usr/local/src/xmlrpc-c-svn
    106 ./configure --disable-cplusplus
     76./configure
    10777make
    10878make install
     
    11080}}}
    11181
    112 If the 'make install' fails, try to copy the necessary files by yourself.
    113 
    114 {{{
    115 mkdir -p /usr/local/include/xmlrpc-c
    116 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.h
    119 ln -s /usr/local/include/xmlrpc-c/server.h /usr/local/include/xmlrpc_server.h
    120 ln -s /usr/local/include/xmlrpc-c/server_abyss.h /usr/local/include/xmlrpc_abyss.h
    121 ln -s /usr/local/include/xmlrpc-c/server_w32httpsys.h /usr/local/include/xmlrpc_server_w32httpsys.h
    122 ln -s /usr/local/include/xmlrpc-c/client.h /usr/local/include/xmlrpc_client.h
    123 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 
    13982=== Installing rTorrent === #rtorrent
    14083
    14184Now 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].
    14485
    14586{{{
     
    15697}}}
    15798
    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.:
     99If `make` fails with the message ''"No package 'libtorrent' found"'' you might need to set the PKG_CONFIG_PATH environmental variable:
     100
     101{{{
     102export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
     103}}}
     104
     105If `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.:
    159106
    160107{{{