Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
m
Line 1: Line 1:
 
<center> '''English''' | [[HowTo_Compile_aMuled-es|Español]] | [[HowTo_Compile_aMuled-nl|Nederlands]] </center>
 
<center> '''English''' | [[HowTo_Compile_aMuled-es|Español]] | [[HowTo_Compile_aMuled-nl|Nederlands]] </center>
 
  
 
== 1st ==
 
== 1st ==
  
'''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 [[aMuled]] will not compile with earlier versions of [[wxWidgets]], such as version 2.4.2!
+
'''NOTE:''' In order to compile aMule 2.1.0 you need wx 2.6.x.
 
+
In order to compile aMule 2.1.0 you need wx 2.6.x.
+
  
Download [[wxBase]] 2.5.4 or higher from http://www.wxWidgets.org
+
Download [[wxBase]] 2.6.1 or higher from http://www.wxWidgets.org
 
unpack it, and do as user
 
unpack it, and do as user
 
*''./configure --prefix=/usr/''
 
*''./configure --prefix=/usr/''
Line 16: Line 13:
 
*''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.
  
 
== 2nd ==
 
== 2nd ==
Line 40: Line 39:
 
[[User:Stefanero|Stefanero]]
 
[[User:Stefanero|Stefanero]]
  
If you're compiling on a [[Debian]] installation, and configure can't find ''wx-config'', make sure to install packages ''libwxgtk2.5-dev'', and ''libwxgtk2.5.3''.
+
If you're compiling on a [[Debian]] installation, and configure can't find ''wx-config'', make sure to install packages ''libwxgtk2.5-dev'', and ''libwxgtk2.6.1''.
 
+
If you are compiling on a [[Ubuntu]] or "testing" Debian installation you will need to get the build-essential packets. Instead of the 'libwxgtk2.5-dev'', and ''libwxgtk2.5.3'' install 'libwxgtk2.6-0'' and 'libwxgtk2.6-dev''.
+

Revision as of 03:31, 22 January 2006

English | Español | Nederlands

1st

NOTE: In order to compile aMule 2.1.0 you need wx 2.6.x.

Download wxBase 2.6.1 or higher from http://www.wxWidgets.org unpack it, and do as user

  • ./configure --prefix=/usr/

NOTE: If you want Unicode support you need to give the --enable-unicode flag to the configure script.

  • make

as root

  • make install
  • ldconfig

If you are running an Ubuntu or Debian installation simply install 'libwxgtk2.6-0 and 'libwxgtk2.6-dev packages.

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 just report on aMule forum or join IRC channel #amule at irc.freenode.net

Stefanero

If you're compiling on a Debian installation, and configure can't find wx-config, make sure to install packages libwxgtk2.5-dev, and libwxgtk2.6.1.