Here I will try to post periodically, my builds for intel based machines running Leopard. There is going to be one package with debugging information and one without, for testing and performance respectively. It is best if you use the debugging package and in case of a crash, submit a backtrace, as explained in
http://www.amule.org/wiki/index.php/Backtraces.
To compile the binaries on Leopard one has to do the following:
1) Install Apple's XCode-3.0
2) Install macports from
www.macports.org. To do this download
http://svn.macports.org/repository/macports/downloads/MacPorts-1.6.0/MacPorts-1.6.0-10.5-Leopard.dmg and run the installer.
3) Install some essential supporting libraries via macports. Open the Terminal.app and type:
sudo port install libiconv gd2 libcryptopp libgeoip libupnp
4) Download wxMac-2.8.9 from
http://prdownloads.sourceforge.net/wxwindows/wxMac-2.8.9.tar.gz5) Unzip wxMac, cd in the directory from the Terminal and run:
./configure --disable-shared --enable-unicode --disable-debug --disable-debug_gdb --with-libiconv-prefix=/opt/local
make
You only do those steps once for all aMule builds. Then you download the latest aMule-SVN from
http://www.hirnriss.net/?area=cvs. Decompress it, cd into the directory and first configure:
./configure --disable-systray --disable-gtk --enable-embedded_crypto --with-wx-config=../wxMac-2.8.9/wx-config --enable-optimize --with-crypto-prefix=/opt/local --with-gdlib-config=/opt/local/bin/gdlib-config --with-libiconv-prefix=/opt/local --enable-cas --enable-webserver --enable-amulecmd --enable-amule-gui --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemon --enable-geoip --with-geoip-lib=/opt/local/lib --with-geoip-headers=/opt/local/include --enable-geoip-static --enable-debug --enable-debug_gdb
then compile:
make -j8
and finally create aMule.app
./src/utils/scripts/mac_packager
NOTES
1) macports offers wxWidgets-2.8.9, but unfortunately it does not work because
a) it misses a file (execute.h)
b) it does not have an option to be compiled as non-shared
2) If you don't want debug information, in aMule's configure script, replace --enable-debug --enable-debug_gdb by --disable-debug --disable-debug_gdb