[ python-Bugs-1447607 ] make frameworkinstall fails on Intel Macs
SourceForge.net
noreply at sourceforge.net
Sat Mar 11 00:13:09 CET 2006
Bugs item #1447607, was opened at 2006-03-10 23:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1447607&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Mondragon (mammon_)
Assigned to: Nobody/Anonymous (nobody)
Summary: make frameworkinstall fails on Intel Macs
Initial Comment:
make frameworkinstall fails on Intel Macs
due to an endian error.
Hardware: Intel Duo iMac 20"
OS Version: OS X 10.4.6
Error:
------
File
"/Users/Shared/Downloads/Python-2.4.2/Lib/plat-mac/applesingle.py",
line 58, in __init__
raise Error, "Unknown AppleSingle magic number
0x%8.8x" % (magic,)
applesingle.Error: Unknown AppleSingle magic number
0x00160500
make[1]: *** [installmacsubtree] Error 1
make: *** [frameworkinstallmaclib] Error 2
Looking in the file at line 31:
AS_MAGIC=0x00051600
...it seems fairly obvious that byte order is
reverse. Looks like the file is in big-endian
format, not ntaive format.
Fix:
----
vi Lib/plat-mac/applesingle.py
Line 28: Replace
AS_HEADER_FORMAT="LL16sh"
with
AS_HEADER_FORMAT=">LL16sh"
Line 35: Replace
AS_ENTRY_FORMAT="lll"
with
AS_ENTRY_FORMAT=">lll"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1447607&group_id=5470
More information about the Python-bugs-list
mailing list