Skip to end of metadata
Go to start of metadata

aMule stands for all plateforme mule

aMule is an eMule-like client for the eD2k and Kademlia networks, supporting multiple platforms.

More infos

this guide was (almost entirely) inspired by

Installing dependencies

First we need a build environnement:

# pkg install developer/gcc-3@3.4.3- developer/gnu developer/gnu-binutils developer/gnome/gettext



Get the latest wxGTK package from and compile it:

$ wget

$ tar xf wxGTK-2.8.12.tar.gz && cd wxGTK-2.8.12/

$ ./configure --enable-unicode --with-gtk=2 && make

$ sudo make install


Get the cryptopp library 5.5.2 from . Do not use cryptopp 5.6.0, it will make aMule segfault when compiled (no idea why)

$ mkdir cryptopp && cd cryptopp && wget

$ unzip

$ make

$ sudo cp libcryptopp.a /usr/local/lib

$ sudo mkdir /usr/local/include/cryptopp && sudo cp *.h to /usr/local/include/cryptopp


$ wget

$ tar xf GeoIP.tar.gz && cd GeoIP/

$ ./configure && make

$ sudo make install


$ wget

$ tar xf GD_2_0_33.tar.gz && cd pierrejoye-gd-libgd-5551f61978e3/src

$ ./configure && make

$ sudo make install


The latest libUPnP source code from (libupnp-1.6.16 at time of writing) did not work for me, I used libupnp-1.6.6 instead, maybe other(s) realease(s) should work, I didn't try.

Hint 1: this configure line worked for me: ./configure CFLAGS="-DSPARC_SOLARIS" --disable-samples
Hint 2: I needed to add this at the beginning of the file upnp/src/api/upnpapi.c, along with the other #include lines:

#include <sys/sockio.h>

...make && sudo make install

and finally:

set some env variables:

CPPFLAGS='-I/usr/local/include -I/opt/gnu/include -I/opt/csw/include -I/usr/sfw/include -I/usr/include' LDFLAGS='-L/usr/local/lib -R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/gnu/lib -R/usr/gnu/lib' LD_LIBRARY_PATH=/usr/local/lib:/usr/gnu/lib:/opt/csw/lib:/usr/sfw/lib:/usr/lib export PATH CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH


download amule at

$ tar xf aMule-2.3.1.tar.bz2 && cd aMule-2.3.1/

$ ./configure --enable-webserver --enable-amule-daemon --enable-amulecmd --enable-amule-gui --enable-cas --enable-wxcas --enable-alc --enable-alcc --with-wx-config=/usr/local/bin/wx-config --with-gdlib-config=/usr/local/bin/gdlib-config --with-libupnp-prefix=/usr/local --enable-geoip --with-geoip-lib=/usr/local/lib --with-geoip-headers=/usr/local/include --disable-embedded-crypto --with-crypto-prefix=/usr/local/ --enable-optimize --disable-debug

$ make

and if lucky: sudo make install


  • No labels