aMule Forum

English => Multiplatform => Mac OSX => Topic started by: mirko.g on September 02, 2009, 05:19:18 PM

Title: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: mirko.g on September 02, 2009, 05:19:18 PM
I will update this first post to allow everyone to get the last build without reading all thread!
Take a look to this thread (http://forum.amule.org/index.php?topic=17222.0) for the last news...  :D

Instead of Snow Leopard release, you can use Leopard version (http://forum.amule.org/index.php?topic=17203.0) too: it actually works (32-bit)!

LAST UPDATE: Sep, 19th 2009

Last build
aMule-r9803-x86_64-SnowLeopard-MFb01.dmg (http://www.mac-factory.org/redmine/repositories/changes/macmule/SVN/aMule-r9803-x86_64-SnowLeopard-MFb01.dmg)
This is a "no frills" experimental build. Please use at your own risk!
It doesn't work without libiconv (from MacPorts)!
To install libiconv only download and install the library from here (http://www.mac-factory.org/redmine/repositories/browse/macmule/libraries)!

SPECS
OS X: 10.6
Arch: Intel x86_64
gcc: 4.2.1
wxWidgets: wxWidgets r61942 (2.9+) with OSX/Cocoa toolkit


Libraries and tools

Featured
Simply aMule... no frills!

CHANGELOG
2009-09-17

ISSUES
#1-r9803-b01 (http://forum.amule.org/index.php?topic=17216.msg92986#msg92986): aMule is missing most libraries from aMule.app/Contents/Framework/ folder. There is a temporary workaround (http://forum.amule.org/index.php?topic=17216.msg93002#msg93002).
#2-r9803-b01 (http://forum.amule.org/index.php?topic=17216.msg93004#msg93004): Libraries errors.
Title: Re: aMule-2.2.5-SnowLeopard (MacFactory Release) -- Work in Progess --
Post by: mirko.g on September 02, 2009, 05:20:18 PM
At now I'm waiting for MacPorts staff patching binutils (#20197 (https://trac.macports.org/ticket/20197)) and libcryptopp (#21025 (https://trac.macports.org/ticket/21025)) which have problems with 64bit arch...
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [WORK IN PROGRESS]
Post by: mirko.g on September 09, 2009, 02:45:32 PM
The guys at MacPorts finally patched libcryptopp. I don't really need binutils, since I don't want to build Universal Binary... :)
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [WORK IN PROGRESS]
Post by: mirko.g on September 17, 2009, 06:30:13 AM
For the ones interested in... binutils has been patched too.  ;)
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: mirko.g on September 17, 2009, 06:21:08 PM
First post updated with link to Snow Leopard 64-bit aMule... feedback wanted!!! ;)
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: eisa01 on September 17, 2009, 07:32:59 PM
Link doesn't work
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: mirko.g on September 17, 2009, 08:41:39 PM
Link doesn't work

Corrected...
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: eisa01 on September 17, 2009, 10:40:38 PM
Doesn't start, gives this error:
Code: [Select]
Dyld Error Message:
  Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /Applications/aMule.app/Contents/MacOS/amule
  Reason: Incompatible library version: amule requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
I don't have macports installed.
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: mirko.g on September 18, 2009, 07:32:41 AM
Doesn't start, gives this error:
Code: [Select]
Dyld Error Message:
  Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /Applications/aMule.app/Contents/MacOS/amule
  Reason: Incompatible library version: amule requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
I don't have macports installed.

It seems that your Mac cannot use libiconv provided with aMule (e.g. because of wrong architecture) and tries to use Apple version which is older the the MacPorts one. Are you on a 32-bit system?

UPDATE: Forget it... i found out the problem. I'll take care of it in the next build!
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: akira28 on September 18, 2009, 02:51:59 PM
I've the same problem. This is my log:
Code: [Select]
Process:         amule [427]
Path:            /Applications/aMule.app/Contents/MacOS/amule
Identifier:      org.amule.aMule
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [174]

Date/Time:       2009-09-18 14:47:04.491 +0200
OS Version:      Mac OS X 10.6.1 (10B504)
Report Version:  6

Interval Since Last Report:          164918 sec
Crashes Since Last Report:           34
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      035BAEF9-E940-4342-BC0B-770CDDCDDAEA

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /Applications/aMule.app/Contents/MacOS/amule
  Reason: Incompatible library version: amule requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

Model: MacBook2,1, BootROM MB21.00A5.B07, 2 processors, Intel Core 2 Duo, 2 GHz, 3 GB, SMC 1.13f3
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x87), Atheros 5416: 2.0.19.4
Bluetooth: Version 2.2.1f7, 2 service, 0 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: SAMSUNG HM250JI, 232.89 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857D
USB Device: USB to ATA/ATAPI Bridge, 0x152d  (JMicron Technology Corp.), 0x2338, 0xfd100000
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x021b, 0x1d200000
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000

I'm running Snow Leopard 10.6.1 on a macbook core2duo with kernel at 32bit but everything else at 64bit
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [RELEASED]
Post by: mirko.g on September 18, 2009, 02:56:16 PM
I've the same problem.

Yes it seems aMule is missing most libraries and is looking for them into the core system. A new build is coming and it (hopefully) won't suffer this problem any more.
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [PATCHING]
Post by: mirko.g on September 18, 2009, 03:23:27 PM
In the meanwhile you can try to install libiconv only (without all MacPorts suite). you can grab it HERE (http://www.mac-factory.org/redmine/repositories/browse/macmule/libraries)!
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [PATCHING]
Post by: akira28 on September 18, 2009, 04:32:43 PM
Now it runs but then crashes with the log attached. I know you can fix it :D
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [HIGHLY-UNSTABLE]
Post by: Stu Redman on September 18, 2009, 09:50:08 PM
This is getting confusing. Thread title says 2.2.5, first post says SVN. Crash log says 2.2.1 (wtf?). Now what?
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [HIGHLY-UNSTABLE]
Post by: mirko.g on September 19, 2009, 09:41:37 AM
This is getting confusing. Thread title says 2.2.5, first post says SVN. Crash log says 2.2.1 (wtf?). Now what?

My goal was to build a stable release for Snow Leopard but as someone said wx2.9 compatibility comes with SVN only... I'll change the title.
But I really don't know why log says 2.2.1!!!  :-\
Title: Re: aMule-SVN-x86_64-SnowLeopard [HIGHLY-UNSTABLE]
Post by: Kry on September 19, 2009, 10:03:01 AM
Someone didn't update info.plist ?
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [HIGHLY-UNSTABLE]
Post by: Stu Redman on September 19, 2009, 12:12:46 PM
My goal was to build a stable release for Snow Leopard
WX 2.8 doesn't support  Snow Leopard?

Someone didn't update info.plist ?
Yep. Fixed in 9814.
Title: Re: aMule-2.2.5-x86_64-SnowLeopard [HIGHLY-UNSTABLE]
Post by: mirko.g on September 19, 2009, 01:50:31 PM
WX 2.8 doesn't support  Snow Leopard?

Snow Leopard is 64 bit. It supports 32 bit applications indeed, but all the libraries and extra stuff need to be 32-bit... it's a nuisance! It's better to use Leopard version... ;)
Title: Re: aMule for SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: GonoszTopi on September 19, 2009, 04:30:23 PM
My goal was to build a stable release for Snow Leopard [...]

Well, hard to achieve using an unstable library...
Title: Re: aMule for SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: Stu Redman on September 19, 2009, 05:04:59 PM
wx 2.8 also supports 64 bit. People have built 64 bit aMule on Linux for ages. So what's the point, or am I missing something?
I'm very interested in your efforts to build (and run!) aMule with 2.9 on Mac, but that's not the way to go for a stable version right now.
Title: Re: aMule for SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: mirko.g on September 19, 2009, 05:35:32 PM
wx 2.8 also supports 64 bit. People have built 64 bit aMule on Linux for ages. So what's the point, or am I missing something?
I'm very interested in your efforts to build (and run!) aMule with 2.9 on Mac, but that's not the way to go for a stable version right now.

Sorry I miss a detail... To build wx 64-bit on Mac OS you need Cocoa, since Carbon is not 64-bit. And it seems that Cocoa was only a "gadget" before 2.9...
Title: Re: aMule for SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: mirko.g on September 19, 2009, 05:36:54 PM
Well, hard to achieve using an unstable library...

Yep... I started from 2.2.5 but suddenly understand that... 64-bit -> Cocoa -> wx2.9 -> aMule SVN... Now I hope in 2.2.6!  :P
Title: Re: aMule for SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: Stu Redman on September 19, 2009, 06:39:35 PM
Your hope is in vain. 2.2.6 is only a bugfix release. New features (and especially experimental features like 2.9 supported) are not included.
Title: Re: aMule for SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: mirko.g on September 19, 2009, 11:03:13 PM
Your hope is in vain. 2.2.6 is only a bugfix release. New features (and especially experimental features like 2.9 supported) are not included.

This means I'll keep trying with SVN. When do you plan to release a stable version supporting 2.9 in your roadmap? This will help me to focus on the right stuff...
Title: Re: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: Kry on September 19, 2009, 11:45:11 PM
Next monday.
Title: Re: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: Stu Redman on September 19, 2009, 11:53:24 PM
What roadmap?  ;D

Oh, and there will never be a stable version with wx 2.9, since 2.9 is experimental in nature. It was just released so the apps using wx can give feedback and improve it. The upcoming stable wx version will be 3.0.

There may be a release of aMule 2.3.0 with wx 2.9 support before that, but it will only be stable when compiled with 2.8.
Title: Re: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: mirko.g on September 20, 2009, 09:28:39 AM
Next monday.

Yeah, and the same day a mule will place its hooves on Mars...  ;D

What roadmap?  ;D

LOL

Quote
Oh, and there will never be a stable version with wx 2.9, since 2.9 is experimental in nature. It was just released so the apps using wx can give feedback and improve it. The upcoming stable wx version will be 3.0.
There may be a release of aMule 2.3.0 with wx 2.9 support before that, but it will only be stable when compiled with 2.8.

In this case I hope this work will be useful for aMule with wx 3.0...  :D
Title: Re: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: wuischke on September 20, 2009, 09:44:16 AM
Quote
In this case I hope this work will be useful for aMule with wx 3.0...
It is. We really appreciate your testing on a Mac. Without people like you, aMule on the Mac would be in a sad state. (Speaking of experience, here.)
Title: Re: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: mirko.g on September 20, 2009, 11:43:46 AM
It is. We really appreciate your testing on a Mac. Without people like you, aMule on the Mac would be in a sad state. (Speaking of experience, here.)

Somewhere I read "eMule is the past. Torrents are the present/future"... It seems to me that this is not the full reality.
aMule is a great project and the last ed2k client for Mac still surviving. As it uses wxWidgets it needs only a few hours of work to be tested on a Mac...  :)
I'm contributing to a great piace of software that I use. In the meanwhile, learning something more about compiling...  :P
Title: Re: aMule-SVN-SnowLeopard (x86_64) [HIGHLY-UNSTABLE]
Post by: GonoszTopi on September 20, 2009, 11:51:03 AM
I'm contributing to a great piace of software that I use. In the meanwhile, learning something more about compiling...  :P
In short, you're doing Useful Things(TM).