Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
(1st)
(2nd)
Line 18: Line 18:
  
 
== 2nd ==
 
== 2nd ==
 
+
[http://www.amule.org/files/files.php?cat=24 Download aMule]<br>
*Download [[aMule]] 2.1.3 (with patch) or higher (no patch needed) from http://www.amule.org/files/files.php?cat=24
+
Unpack it<br>
*Patch aMule
+
Patch aMule (for versions 2.1.3 and older)
** 'mv' the patch file into the extracted aMule directory
+
* 'mv' the patch file into the extracted aMule directory
** type: patch -p1 < name_of_the_patch_file
+
* type: patch -p1 < name_of_the_patch_file<br>
 
+
As user type:
Unpack it, and do as user
+
*''./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver''
*''./configure --with-toolkit=base --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon''
+
 
*''make''
 
*''make''
 
as root  
 
as root  

Revision as of 07:32, 14 December 2007

English | Español | Nederlands | Français | Deutsch

1st

NOTE 1: In order to compile aMule 2.2.0 or higher you need wx 2.8.x.

NOTE 2: In order to compile aMule 2.1.3 with wx-2.8.x you need a Patch available here

NOTE 3: I had success with wxall (a.k.a. wxWidgets) instead of using wxBase --Felipe1982 06:21, 14 December 2007 (UTC)

Download wxBase 2.8.1 or higher from http://www.wxWidgets.org unpack it, and do as user

  • ./configure --disable-gui --enable-unicode --without-subdirs --without-expat
  • make

as root

  • make install
  • ldconfig

2nd

Download aMule
Unpack it
Patch aMule (for versions 2.1.3 and older)

  • 'mv' the patch file into the extracted aMule directory
  • type: patch -p1 < name_of_the_patch_file

As user type:

  • ./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver
  • make

as root

  • make install

That's it. You now have a working aMule-daemon in /usr/local/bin
Now you need to configure it. To create the ~/.aMule/amule.conf file, which is the preferences file, run aMuled once.
The ~/.aMule directory and the ~/.aMule/amule.conf file will be created in the home directory of the user that ran aMuled.

NOTE: In aMule versions previous to 2.0.0 the ~/.aMule/amule.conf file was ~/.eMule.

You probably want aMuleWeb to control your daemon. To be able to use that you need to enable External Connections. Check this article.
Also read the aMuled FAQ, since some setup things are mentioned there.

Where to report problems and questions?

For problems or questions, post a message on aMule forum or join IRC channel #amule at irc.freenode.net

Stefanero Updated by Vollstrecker