Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
m (Corrected Spelling of Español in language selection)
m (2nd)
Line 24: Line 24:
  
 
== 2nd ==
 
== 2nd ==
[http://www.amule.org/files/files.php?cat=24 Download aMule]<br>
+
[http://www.amule.org/files/files.php?cat=27 Download aMule]<br>
 
Unpack it<br>
 
Unpack it<br>
 
Patch aMule (for versions 2.1.3 and older)
 
Patch aMule (for versions 2.1.3 and older)

Revision as of 17:13, 5 January 2009

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

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