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 [3] 4

Author Topic: Mac Compile Error  (Read 23772 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Mac Compile Error
« Reply #30 on: July 23, 2007, 12:18:46 AM »

That's caused by P.O. and is WIP.
Logged

Taskman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Mac Compile Error
« Reply #31 on: July 25, 2007, 04:40:45 PM »

Quote
http://www.youshare.com/view.php?file=aMule.zip

This link doesn't appear to be working anymore. The server isn't parsing PHP correctly. :-\
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #32 on: July 25, 2007, 07:13:17 PM »

Hi Taskman,

I've uploaded it to another place:
aMule.zip

I don't know if it works now (people have not been very eager to report their success) and please be aware of the fact that it is an "old" (a couple of days) version.
Logged

Taskman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Mac Compile Error
« Reply #33 on: July 25, 2007, 08:08:01 PM »

Thanks for your prompt reply.

Unfortunately, that particular build doesn't appear to be compatible with my PowerPC machine.

Could you make an Universal Binary?
« Last Edit: July 25, 2007, 08:15:17 PM by Taskman »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #34 on: July 25, 2007, 09:27:21 PM »

Yes, you are right, this is only for i686-apple-darwin8.

I'm afraid I can't make a Universal Binary, because I don't know how. But I can compile a binary for powerpc-apple-darwin8 and will do so.
I'm cross-compiling from Linux and it may take a while, I'll post something asap. (and I have to fix the code I broke some days ago as well...)
Logged

Taskman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Mac Compile Error
« Reply #35 on: July 25, 2007, 10:13:45 PM »

I understand what you mean. Good luck; I hope to hear again from you soon! ;D
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #36 on: July 25, 2007, 11:17:40 PM »

I'ld really love to have a Power based system, but the Efika is too low-spec (400MHz/128MB RAM is OK for normal use, but not for compiling a lot of stuff...) and everything else (Pegasos/Apple) not available anymore/too expensive (IBM Power6). ;)

aMule.zip powerpc
Logged

Taskman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Mac Compile Error
« Reply #37 on: July 25, 2007, 11:42:45 PM »

Creating Universal binaries shouldn't be that hard. I will try to find some advice. :P

By the way, the application refuses to launch if you double-click on it.

I tried opening .../aMule.app/Contents/MacOS/amule, and obtained the following message:
Quote
This binary requires you to use the flag --even-if-lfroen-surreptitiously-removes-it-this-will-stay and only if you're very sure of it. Warning: If you're lfroen or wuischke, you might find this annoying. That pleases me.

Once I tried to launch aMule with that flag, the application started. :)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #38 on: July 26, 2007, 08:52:48 AM »

Blame Kry for the message. ;)

Anyway, now I can finally search for some testers who would test libupnp + Mac (it's designed to be loaded dynamically and can't be linked statically in the binary.) and boinc + Mac (does it still freeze?)

About the UB: I guess it is not so hard, but after first setting up a cross-compile environment and then struggling for a while with the compilation I had little motivation to read further. ;)
Logged

kreegee

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 160
    • http://kreegee.cycovery.com
Re: Mac Compile Error
« Reply #39 on: July 26, 2007, 04:54:11 PM »

I don't know if it works now (people have not been very eager to report their success) and please be aware of the fact that it is an "old" (a couple of days) version.

works, but opening preferences takes like ages (console is filled with "Using localeDir = '/Users/kreegee/Desktop/aMule.app/Contents/SharedSupport/locale'." for 30 times or so)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #40 on: July 26, 2007, 06:33:50 PM »

That's a debug message which must have been added by phoenix, when he worked on this function. I'll remove it with me next commit.

Things to test: - localization
- statistics page
- boinc/seti@home + amule
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Mac Compile Error
« Reply #41 on: July 26, 2007, 07:44:12 PM »

Don't remove the test message, it's tehre way too many times. Look for the reason and solve it.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #42 on: July 26, 2007, 08:49:53 PM »

Will do. But first I have some code to fix. ;)
Logged

madmalkav

  • Newbie
  • Karma: 1
  • Offline Offline
  • Posts: 3
Re: Mac Compile Error
« Reply #43 on: August 17, 2007, 12:43:46 AM »

Wuischke, tested your PPC binary and everything seems to work ok so far but some files being unable to complete. I don't know where to look the logs or what info to look to asure it is a problem of your build, but I never had this problem before.

If you want me to try something, I will be glad to help.
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Mac Compile Error
« Reply #44 on: August 17, 2007, 04:48:46 AM »

I compiled a universal binary version last night and so far it seems to work very well for me (amule cvs against wx 2.8.4).


Btw, I don't know if that's due to a change in wx's or in amule's code, but now I can compile amule as universal in one simple run, which is just awesome. Before, make would fail for every single component of amule (amule, amuled, amuleweb, etc.) and I had to manually remove a duplicate isysroot flag from the appropriate g++ command.
So whoever is responsible for this change has my eternal gratitude. ;)
Logged
Current aMule CVS builds for OS X can be found here.
Pages: 1 2 [3] 4