Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
m (2nd)
 
Line 7: Line 7:
 
</center>
 
</center>
  
== 1st ==
+
== Compile wxWidgets without GUI dependencies ==
  
'''NOTE 1:''' In order to compile aMule 2.2.0 or higher you need wx 2.8.x.
+
'''NOTE:''' I had success with [http://www.wxwidgets.org/downloads/ wxall] (a.k.a. wxWidgets) instead of using wxBase --[[User:Felipe1982|Felipe1982]] 06:21, 14 December 2007 (UTC)
  
'''NOTE 2:''' In order to compile aMule 2.1.3 with wx-2.8.x you need a Patch available [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 here]
+
Download [[wxBase]] 2.8.10 or higher from http://www.wxWidgets.org
 
+
'''NOTE 3:''' I had success with [http://www.wxwidgets.org/downloads/ wxall] (a.k.a. wxWidgets) instead of using wxBase --[[User:Felipe1982|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
 
unpack it, and do as user
 
*''./configure --disable-gui --enable-unicode --without-subdirs --without-expat
 
*''./configure --disable-gui --enable-unicode --without-subdirs --without-expat
Line 23: Line 19:
 
*''ldconfig''
 
*''ldconfig''
  
== 2nd ==
+
== Compile aMuled ==
 
[http://www.amule.org/files/files.php?cat=27 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)
 
* 'mv' the patch file into the extracted aMule directory
 
* type: patch -p1 < name_of_the_patch_file<br>
 
 
As user type:
 
As user type:
 
*''./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver''
 
*''./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver''
Line 35: Line 28:
 
*''make install''
 
*''make install''
  
That's it. You now have a working [[aMuled|aMule-daemon]] in ''/usr/local/bin''<br>
+
That's it. You now have a working [[aMuled|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. <br>
+
 
The ''~/.aMule'' directory and the ''~/.aMule/amule.conf'' file will be created in the home directory of the user that ran [[aMuled]].<br>
+
== Configure aMuled ==
::'''NOTE:''' In [[aMule]] versions previous to 2.0.0 the ''~/.aMule/amule.conf'' file was ''~/.eMule''.<br>
+
You probably want [[AMuleWeb|aMuleWeb]] to control your [[aMuled|daemon]]. To be able to use that you need to enable [[External Connections]]. Check [[AMuleWeb#aMuleWeb_with_aMule_2.0.0_or_later|this article]].<br>
+
Also read the [[FAQ_amuled|aMuled FAQ]], since some setup things are mentioned there.
+
  
== Where to report problems and questions? ==
+
Start aMuled with the command ''amuled --ec-config'' to configure [[External Connections]]. Then you can use aMule [[AMuleWeb]], [[AMuleCMD]] or another [[FAQ_utils|utility]] to control the [[aMuled|daemon]].
  
For problems or questions, post a message on [http://forum.amule.org aMule forum] or join [[IRC]] channel [irc://irc.freenode.net/amule #amule] at [irc://irc.freenode.net irc.freenode.net]
+
You'll find the [[Amule.conf|configuration file]] in ''~/.aMule/amule.conf'' after having run [[aMuled]] once. Please edit the file to change preferences.
  
[[User:Stefanero|Stefanero]]
+
Please read the [[FAQ_amuled|aMuled FAQ]] for more information.
Updated by [[User:Vollstrecker|Vollstrecker]]
+

Latest revision as of 14:26, 15 July 2009

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

Compile wxWidgets without GUI dependencies

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

Download wxBase 2.8.10 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

Compile aMuled

Download aMule
Unpack it
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

Configure aMuled

Start aMuled with the command amuled --ec-config to configure External Connections. Then you can use aMule AMuleWeb, AMuleCMD or another utility to control the daemon.

You'll find the configuration file in ~/.aMule/amule.conf after having run aMuled once. Please edit the file to change preferences.

Please read the aMuled FAQ for more information.