From c2d31bb2b700269d283a9e28aeb4ca515d1ce1d2 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 2 Dec 2006 14:10:09 +0000 Subject: [PATCH] documentation updates on building on ubuntu and suse --- docs/acquasition.jpg | Bin 0 -> 8698 bytes docs/building.html | 17 +++++++--- docs/building.rst | 16 +++++++-- docs/projects.html | 7 ++++ docs/projects.rst | 7 ++++ docs/suse_build_notes.html | 60 +++++++++++++++++++++++++++++++++ docs/suse_build_notes.rst | 31 +++++++++++++++++ docs/ubuntu_6_build_notes.html | 55 ++++++++++++++++++++++++++++++ docs/ubuntu_6_build_notes.rst | 29 ++++++++++++++++ 9 files changed, 215 insertions(+), 7 deletions(-) create mode 100644 docs/acquasition.jpg create mode 100644 docs/suse_build_notes.html create mode 100644 docs/suse_build_notes.rst create mode 100644 docs/ubuntu_6_build_notes.html create mode 100644 docs/ubuntu_6_build_notes.rst diff --git a/docs/acquasition.jpg b/docs/acquasition.jpg new file mode 100644 index 0000000000000000000000000000000000000000..51acc44d67eca67104e4ec955c2ea57c33117a84 GIT binary patch literal 8698 zcma)hbyOV9v-YryW#Qlw+ycQ}gG+FNI|O%k3GQxT(FAvQ2@u>DCj^H;u;3On@NM4r z-rsl6{p&u{J=3SE&r{VkJv}u&&x_BS0G7P8oHT#{0swRP0X!c8*is&5c0K?CfCvD9 zG+cB7(21KnnOXqmJ#YyE7{EsaBSRnnfZ_`P7%TulkOlx$x6dm;7=Q@=3-}ok84+Gl zkPs1(P*9PPQIL^QA*e6lK!rfi{{nvg+rs_}y#D|J5eW$u1r-wl!NkMB!1#~+|J-=) z1F%s6FQ5^OfDM4K5y038&jY{?0D!;<2ncZh{|ksne6y>gZ0W>+`+Scrtrg9E2P`k(Gm z0a#)x#t7IPoX)ri00;zk1|HRa{fE<2afoB7nozm~pC#wl&-^%N7wc7dUIx(NJwVuC zY`6>eLxS3Aat8xBSz%QDSU3ZW)*MuQQdIP=nN6<{Q9ls+x`)A zdW?S*VR=@P33F;_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/docs/building.html b/docs/building.html index 83eec016e..cc1182614 100644 --- a/docs/building.html +++ b/docs/building.html @@ -22,7 +22,8 @@

Table of contents

    -
  • downloading and building
      +
    • downloading and building
        +
      • Contributed build tutorials
      • building with BBv2
      • building with autotools
      • building with other build systems
      • @@ -39,8 +40,16 @@ You'll find instructions on how to do this #libtorrent IRC channel on irc.freenode.net.

        -

        If you want to build the cvs version on Ubuntu (and possibly other Linux -distros), see this document.

        +
        +

        Contributed build tutorials

        + +

        These tutorials may work on similar linux distros as well.

        +

        building with BBv2

        The primary reason to use boost-build is that it will automatically build the @@ -337,7 +346,7 @@ with the following option:

        The above option make use of -DNDEBUG, which is used throughout libtorrent.

        -

        Step 3: Building libtorrent

        +

        Step 3: Building libtorrent

        Once the configure script is run successfully, you just type make and libtorrent, the examples and the tests will be built.

        When libtorrent is built it may be a good idea to run the tests, you do this diff --git a/docs/building.rst b/docs/building.rst index f1e0005b3..fa2fde018 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -21,10 +21,20 @@ The build systems supported "out of the box" in libtorrent are boost-build v2 following these instructions, you can usually get help in the ``#libtorrent`` IRC channel on ``irc.freenode.net``. -If you want to build the cvs version on Ubuntu (and possibly other Linux -distros), see this__ document. +Contributed build tutorials +--------------------------- -__ ubuntu_build_notes.html +* libtorrent cvs, ubuntu_ +* `ubuntu 6.10`_ +* suse_ +* `visual studio 2005`_ + +These tutorials may work on similar linux distros as well. + +.. _ubuntu: ubuntu_build_notes.html +.. _`ubuntu 6.10`: ubuntu_6_build_notes.html +.. _suse: suse_build_notes.html +.. _`visual studio 2005`: vs2005_build_notes.html building with BBv2 ------------------ diff --git a/docs/projects.html b/docs/projects.html index 547d59b8d..a16cc4a2a 100644 --- a/docs/projects.html +++ b/docs/projects.html @@ -57,6 +57,13 @@ and Johan Ström.

        bitrocket_thumb.png +

        Acquasition

        +

        Acquasition is a multi-network peer-to-peer +client for Mac.

        + +acquasition.jpg + +

        Instant Media

        IM is a client for downloading Internet TV.

        diff --git a/docs/projects.rst b/docs/projects.rst index b3147dfe6..37f43ac3f 100644 --- a/docs/projects.rst +++ b/docs/projects.rst @@ -37,6 +37,12 @@ project listed here, let me_ know. | | | | BitRocket_ is a MacOS X bittorrent client. | | +-------------------------------------------------------------------------------+-------------------------------------+ +| **Acquasition** | .. image:: acquasition.jpg | +| | | +| Acquasition_ is a multi-network peer-to-peer | | +| client for Mac. | | +| | | ++-------------------------------------------------------------------------------+-------------------------------------+ | **Instant Media** | .. image:: im_thumb.jpg | | | | | IM_ is a client for downloading Internet TV. | | @@ -107,6 +113,7 @@ project listed here, let me_ know. .. _qBittorrent: http://www.qbittorrent.org/ .. _btg: http://developer.berlios.de/projects/btg/ .. _BitRocket: http://www.bitrocket.org/ +.. _Acquasition: http://www.acquisitionx.com .. _IM: http://www.im.com/ .. _MooPolice: http://www.moopolice.de .. _BitsCast: http://www.bitscast.com/software/ diff --git a/docs/suse_build_notes.html b/docs/suse_build_notes.html new file mode 100644 index 000000000..d7c47f93f --- /dev/null +++ b/docs/suse_build_notes.html @@ -0,0 +1,60 @@ + + + + + + + + + + + +
        + + +++ + + + +
        Author:Torsten Bergander
        +
        +

        building libtorrent on SuSE 10.1 (i586)

        +
          +
        1. +
          Prerequisites
          +

          Install packages boost and boost-devel from packman: +http://packman.links2linux.org/package/boost/10887

          +

          There are standard packages delivered with the distribution. They give +some headaches when building new stuff, so the above mentioned ones fix +these problems. +All other potential prerequisites are available via yast in the standard +distribution.

          +
          +
          +
        2. +
        3. +
          Building and installing the lib
          +

          Get the libtorrent-011 release tarbal, unpack and change into its +directory. Then:

          +
          +./configure --with-boost-date-time=boost_date_time
          +--with-boost-filesystem=boost_filesystem
          +--with-boost-thread=boost_thread-mt --with-boost-regex=boost_regex
          +--with-boost-program-options=boost_program_options --disable-debug
          +make
          +sudo make install
          +
          +

          If you don't give the --with-boost parameters configure does not find +the main in the libs and fails. Also, when later installing e.g. btg, +you have to make sure to use the same parameters there, otherwise it is +bound to fail.

          +
          +
          +
        4. +
        +
        +
        + + diff --git a/docs/suse_build_notes.rst b/docs/suse_build_notes.rst new file mode 100644 index 000000000..f38217327 --- /dev/null +++ b/docs/suse_build_notes.rst @@ -0,0 +1,31 @@ +:Author: Torsten Bergander + +building libtorrent on SuSE 10.1 (i586) +======================================= + +0. Prerequisites + Install packages ``boost`` and ``boost-devel`` from packman: + http://packman.links2linux.org/package/boost/10887 + + There are standard packages delivered with the distribution. They give + some headaches when building new stuff, so the above mentioned ones fix + these problems. + All other potential prerequisites are available via yast in the standard + distribution. + +1. Building and installing the lib + Get the libtorrent-011 release tarbal, unpack and change into its + directory. Then:: + + ./configure --with-boost-date-time=boost_date_time + --with-boost-filesystem=boost_filesystem + --with-boost-thread=boost_thread-mt --with-boost-regex=boost_regex + --with-boost-program-options=boost_program_options --disable-debug + make + sudo make install + + If you don't give the --with-boost parameters configure does not find + the main in the libs and fails. Also, when later installing e.g. btg, + you have to make sure to use the same parameters there, otherwise it is + bound to fail. + diff --git a/docs/ubuntu_6_build_notes.html b/docs/ubuntu_6_build_notes.html new file mode 100644 index 000000000..ab1701468 --- /dev/null +++ b/docs/ubuntu_6_build_notes.html @@ -0,0 +1,55 @@ + + + + + + + + + + + +
        + + +++ + + + +
        Author:Torsten Bergander
        +
        +

        building libtorrent-0.11 on ubuntu Edy Eft 6.10

        +
          +
        1. Install prerequisites (maybe cann be stripped down but it works):

          +
          +sudo apt-get install bjam boost-build libboost-date-time-dev
          +libboost-date-time1.33.1 libboost-filesystem-dev
          +libboost-filesystem1.33.1 libboost-graph-dev libboost-graph1.33.1
          +libboost-iostreams-dev libboost-iostreams1.33.1
          +libboost-program-options-dev libboost-program-options1.33.1
          +libboost-regex-dev libboost-regex1.33.1 libboost-serialization-dev
          +libboost-signals-dev libboost-signals1.33.1 libboost-test-dev
          +libboost-test1.33.1 libboost-thread-dev libboost-thread1.33.1
          +libboost-wave-dev libboost-dev
          +
          +
        2. +
        3. Get release tar ball (0.11 at time of writing), unpack, change into:

          +
          +libtorrent-0.11 dir
          +
          +
        4. +
        5. Build and install:

          +
          +export BOOST_BUILD_PATH=/usr/share/boost-build/tools
          +./configure
          +make
          +sudo make install
          +
          +
        6. +
        +
        +
        + + diff --git a/docs/ubuntu_6_build_notes.rst b/docs/ubuntu_6_build_notes.rst new file mode 100644 index 000000000..60860b01d --- /dev/null +++ b/docs/ubuntu_6_build_notes.rst @@ -0,0 +1,29 @@ +:Author: Torsten Bergander + +building libtorrent-0.11 on ubuntu Edy Eft 6.10 +=============================================== + +1. Install prerequisites (maybe cann be stripped down but it works):: + + sudo apt-get install bjam boost-build libboost-date-time-dev + libboost-date-time1.33.1 libboost-filesystem-dev + libboost-filesystem1.33.1 libboost-graph-dev libboost-graph1.33.1 + libboost-iostreams-dev libboost-iostreams1.33.1 + libboost-program-options-dev libboost-program-options1.33.1 + libboost-regex-dev libboost-regex1.33.1 libboost-serialization-dev + libboost-signals-dev libboost-signals1.33.1 libboost-test-dev + libboost-test1.33.1 libboost-thread-dev libboost-thread1.33.1 + libboost-wave-dev libboost-dev + +2. Get release tar ball (0.11 at time of writing), unpack, change into:: + + libtorrent-0.11 dir + +3. Build and install:: + + export BOOST_BUILD_PATH=/usr/share/boost-build/tools + ./configure + make + sudo make install + +