aMule Forum

English => Multiplatform => Mac OSX => Topic started by: greek on June 19, 2008, 03:20:04 PM

Title: aMule SVN binaries for Leopard (Intel)
Post by: greek on June 19, 2008, 03:20:04 PM
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 (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 (http://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 (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.gz (http://prdownloads.sourceforge.net/wxwindows/wxMac-2.8.9.tar.gz)
5)  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 (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



Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on June 19, 2008, 03:22:16 PM
Here are the binaries for June 19th 2008
ENABLE DEBUG: http://www.mediafire.com/?ndwzqjmx5m3 (http://www.mediafire.com/?ndwzqjmx5m3)
DISABLE DEBUG: http://www.mediafire.com/?3bxyztlmjed (http://www.mediafire.com/?3bxyztlmjed)

Please test and report problems.
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on June 21, 2008, 07:51:06 PM
SVN-2008-06-21. This was configured with debugging and GeoIP enabled.

http://www.mediafire.com/?cmtmm2tsrtg
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on June 28, 2008, 01:12:47 PM
SVN-2008-06-28, Leopard, Intel Debug:

http://www.mediafire.com/?yi4f9j42x40

Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on August 14, 2008, 07:16:06 AM
I am almost done with my thesis.
I am contributing this package:
amule mac intel 20080810

http://www.mediafire.com/?lygyn3xyaqu
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: heffeque on August 16, 2008, 12:09:50 PM
I am almost done with my thesis.
I am contributing this package:
amule mac intel 20080810

http://www.mediafire.com/?lygyn3xyaqu
Crashes :-/ (10.5.4 Intel)

Edit: Do you want the crash report?
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on August 16, 2008, 07:51:33 PM
I think the best place to submit crash reports is the "Backtraces" section of the forum. However have you identified when does it crash? Can you reproduce it? Thanks.
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on August 16, 2008, 08:05:17 PM
Here is another build from the latest SVN (Aug 16th):

http://www.mediafire.com/?ykphwawns2a
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: heffeque on August 16, 2008, 09:06:34 PM
Reproduce it? It's impossible not to :-P Just by opening amule.app it crashes before doing anything.

Hope this helps:

Dyld Error Message:
  Library not loaded: /opt/local/lib/libGeoIP.1.dylib
  Referenced from: /Applications/aMule.app/Contents/MacOS/amule
  Reason: image not found
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on August 16, 2008, 09:29:13 PM
I see. Well it probably has nothing to do with this build, you just need to install the library.
If you have macports installed, do a

port install libgeoip


Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: heffeque on August 16, 2008, 10:47:52 PM
But your previous 2.2.1 versions worked just out of the box. Why do I need to add this now?
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: greek on August 17, 2008, 08:38:58 AM
Actually I am not sure. I just realized that libgeoip is compiled as static. This is a little strange, thanks for the input.
However for now, just try to install libgeoip as I described and it will work.
Title: Re: aMule SVN binaries for Leopard (Intel)
Post by: bongo on August 17, 2008, 10:52:47 AM
just tried. when libgeoip is installed via macports, it works.