Difference between revisions of "Compilation Installation"
From AMule Project FAQ
Line 7: | Line 7: | ||
To install aMule you can either install it from scratch, as described in '''Compiling From Sources''' or use RPMs which will speed things up a lot, as described in the '''Installing using RPMs''' section. | To install aMule you can either install it from scratch, as described in '''Compiling From Sources''' or use RPMs which will speed things up a lot, as described in the '''Installing using RPMs''' section. | ||
− | |||
− | |||
== Compiling From Sources == | == 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 still have problems after this, then [[Check_if_wx_is_installed_twice|check if wx is installed twice]], since that's a common compilation and runtime problem. | '''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 still have problems after this, then [[Check_if_wx_is_installed_twice|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 | + | '''NOTE:''' In [[wxWidgets]] >= 2.5.1, [[wxBase]] is not distributed as a separate tarball. |
==== Step 1: [[wxWidgets|wxGTK]] ==== | ==== Step 1: [[wxWidgets|wxGTK]] ==== | ||
*download [[wxWidgets|wxGTK]] -> | *download [[wxWidgets|wxGTK]] -> | ||
− | **[ | + | **[ftp://biolpc22.york.ac.uk/pub/2.6.0/wxGTK-2.6.0.tar.gz wxGTK-2.6.0.tar.gz] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | * compile [[wxWidgets|wxGTK]] | ||
+ | **''tar -zxvf wxGTK-2.6.0.tar.gz'' | ||
+ | ***''cd wxGTK-2.6.0'' | ||
+ | ***''Linked against GTK1: ./configure --prefix=/usr --disable-gtk2 --with-gtk && make'' | ||
+ | ***''Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make | ||
*as '''root''': | *as '''root''': | ||
**''make install'' | **''make install'' | ||
**''ldconfig'' | **''ldconfig'' | ||
− | |||
==== Step 2: [[wxBase]] ==== | ==== Step 2: [[wxBase]] ==== | ||
− | * | + | *Since [[wxGTK]] 2.5.x you don't need [[wxBase]] anymore, except if you want to compile [[aMule|aMule daemon]] without X. |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | + | ==== Step 3: [[aMule]] ==== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | ==== Step 3 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
*download latest [[aMule]] version -> | *download latest [[aMule]] version -> | ||
− | **[ | + | **[http://developer.berlios.de/project/showfiles.php?group_id=1296 latest aMule] |
* compile [[aMule]] (please check the [[configure|configure article]]) -> | * compile [[aMule]] (please check the [[configure|configure article]]) -> | ||
**''tar -zxvf aMule-X.X.X.tar.gz'' (replace X with the right version number..) | **''tar -zxvf aMule-X.X.X.tar.gz'' (replace X with the right version number..) | ||
**''cd aMule-X.X.X'' | **''cd aMule-X.X.X'' | ||
− | **''./configure --disable-debug --enable- | + | **''./configure --disable-debug --enable-optimize && make'' |
*as '''root''': | *as '''root''': | ||
Line 88: | Line 50: | ||
==== Step 1: [[wxWidgets|wxGTK]] ==== | ==== Step 1: [[wxWidgets|wxGTK]] ==== | ||
− | *download [[wxWidgets|wxGTK]] | + | *download [[wxWidgets|wxGTK]] for your [[Linux]] distribution -> |
− | **[http:// | + | **[http://www.amule.org/files/files.php?cat=12 wxGTK-2.6.0] |
* install [[wxWidgets|wxGTK]] -> | * install [[wxWidgets|wxGTK]] -> | ||
**as '''root''': | **as '''root''': | ||
− | ***''rpm -Uvh wxGTK-2. | + | ***''rpm -Uvh wxGTK-2.6.0-X.rpm'' (replace X with the right name..) |
***''ldconfig'' | ***''ldconfig'' | ||
− | + | ==== Step 2: [[aMule]] ==== | |
− | ==== Step 2 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
*download latest [[aMule]] version -> | *download latest [[aMule]] version -> | ||
− | **[ | + | **[http://developer.berlios.de/project/showfiles.php?group_id=1296 latest aMule] |
* install [[aMule]] -> | * install [[aMule]] -> | ||
**as '''root''': | **as '''root''': | ||
− | ***''rpm -Uvh aMule | + | ***''rpm -Uvh aMule-X.rpm'' (replace X with the right name and version number..) |
* run [[aMule]] as user from your console by typing -> ''amule'' | * run [[aMule]] as user from your console by typing -> ''amule'' |
Revision as of 21:57, 20 May 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 which will speed things up a lot, as described in the Installing using RPMs section.
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 still have problems after this, 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
- Linked against GTK1: ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
- Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make
- tar -zxvf wxGTK-2.6.0.tar.gz
- as root:
- make install
- ldconfig
Step 2: wxBase
- Since wxGTK 2.5.x you don't need wxBase anymore, except if you want to compile aMule daemon without X.
Step 3: aMule
- download 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 user from your 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 user from your console by typing -> amule