Changes between Version 63 and Version 64 of MovedToGitHub/Building


Ignore:
Timestamp:
May 3, 2012, 9:04:50 PM (9 years ago)
Author:
Lacrocivious
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/Building

    v63 v64  
    2727== On Unix ==
    2828=== Prerequisites ===
     29
    2930==== Ubuntu ====
    3031On Ubuntu, you can install the required development tools with this command:
     
    3435
    3536''After you install those you can skip [#Buildingfromatarball to this section].''
     37
     38==== Debian Squeeze ====
     39
     40Sometimes you have a need to stay current with upstream releases, even though you would like to rely on the stability of your base distribution. Here is how this can be accomplished in "quick and dirty" fashion.
     411. Dependencies
     42
     43First let us install every dependency Transmission needs and for which there is a usable version in the Debian repository.
     44
     45{{{
     46$ apt-get install ca-certificates libcurl4-openssl-dev libssl-dev pkg-config build-essential checkinstall
     47}}}
     48
     492. libevent
     50
     51Traditionally, libevent is also needed, but Transmission depends on version numbers only rarely found in Debian. So let us start by compiling libevent in a directory of your choice. Browse to http://libevent.org/ and get the latest version.
     52{{{
     53$ cd /usr/local/src
     54$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.18-stable.tar.gz
     55$ cd libevent-2.0.18-stable
     56$ tar xzf libevent-2.0.18-stable.tar.gz
     57$ CFLAGS="-Os -march=native" ./configure && make
     58}}}
     59
     60Now, we would really like to be able to upgrade to a new version in the future, so there should be a mechanism other than the classic "make install" which keeps count of what went where (and ideally this is not a piece of paper). So we build a very simple Debian package from the compiled files and install it. Basically you just enter the following command and hit return until a nice text message tells you that all is done.
     61
     62{{{
     63$ checkinstall
     64}}}
     65
     663. Transmission
     67
     68Now we need to prepare Transmission for compilation by configuring the source, the same as with libevent.
     69
     70{{{
     71$ cd /usr/local/src
     72$ wget http://download-origin.transmissionbt.com/files/transmission-2.51.tar.bz2
     73$ tar xjf transmission-2.51.tar.bz2
     74$ cd transmission-2.51
     75$ CFLAGS="-Os -march=native" ./configure && make && checkinstall
     76}}}
     77
     78''Thanks to josen at [http://falkhusemann.de/blog/2012/05/compiling-transmission-bittorrent-for-debiand/] for the original Debian Squeeze howto section.''
    3679
    3780==== CentOS 5.4 ====
     
    62105
    63106''After you install those you can skip [#Buildingfromatarball to this section].''
     107
    64108
    65109==== Normal ====