Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
Line 5: Line 5:
  
 
'''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:''' 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!
 +
 +
Since aMule 2.1.0 you need wx 2.6.x to compile successfully.
  
 
Download [[wxBase]] 2.5.4 or higher from http://www.wxWidgets.org
 
Download [[wxBase]] 2.5.4 or higher from http://www.wxWidgets.org

Revision as of 21:14, 21 January 2006

English | Español | Nederlands


1st

NOTE: If you have already installed wxGTK 2.5.4 or higher, jump directly into the 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!

Since aMule 2.1.0 you need wx 2.6.x to compile successfully.

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

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

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.