Re: Python pyinstaller produces bad binary file

2014-03-23 Thread James Durham
David Gosselin > Cc: PowerPC List Debian > Subject: Re: Python pyinstaller produces bad binary file > > Sure does! > > I was reading the specs for binary headers for 64 bit PowerPC and it looks > like this is a 32 bit Intel file and > the address that is jumped to to exe

Re: Python pyinstaller produces bad binary file

2014-03-23 Thread David Gosselin
this truly a PowerPC executable and the ELF header has been corrupted? Either way, I think rebuilding from source will be the best path forward. Dave From: James Durham Sent: Friday, March 21, 2014 12:35 PM To: David Gosselin Cc: PowerPC List Debian Subject: Re: Python pyinstaller produces

Re: Python pyinstaller produces bad binary file

2014-03-21 Thread James Durham
Sure does! I was reading the specs for binary headers for 64 bit PowerPC and it looks like this is a 32 bit Intel file and the address that is jumped to to execute the program is all 0's ? Check me on this as I haven't looked at this kind of stuff since college (long time ago). Looks like Mag

Re: Python pyinstaller produces bad binary file

2014-03-20 Thread David Gosselin
No problem, Jim, glad to help. It looks like 386 binaries landed on your PPC system from the pyinstaller. > On Mar 19, 2014, at 20:52, Jim Durham wrote: > > Thanks for quick reply, Dave. > > Here is the output from using 'file' on the original file: > > XOlog0.8.9: ELF 32-bit LSB executable,

Re: Python pyinstaller produces bad binary file

2014-03-19 Thread Jim Durham
Thanks for quick reply, Dave. Here is the output from using 'file' on the original file: XOlog0.8.9: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=0x0b7ec69824a1ff621c8e697a32d12f1cf42274c6, not stripped a

Re: Python pyinstaller produces bad binary file

2014-03-19 Thread dave
What is the output of the ‘file’ command on the original unmodified binary and also on the modified binary? Can you send along the results for both? Thanks! Dave From: Jim Durham Sent: ‎Wednesday‎, ‎March‎ ‎19‎, ‎2014 ‎1‎:‎02‎ ‎PM To: PowerPC List Debian Hi, I have Debian 7.4 worki

Python pyinstaller produces bad binary file

2014-03-19 Thread Jim Durham
Hi, I have Debian 7.4 working fairly well on a 20 inch iMac G5 . Python seems to work OK, except that pyinstaller produces a binary file that the shell refuses to execute. Looking at the file with beav (hex editor) I find that the header differs from other files that do execute. I have 'fixe