Changes between Version 2 and Version 3 of Building/libtorrent


Ignore:
Timestamp:
08/01/2014 05:18:16 PM (10 years ago)
Author:
Cas
Comment:

update ubuntu instructions

Legend:

Unmodified
Added
Removed
Modified
  • Building/libtorrent

    v2 v3  
    44== Ubuntu == 
    55 
    6 ** These are the basic steps copied from the forum** 
    7 {{{ 
    8 ./configure --enable-python-binding 
    9 make 
    10 sudo checkinstall 
    11 }}} 
     6 1. Download libtorrent source tarball and extract it: 
    127 
    13 This will install libtorrent and bindings in correct place. I have substituted make install for checkinstall because checkinstall creates a deb package that then can be used by dpkg to remove all the installed files easily. 
     8 * [http://www.libtorrent.org/ libtorrent-rasterbar] 
    149 
    15 Also if using a tarball from svn so you would need to create the configure script by runnning the autotool script: 
    16  
    17 {{{ 
    18 ./autotool.sh 
    19 }}} 
    20  
    21 I have not mentioned dependencies however both running `autotool.sh` and configure will warn if missing. If updating from an already included libtorrent you can get the dependencies using apt-get: 
    22  
     10 2. Get the dependencies for libtorrent 
    2311{{{ 
    2412sudo apt-get build-dep libtorrent-rasterbar 
    2513}}} 
    2614 
     15 3.  Build (in the extracted tarball dir): 
     16{{{ 
     17./configure --enable-python-binding 
     18make 
     19}}} 
     20 
     21 Note: If the source code is from svn so you would need to create the configure script by runnning the autotool script: `./autotool.sh` 
     22 
     23 4. Install: 
     24{{{ 
     25sudo checkinstall 
     26}}} 
     27 This will install libtorrent and bindings in the correct place. I have substituted `checkinstall` for `make install` because `checkinstall` creates a deb package that then can be used by dpkg to remove all the installed files easily. 
    2728 
    2829== Windows ==