aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule SVN binaries for Leopard (Intel)  (Read 8848 times)

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
aMule SVN binaries for Leopard (Intel)
« 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.

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



« Last Edit: October 05, 2008, 10:26:51 AM by greek »
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #1 on: June 19, 2008, 03:22:16 PM »

Here are the binaries for June 19th 2008
ENABLE DEBUG: http://www.mediafire.com/?ndwzqjmx5m3
DISABLE DEBUG: http://www.mediafire.com/?3bxyztlmjed

Please test and report problems.
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #2 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
« Last Edit: June 21, 2008, 07:57:47 PM by greek »
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #3 on: June 28, 2008, 01:12:47 PM »

SVN-2008-06-28, Leopard, Intel Debug:

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

Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #4 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
« Last Edit: August 14, 2008, 07:19:24 AM by greek »
Logged

heffeque

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
  • Erasmus pleasure night
Re: aMule SVN binaries for Leopard (Intel)
« Reply #5 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?
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #6 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.
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #7 on: August 16, 2008, 08:05:17 PM »

Here is another build from the latest SVN (Aug 16th):

http://www.mediafire.com/?ykphwawns2a
Logged

heffeque

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
  • Erasmus pleasure night
Re: aMule SVN binaries for Leopard (Intel)
« Reply #8 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
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #9 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


Logged

heffeque

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
  • Erasmus pleasure night
Re: aMule SVN binaries for Leopard (Intel)
« Reply #10 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?
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: aMule SVN binaries for Leopard (Intel)
« Reply #11 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.
Logged

bongo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: aMule SVN binaries for Leopard (Intel)
« Reply #12 on: August 17, 2008, 10:52:47 AM »

just tried. when libgeoip is installed via macports, it works.
Logged