Bugs item #1447607, was opened at 2006-03-10 23:13 Message generated for change (Comment added) made by gbrandl 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: Closed >Resolution: Duplicate 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" ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2006-03-17 06:37 Message: Logged In: YES user_id=849994 Duplicate of #1451717. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1447607&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com