Changes between Version 42 and Version 43 of MovedToGitHub/Building


Ignore:
Timestamp:
Jan 3, 2010, 2:51:12 PM (12 years ago)
Author:
Waldorf
Comment:

Cleanup the CentOS part, and other minor stuff

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/Building

    v42 v43  
    2424(Note: These are untested snapshots. Use them with care.)
    2525
    26 == On CentOS 5.4 ==
     26== On Unix ==
     27=== Prerequisites ===
     28==== Ububtu ====
     29The packages you need are:
     30 * build-essential
     31 * automake
     32 * autoconf
     33 * libtool
     34 * pkg-config
     35 * libcurl4-openssl-dev
     36 * intltool
     37 * libxml2-dev
     38 * libgtk2.0-dev
     39 * libnotify-dev
     40 * libglib2.0-dev
    2741
    28 These instructions submitted by abiko
     42''After you install those you can skip [#Buildingfromatarball to this section].''
    2943
    30 Compiling Transmission 1.76 on CentOS 5.4
    31 
    32 Needed package to begin building at the first place:
     44==== CentOS 5.4 ====
     45To install the packages you need to build Transmission, run the following command:[[BR]]
     46{{{
    3347yum install gcc gcc-c++ m4 make automake libtool gettext openssl-devel
    34 
    35 Source archives to be downloaded :
    36 
    37   * http://mirrors.m0k.org/transmission/files/transmission-1.76.tar.bz2
    38   * http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
    39   * http://curl.haxx.se/download/curl-7.19.7.tar.gz
    40   * http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz
    41 
    42 {{{
    43 Installation:
    44 
    45 # PKG config
    46 tar czfv pkg-config-0.23.tar.gz
    47 cd pkg-config-0.23
    48 ./configure
    49 make
    50 make install
    51 
    52 #intltool
    53 tar xzfv intltool-0.40.6.tar.gz
    54 cd intltool-0.40.6
    55 ./configure
    56 make
    57 make install
    58 
    59 # Curl
    60 tar xzfv curl-7.19.7.tar.gz     
    61 cd curl-7.19.7
    62 ./configure
    63 make
    64 make install
    65 
    66 # Transmission 1.76
    67 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
    68 tar xjfv transmission-1.76.tar.bz2
    69 cd transmission-1.76
    70 ./configure --enable-daemon
    71 make
    72 make install
    73 
    74 Transmission is installed in /usr/local/bin
    7548}}}
    7649
    77 == On Unix ==
    78 === Prerequisites ===
     50However, Transmission needs other packages unavailable in {{{yum}}}:
     51 * [http://pkg-config.freedesktop.org/wiki/ pkg-config]
     52 * [http://curl.haxx.se/ libcurl]
     53 * [http://ftp.gnome.org/pub/gnome/sources/intltool/ intltool]
    7954
    80 Ubuntu users: The packages you need are: build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev.  After you install those you can skip this section.
     55Before building Transmission, you need to set the pkgconfig environment setting:
     56{{{
     57export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
     58}}}
    8159
     60''After you install those you can skip [#Buildingfromatarball to this section].''
     61
     62==== Normal ====
    8263If this is your first time compiling on Unix, you'll need a few basic tools:
    8364 * gcc
     
    9475 * libnotify 0.4.4 (optional, and only needed by the GTK+ gui)
    9576 * DBUS 0.70 (optional, and only needed by the GTK+ gui)
    96 [[BR]]
    97 RPM users: you'll also need to install the corresponding -devel packages.
     77
     78
     79==== RPM users ====
     80''You'll also need to install the corresponding {{{-devel}}} packages.''
    9881
    9982=== Building from a tarball ===
    10083{{{
    101 $ tar xvjf transmission-1.40.tar.bz2
    102 $ cd transmission-1.40
     84$ tar xvjf transmission-1.76.tar.bz2
     85$ cd transmission-1.76
    10386$ ./configure -q && make -s
    10487$ su (if necessary for the next line)
     
    157140 * '''beos''' = enables beos client (unsupported)
    158141Note: ''{{{--disable-nls}}} removes the dependancy on gettext and intltool. It's designed for, and should only be used on, [HeadlessUsage embedded devices]. If you do have GTK+ installed on your box, you must also specify {{{--disable-gtk}}}.''
    159 
    160 ----
    161 == Comments ==
    162 
    163  * How do you build a debug version?  It could be a useful addition to configure's parameters.