Difference between revisions of "Compilation Installation"
Vollstrecker (Talk | contribs) m (Adjusted TOC, Adjusted Links, Added Version-Tag) |
|||
Line 5: | Line 5: | ||
== Manual Installation == | == Manual Installation == | ||
− | + | To install [[AMule Project FAQ:About|aMule]] you can either install it from scratch, as described in [[Compilation_Installation#Compiling From Sources|Compiling From Sources]], or use [http://www.rpm.org RPM]s, as described in the [[Compilation_Installation#Installing using RPMs|Installing using RPMs]] section. Using [http://www.rpm.org RPM]s will speed things up a lot but is not available by default with all [http://www.kernel.org linux] distributions. | |
− | To install [[aMule]] you can either install it from scratch, as described in [[Compilation_Installation#Compiling From Sources|Compiling From Sources]], or use [http://www.rpm.org RPM]s, as described in the [[Compilation_Installation#Installing using RPMs|Installing using RPMs]] section. Using [http://www.rpm.org RPM]s will speed things up a lot but is not available by default with all [http://www.kernel.org linux] distributions. | + | |
== 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 continue have problems, 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 continue have problems, then [[Check_if_wx_is_installed_twice|check if wx is installed twice]], since that's a common compilation and runtime problem. | ||
Line 18: | Line 16: | ||
*[[HowTo compile on Win32|Compile aMule on Windows]] | *[[HowTo compile on Win32|Compile aMule on Windows]] | ||
− | + | === Step 1: [[wxWidgets]] === | |
− | + | ||
*Download [[wxWidgets|wxGTK]] -> | *Download [[wxWidgets|wxGTK]] -> | ||
**[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.4.tar.bz2 wxGTK-2.8.4.tar.bz2] | **[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.4.tar.bz2 wxGTK-2.8.4.tar.bz2] | ||
Line 31: | Line 28: | ||
**''ldconfig'' | **''ldconfig'' | ||
− | + | ==== [[wxBase]] ==== | |
− | + | ||
*Since [[wxGTK]] 2.5.x, you don't need [[wxBase]] anymore unless you want to compile [[aMuled|aMule daemon]] without X. | *Since [[wxGTK]] 2.5.x, you don't need [[wxBase]] anymore unless you want to compile [[aMuled|aMule daemon]] without X. | ||
*To compile wxWidgets without a graphical User Interface, ''use the option --disable-gui'' | *To compile wxWidgets without a graphical User Interface, ''use the option --disable-gui'' | ||
− | + | === Step 3: [[AMule Project FAQ:About|aMule]] === | |
− | + | *Download the latest [[AMule Project FAQ:About|aMule]] version -> | |
− | *Download the latest [[aMule]] version -> | + | |
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Latest aMule] | **[http://developer.berlios.de/project/showfiles.php?group_id=1296 Latest aMule] | ||
− | *Compile [[aMule]] (please check the [[configure|configure article]]) -> | + | *Compile [[AMule Project FAQ:About|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'' | ||
Line 49: | Line 44: | ||
**''make install'' | **''make install'' | ||
− | *Run [[aMule]] as a regular user from console by typing -> ''amule'' | + | *Run [[AMule Project FAQ:About|aMule]] as a regular user from console by typing -> ''amule'' |
− | + | ===='''aMule 2.1.3 and wxWidgets 2.8.4'''==== | |
*In order to compile aMule 2.1.3 against wxWidgets 2.8.4, you need the [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 aMule-wx.patch] | *In order to compile aMule 2.1.3 against wxWidgets 2.8.4, you need the [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 aMule-wx.patch] | ||
*Apply the patch using ''patch -p1 < aMule-wx.patch'' before executing ''make''. | *Apply the patch using ''patch -p1 < aMule-wx.patch'' before executing ''make''. | ||
== Installing using RPMs == | == Installing using RPMs == | ||
− | + | === Step 1: [[wxWidgets|wxGTK]] === | |
− | + | ||
− | + | ||
*Download [[wxWidgets|wxGTK]] for your [http://www.kernel.org Linux] distribution -> | *Download [[wxWidgets|wxGTK]] for your [http://www.kernel.org Linux] distribution -> | ||
**[http://www.amule.org/files/files.php?cat=12 wxGTK-2.6.3] | **[http://www.amule.org/files/files.php?cat=12 wxGTK-2.6.3] | ||
Line 67: | Line 60: | ||
***''ldconfig'' | ***''ldconfig'' | ||
− | + | === Step 2: [[AMule Project FAQ:About|aMule]] === | |
− | + | *Download latest [[AMule Project FAQ:About|aMule]] version -> | |
− | *Download latest [[aMule]] version -> | + | |
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Latest aMule] | **[http://developer.berlios.de/project/showfiles.php?group_id=1296 Latest aMule] | ||
− | *Install [[aMule]] -> | + | *Install [[AMule Project FAQ:About|aMule]] -> |
**As '''root''': | **As '''root''': | ||
***''rpm -Uvh aMule-X.rpm'' (replace X with the right name and version number..) | ***''rpm -Uvh aMule-X.rpm'' (replace X with the right name and version number..) | ||
− | * Run [[aMule]] as a regular user from your console by typing -> ''amule'' | + | * Run [[AMule Project FAQ:About|aMule]] as a regular user from your console by typing -> ''amule'' |
+ | |||
+ | == Version == | ||
+ | Created by DeltaHF on 28.04.04 at 22:54<br> | ||
+ | Updated by Vollstrecker on 22.01.08 at 10:27 |
Revision as of 10:32, 22 January 2008
English | Français | Nederlands | Português | Deutsch | Russian | Italiano
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.
There are different versions of the wxWidgets for different platforms. wxGTK is used for Linux, Solaris and BSD, wxMSW for Windows and wxMac for Mac OS X. Here we'll explain the compilation using wxGTK, but it differs only slightly for other toolkits.
Please see the specific articles for more detailed instructions.
Step 1: wxWidgets
- Download wxGTK ->
- Compile wxGTK
- tar -jxvf wxGTK-2.8.4.tar.bz2
- cd wxGTK-2.8.4
- Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
- As root:
- make install
- ldconfig
wxBase
- Since wxGTK 2.5.x, you don't need wxBase anymore unless you want to compile aMule daemon without X.
- To compile wxWidgets without a graphical User Interface, use the option --disable-gui
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
aMule 2.1.3 and wxWidgets 2.8.4
- In order to compile aMule 2.1.3 against wxWidgets 2.8.4, you need the aMule-wx.patch
- Apply the patch using patch -p1 < aMule-wx.patch before executing make.
Installing using RPMs
Step 1: wxGTK
- Install wxGTK ->
- As root:
- rpm -Uvh wxGTK-2.6.3-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
Version
Created by DeltaHF on 28.04.04 at 22:54
Updated by Vollstrecker on 22.01.08 at 10:27