On 8/4/2011 5:55 PM, Glenn Ramsey wrote:
On Thu, Aug 4, 2011 at 9:57 PM, Glenn Ramsey <glenn.ramsey.nz <http://glenn.ramsey.nz>@gmail.com <http://gmail.com>> wrote: On 04/08/11 21:23, Martin Zibricky wrote: Glenn Ramsey píše v St 03. 08. 2011 v 15:22 -0700: As far as I can tell this version (1.5.1) of PyInstaller is not supposed to support 64 bit on OSX. There is no official support for 64bit on OSX in 1.5.x. (official 64bit is only in svn). I fixed it temporarily by adding the following to source/wscript in the relevant places. source/wscript is only the build script to compile bootloader from the C code. Nothing more. Did you compile the 64bit bootloader yourself?. Initially, not intentionally. But when I realised what what going wrong I recompiled it, and it was built as 64 bit, I guess because that is the default, so I added options to make it build as 32 bit. - pyinstaller should not create 64bit apps since it is distributed only with 32bit precompiled bootloader - pyinstaller 1.5.x should stop when running with 64bit python. The issue is that python 2.6 on mac is an universal binary (32bit and 64bit in one) and you need to tell python if it should be run as 32 or 64bit. (64bit is default). I'm using MacPorts python, compiled as 32 bit. Maybe that is part of the problem? I will start again with a fresh install. It appears that the distributed bootloader for OSX is 64 bit. glenn@mbp~$ tar xjf Downloads/pyinstaller-1.5.1.tar.bz2 glenn@mbp~$ cd pyinstaller-1.5.1 glenn@mbp~/pyinstaller-1.5.1$ find support/loader | xargs file support/loader: directory support/loader/Darwin-32bit: directory support/loader/Darwin-32bit/run: Mach-O 64-bit executable x86_64 support/loader/Darwin-32bit/run_d: Mach-O 64-bit executable x86_64 support/loader/Darwin-32bit/runw: Mach-O 64-bit executable x86_64 support/loader/Darwin-32bit/runw_d: Mach-O 64-bit executable x86_64
I'm running 1.5 and the Mac bootloader there is 32-bit. Maybe this is a bug introduced in 1.5.1?
Downgrading to 1.5 might get you up and running. - Nathan -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
