classification
Title: py3k Mac installation errors
Type: compile error Stage:
Components: Installation, macOS Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, hdiogenes
Priority: normal Keywords:

Created on 2007-09-03 02:12 by hdiogenes, last changed 2007-09-03 07:47 by hdiogenes. This issue is now closed.

Files
File name Uploaded Description Edit
py3k-mac-install-1.patch hdiogenes, 2007-09-03 02:12
py3k-mac-install-2.patch hdiogenes, 2007-09-03 06:57
py3k-mac-install-3-trivial.patch hdiogenes, 2007-09-03 07:16
Messages (5)
msg55596 - (view) Author: Humberto Diógenes (hdiogenes) * Date: 2007-09-03 02:12
This patch addresses 3 simple errors (1 syntax, 1 runtime, 1 import) when 
doing a "make altinstall" on Mac OS X, including the error listed in issue 
1078.
msg55602 - (view) Author: Humberto Diógenes (hdiogenes) * Date: 2007-09-03 06:57
One more patch, for:
 1. Writing str to binary file;
 2. Using string exceptions.

Traceback for #2:
/usr/bin/install -c -s ../python.exe 
"/Library/Frameworks/Python.framework/Versions/3.0/Resources/Python.app/
Contents/MacOS/Python"
DYLD_FRAMEWORK_PATH=/Users/humberto/src/open/py3k: ../python.exe 
./scripts/BuildApplet.py \
        --destroot "" \
        --python 
/Library/Frameworks/Python.framework/Versions/3.0/Resources/Python.app/C
ontents/MacOS/Python \
        --output "/Applications/MacPython 3.0/Build Applet.app" \
        ./scripts/BuildApplet.py
./scripts/BuildApplet.py:16: DeprecationWarning: the buildtools module 
is deprecated
  import buildtools
Traceback (most recent call last):
  File "./scripts/BuildApplet.py", line 149, in <module>
    main()
  File "./scripts/BuildApplet.py", line 34, in main
    except buildtools.BuildError as detail:
TypeError: catching classes that do not inherit from BaseException is 
not allowed
make[1]: *** [install_BuildApplet] Error 1
make: *** [frameworkinstallapps] Error 2

After applying those two attached patches, I was able to succesfully run 
"make altinstall" (not without some other warnings, though).
msg55605 - (view) Author: Humberto Diógenes (hdiogenes) * Date: 2007-09-03 07:16
Patch 3: some more trivial fixes: new syntax for print() and octal 
numbers.
msg55609 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-09-03 07:31
Thanks for the patches, I've applied them as rev. 57926.
msg55616 - (view) Author: Humberto Diógenes (hdiogenes) * Date: 2007-09-03 07:47
And thanks for accepting them! (without complaining about my errors :-)
History
Date User Action Args
2007-09-03 07:47:27hdiogenessetmessages: + msg55616
2007-09-03 07:31:15georg.brandlsetstatus: open -> closed
nosy: + georg.brandl
messages: + msg55609
resolution: accepted
title: [patch] py3k Mac installation errors -> py3k Mac installation errors
2007-09-03 07:22:33georg.brandllinkissue1078 superseder
2007-09-03 07:16:17hdiogenessetfiles: + py3k-mac-install-3-trivial.patch
messages: + msg55605
2007-09-03 06:57:55hdiogenessetfiles: + py3k-mac-install-2.patch
messages: + msg55602
2007-09-03 02:12:56hdiogenescreate