aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Universal Compile for tiger and leopard  (Read 13434 times)

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Universal Compile for tiger and leopard
« on: March 27, 2008, 09:11:14 PM »

This should work with Tiger and Leopard on g3, g4, g5 and intel architectures... im not sure if the libraries are all statically linked though. but I cant test it so someone let me know what kind of errors they get....
http://www.megaupload.com/?d=FZKO6SU6
http://rapidshare.com/files/102841373/aMule-CVS-20080326.zip.html

Please see bottom of thread for newer version.
« Last Edit: April 01, 2008, 10:26:02 PM by isulzer »
Logged

hardtraks

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Universal Compile for tiger and leopard
« Reply #1 on: March 27, 2008, 09:16:30 PM »

Hi!
Not launching on my G4 2x500 mhz and tiger 10.4.11
But thanks anyway !  ;)
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Universal Compile for tiger and leopard
« Reply #2 on: March 27, 2008, 09:21:57 PM »

can you run it from the terminal so it tells you what errors you get?
to do this right click, or control click on the .app and show packages contents. Navigate through Contents/MacOS/ and drag amule onto a terminal window to get its full path there. then hit enter. Doing this should tell you what libraries arent included i think. you can also add the -o option after amule to channel everything into the stdout.
Logged

hardtraks

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Universal Compile for tiger and leopard
« Reply #3 on: March 27, 2008, 10:14:19 PM »

Ok:
Code: [Select]
$ /Users/hardtraks/Desktop/aMule-CVS-20080326/aMule.app/Contents/MacOS/amule -o
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Users/hardtraks/Desktop/aMule-CVS-20080326/aMule.app/Contents/MacOS/amule
  Reason: Incompatible library version: amule requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Universal Compile for tiger and leopard
« Reply #4 on: March 27, 2008, 10:20:32 PM »

K yeah. Typo there. didnt use the 10.4 sdk properly. Ill fix that.
« Last Edit: March 27, 2008, 11:51:20 PM by isulzer »
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100
Re: Universal Compile for tiger and leopard
« Reply #5 on: March 28, 2008, 06:57:53 PM »

Thanks! Launched fine for Leopard PPC.
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Universal Compile for tiger and leopard
« Reply #6 on: March 28, 2008, 07:59:30 PM »

Yeah its the tiger part thats the problem. Compiling with the 10.4 sdk is just screwy. Since it seem that aMule needs versions of default libraries that are much newer than those available for 10.4.11. I guess ill just have to make a list of the differences and compile them statically on 10.5 and hope it works? Also means i need access to a 10.4.11 machine. which i don't have. Everyone i know has upgraded.
Logged

fced

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: Universal Compile for tiger and leopard
« Reply #7 on: March 29, 2008, 01:32:53 AM »

Thanks
it work for me, on a Powerbook 1.25ghz with Leopard and on macbook Intel 2.3ghz also with leopard 10.5.2
Logged

rigodon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Universal Compile for tiger and leopard
« Reply #8 on: March 30, 2008, 03:31:08 PM »

It works but my CPU is burning at 100% with this version. imacCore Duo.
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Universal Compile for tiger and leopard
« Reply #9 on: March 31, 2008, 09:32:10 AM »

Maybe describe what youre doing a bit more how many open files you have etc.... also what does the log say?(you can find this in the console(/Applications/Utilities/Console.app)... or just run it from the terminal with previous mentioned steps) It could be that i missed something important... would be nice to know what.
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100
Re: Universal Compile for tiger and leopard
« Reply #10 on: March 31, 2008, 05:12:37 PM »

I had aMule peg as much CPU as it could get when I was downloading just one file at 100-200K and uploading at 50K. I was also just sharing this one file. Less than 100 sources total

But aMule has always been a resource hog, so I don't think it's anything with your build.

I think there are great optimization opportunities, I tried sampling it in Instruments, and there were 3 things that took 75% of the total. There were also some unicode functions which took 5%, which I find very strange, as it shouldn't need to convert unicode all the time.

Note I'm not a programmer, so my knowledge is not the best about this.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Universal Compile for tiger and leopard
« Reply #11 on: March 31, 2008, 05:59:37 PM »

Could you give us information (preferably in a new thread) about aMule's optimization potential on Mac? We're of course interested in making aMule better, but we're always short on Macs. ;)
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Universal Compile for tiger and leopard
« Reply #12 on: April 01, 2008, 10:25:30 PM »

Heres a new version with aMule-CVS-20080401 and a static libiconv for tiger people. It also has prebinding, so it should load faster.
As always, if you find an issue, please run it in the terminal and let me know the output. Id like to know which libraries are missing for tiger.

Im running it, and the most it hit was 20% of one core when it opened a huge amount of connections.

http://www.megaupload.com/?d=KJFFVN4R
http://rapidshare.com/files/104113281/aMule-CVS-20080401-static-libiconv.zip.html
Logged

hardtraks

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Universal Compile for tiger and leopard
« Reply #13 on: April 02, 2008, 01:08:52 AM »

Same here:
Code: [Select]
$ /Users/hardtraks/Desktop/aMule-CVS-20080401-static-libiconv/aMule.app/Contents/MacOS/amule -o
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Users/hardtraks/Desktop/aMule-CVS-20080401-static-libiconv/aMule.app/Contents/MacOS/amule
  Reason: Incompatible library version: amule requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Universal Compile for tiger and leopard
« Reply #14 on: April 02, 2008, 01:50:40 AM »

So it didnt actually link with the static library.... wth. Amule config said it did....
K im gonna make a 3rd partition and reinstall tiger... play with it on the minimal install.
« Last Edit: April 02, 2008, 01:55:31 AM by isulzer »
Logged
Pages: [1] 2