Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
m (Compile wxWidgets without GUI dependencies: Update minimum required wxWidgets version to 2.8.12)
 
(59 intermediate revisions by 27 users not shown)
Line 1: Line 1:
== 1st ==
+
<center>
 +
'''English''' |
 +
[[HowTo Compile aMuled-de|Deutsch]] |
 +
[[HowTo_Compile_aMuled-es|Espa&ntilde;ol]] |
 +
[[HowTo_Compile_aMuled-nl|Nederlands]] |
 +
[[HowTo Compile aMuled-fr|Français]]
 +
</center>
  
'''NOTE:''' If you have already installed [[wxWidgets|wxGTK]] 2.5.4 or higher, jump directly into the [[#2nd|second step]], since [[wxGTK]] 2.5.4 includes [[wxBase]] 2.5.4. Note that the aMule daemon will not compile with earlier versions of wxGTK, such as wxGTK-2.4.2!
+
== Compile wxWidgets without GUI dependencies ==
  
Download [[wxBase]] 2.5.4 or higher from http://www.wxWidgets.org
+
'''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)
 +
 
 +
Download [[wxBase]] 2.8.12 or higher from http://www.wxWidgets.org
 
unpack it, and do as user
 
unpack it, and do as user
*''./configure --prefix=/usr/''
+
*''./configure --disable-gui --enable-unicode --without-subdirs --without-expat
 
*''make''
 
*''make''
 
as root  
 
as root  
Line 11: Line 19:
 
*''ldconfig''
 
*''ldconfig''
  
 
+
== Compile aMuled ==
== 2nd ==
+
[http://www.amule.org/files/files.php?cat=27 Download aMule]<br>
 
+
Unpack it<br>
*Download [[aMule CVS|amule-cvs]] from http://amule.hirnriss.net
+
As user type:
Don't use version 2.0.0-rc8, there was a severe bug in it concerning [[aMuled]]!
+
*''./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver''
 
+
Unpack it, and do as user
+
*''./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon''
+
 
*''make''
 
*''make''
 
as root  
 
as root  
 
*''make install''
 
*''make install''
  
Edit( I had to copy all wx  lib files, libwx_base-2.5.so.4.0.0 and symlinks, from /usr/local/lib to /usr/lib then it worked)
+
That's it. You now have a working [[aMuled|aMule-daemon]] in ''/usr/local/bin''
  
That's it. You now have a working [[aMuled|aMule-daemon]] in ''/usr/local/bin''<br>
+
== Configure aMuled ==
Now you need to configure it. To create the ''~/.eMule'' file, which is the preferences file, run [[aMuled]] once. <br>
+
The ''~/.eMule'' file and the ''~/.aMule'' directory will be creted in the home directory of the user that ran [[aMuled]]. <br>
+
You probably want [[aMuleWeb]] to control your [[aMuled|daemon]]. To be able to use that you need to enable [[External Connections]]. Check [[Webserver-1.2.x|this article]].<br>
+
I know it's for 1.2.x but since you dont have a GUI to setup everything this is what you want.<br>
+
  
== 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 just report 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.

Latest revision as of 11:43, 10 July 2020

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.12 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.