HowTo Compile aMuled

From AMule Project FAQ
Revision as of 17:13, 5 January 2009 by Myth (Talk | contribs)

Jump to: navigation, search

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