Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
(Updated)
Line 3: Line 3:
 
== 1st ==
 
== 1st ==
  
'''NOTE:''' In order to compile aMule 2.1.0 or higher you need wx 2.6.x.
+
'''NOTE:''' In order to compile aMule 2.2.0 or higher you need wx 2.8.x.
 +
'''NOTE:''' In order to compile aMule 2.1.3 with wx-2.8.x you need a Patch aviable [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 here]
  
Download [[wxBase]] 2.6.1 or higher from http://www.wxWidgets.org
+
Download [[wxBase]] 2.8.1 or higher from [http://www.wxWidgets.org|here]
 
unpack it, and do as user
 
unpack it, and do as user
*''./configure --prefix=/usr/''
+
*''./configure --prefix=/usr/ --enable-unicode''
'''NOTE:''' If you want [http://www.unicode.org Unicode] support you need to give the ''--enable-unicode'' flag to the configure script.
+
 
*''make''
 
*''make''
 
as root  
 
as root  
 
*''make install''
 
*''make install''
 
*''ldconfig''
 
*''ldconfig''
 
If you are running an [[Ubuntu]] or Debian installation simply install 'libwxgtk2.6-0'' and 'libwxgtk2.6-dev'' packages. This will install a complete X-server as well. As an alternative you can activate the universe in ''/etc/apt/sources.list'', which provides the corresponding wxBase packages (without the X-Server).
 
  
 
== 2nd ==
 
== 2nd ==
  
*Download [[aMule]] 2.1.0 or higher from http://www.amule.org/files/files.php?cat=24
+
*Download [[aMule]] 2.1.3 (with patch) or higher (no patch needed) from http://www.amule.org/files/files.php?cat=24
  
 
Unpack it, and do as user
 
Unpack it, and do as user
Line 38: Line 36:
  
 
[[User:Stefanero|Stefanero]]
 
[[User:Stefanero|Stefanero]]
 +
Updated by [[User:Vollstrecker|Vollstrecker]]

Revision as of 13:29, 27 August 2007

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

1st

NOTE: In order to compile aMule 2.2.0 or higher you need wx 2.8.x. NOTE: In order to compile aMule 2.1.3 with wx-2.8.x you need a Patch aviable here

Download wxBase 2.8.1 or higher from [1] unpack it, and do as user

  • ./configure --prefix=/usr/ --enable-unicode
  • make

as root

  • make install
  • ldconfig

2nd

Unpack it, and do as user

  • ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon
  • 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