Difference between revisions of "HowTo Compile aMuled"

From AMule Project FAQ
Jump to: navigation, search
(in current "testing" Debian there is no 2.5, the situation is like in Ubuntu)
Line 42: Line 42:
 
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.5.3''.
  
If you are compiling on a [[Ubuntu]] 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''.
+
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 13:33, 8 December 2005

English | Español


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!

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

Don't use version 2.0.0-rc8, there was a severe bug in it concerning aMuled!

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.
I know it's for 1.2.x but since you dont have a GUI to setup everything this is what you want.
Also read the aMuled FAQ, since some setup things are metioned 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.