Export to GitHub

amphetype - issue #7

OSX Build


Posted on Dec 29, 2008 by Happy Hippo

I could be convinced to build an OSX app for you. Email me with details - tehkuja -at- gmail.com

Comment #1

Posted on Dec 29, 2008 by Helpful Ox

+1 if you need me. djh816-at-gmail.com

Comment #2

Posted on Dec 29, 2008 by Happy Panda

Comment deleted

Comment #3

Posted on Dec 29, 2008 by Happy Panda

I've got what should be a working OSX build here: http://www.mediafire.com/?t5nnriwbcxm. Sorry about the ads. I'm hoping that you can host the build on the project site.

Email me if you have any questions and/or problems.

Comment #4

Posted on Dec 29, 2008 by Grumpy Dog

TehKuja & djh816: sorry, I didn't check this list until now, but thank you both for offering.

And of course a big thank to halter73 -- I upped the archive now. Hope it works as I can't test it. Gonna leave this issue open cause if there are any problems then the first place users are gonna go is probably right here and it's easier to just leave a comment than to do something scary like open a brand new issue.

Comment #5

Posted on Dec 30, 2008 by Grumpy Elephant

Looks like the included libraries/whatever are compiled for Intel only. Running on PPC, I get this lovely junk:

File "/path/to/Amphetype.app/Contents/Resources/boot.py", line 137, in _run('Amphetype.py') File "/path/to/Amphetype.app/Contents/Resources/boot.py", line 134, in _run execfile(path, globals(), globals()) File "/path/to/Amphetype.app/Contents/Resources/Amphetype.py", line 9, in from Quizzer import Quizzer File "Quizzer.pyc", line 13, in File "Config.pyc", line 5, in File "QtUtil.pyc", line 4, in File "PyQt4/QtCore.pyc", line 18, in File "PyQt4/QtCore.pyc", line 11, in __load ImportError: dlopen(/path/to/Amphetype.app/Contents/Resources/lib/python2.5/lib- dynload/PyQt4/QtCore.so, 2): no suitable image found. Did find: /path/to/Amphetype.app/Contents/Resources/lib/python2.5/lib-dynload/PyQt4/QtCore.so: mach-o, but wrong architecture

Notice the "mach-o, but wrong architecture" — that leads me to think it's Intel-compiled. Also, it works beautifully on my Intel Mac. (Thanks for putting it together!)

Comment #6

Posted on Dec 31, 2008 by Happy Panda

Thanks for the update.

I was worried this would happen, but I wasn't sure due to the lack of any PPC comps to test on (Of course Murphy's Law came into play). I'll see if I can get a hold of a PPC comp soon for testing.

From your stack trace, I'm going to say that I only included x86 Qt Libraries. Unfortunately that could just be the first of many things that will fail. I don't know how much luck I'll have trying to create a universal binary, but I'll give it a shot.

I guess for now Intel Mac builds are better than nothing. I can tell you from experience that getting PyQt working on Macs is more painful than it should be. But I would assume this is because it's a developer-centric tool and it is intended to be included in builds such as these.

Comment #7

Posted on Jan 1, 2009 by Grumpy Dog

Hmm. I thank you for your effort halter. But it strikes me that I can't ask you to put in this much effort when I roll out updates and it's thus not a very viable choice in the future. Indeed, it strikes me that I can't ask anyone for that effort. :(

But if you or anyone is indeed willing, I can add you to the project so you can upload your own mac-targeted apps...

Status: Started

Labels:
Type-Enhancement Priority-Medium Usability OpSys-OSX