Difference between revisions of "Compilation Installation"
From AMule Project FAQ
Line 21: | Line 21: | ||
**''tar -zxvf wxGTK-2.6.0.tar.gz'' | **''tar -zxvf wxGTK-2.6.0.tar.gz'' | ||
**''cd wxGTK-2.6.0'' | **''cd wxGTK-2.6.0'' | ||
− | **Link against the GTK version you have on your system (choose one): | + | **Link against the [http://www.gtk.org GTK] version you have on your system (choose one): |
− | ***''Linked against | + | ***''Linked against [http://www.gtk.org GTK]1: ./configure --prefix=/usr --disable-gtk2 --with-gtk && make'' |
− | ***''Linked against | + | ***''Linked against [http://www.gtk.org GTK]2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make |
*As '''root''': | *As '''root''': | ||
**''make install'' | **''make install'' |
Revision as of 02:49, 5 June 2005
English | Français | Nederlands | Português
Contents
Manual Installation
To install aMule you can either install it from scratch, as described in Compiling From Sources, or use RPMs, as described in the Installing using RPMs section. Using RPMs will speed things up a lot but is not available by default with all linux distributions.
Compiling From Sources
WARNING: Make sure you have no copies of wxWidgets installed. If you already have wxWidgets installed, check How to uninstall wxWidgets before starting a new installation. If you continue have problems, then check if wx is installed twice, since that's a common compilation and runtime problem.
NOTE: In wxWidgets >= 2.5.1, wxBase is not distributed as a separate tarball.
Step 1: wxGTK
- Download wxGTK ->
- Compile wxGTK
- tar -zxvf wxGTK-2.6.0.tar.gz
- cd wxGTK-2.6.0
- Link against the GTK version you have on your system (choose one):
- As root:
- make install
- ldconfig
Step 2: wxBase
- Since wxGTK 2.5.x, you don't need wxBase anymore unless you want to compile aMule daemon without X.
Step 3: aMule
- Download the latest aMule version ->
- Compile aMule (please check the configure article) ->
- tar -zxvf aMule-X.X.X.tar.gz (replace X with the right version number..)
- cd aMule-X.X.X
- ./configure --disable-debug --enable-optimize && make
- As root:
- make install
- Run aMule as a regular user from console by typing -> amule
Installing using RPMs
Step 1: wxGTK
- Install wxGTK ->
- As root:
- rpm -Uvh wxGTK-2.6.0-X.rpm (replace X with the right name..)
- ldconfig
- As root:
Step 2: aMule
- Download latest aMule version ->
- Install aMule ->
- As root:
- rpm -Uvh aMule-X.rpm (replace X with the right name and version number..)
- As root:
- Run aMule as a regular user from your console by typing -> amule