Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac, 2.6 framework install error #47682

Closed
robind mannequin opened this issue Jul 24, 2008 · 3 comments
Closed

Mac, 2.6 framework install error #47682

robind mannequin opened this issue Jul 24, 2008 · 3 comments
Labels
build The build process and cross-build OS-mac

Comments

@robind
Copy link
Mannequin

robind mannequin commented Jul 24, 2008

BPO 3432
Nosy @ronaldoussoren

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2010-01-17.19:15:28.327>
created_at = <Date 2008-07-24.02:42:53.069>
labels = ['OS-mac', 'build']
title = 'Mac, 2.6 framework install error'
updated_at = <Date 2010-01-17.19:15:28.326>
user = 'https://bugs.python.org/robind'

bugs.python.org fields:

activity = <Date 2010-01-17.19:15:28.326>
actor = 'ronaldoussoren'
assignee = 'none'
closed = True
closed_date = <Date 2010-01-17.19:15:28.327>
closer = 'ronaldoussoren'
components = ['macOS']
creation = <Date 2008-07-24.02:42:53.069>
creator = 'robind'
dependencies = []
files = []
hgrepos = []
issue_num = 3432
keywords = []
message_count = 3.0
messages = ['70189', '78463', '96139']
nosy_count = 3.0
nosy_names = ['robind', 'ronaldoussoren', 'lanny']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue3432'
versions = ['Python 2.6']

@robind
Copy link
Mannequin Author

robind mannequin commented Jul 24, 2008

OSX Leopard (10.5.4)
Python-2.6b2 tarball

./configure --enable-universalsdk --enable-framework
make
sudo make install

Ends with this error:

cd Mac && make installmacsubtree DESTDIR=""
Creating directory
/Library/Frameworks/Python.framework/Versions/2.6/Mac/Tools
DYLD_FRAMEWORK_PATH=/projects/Python-2.6b2: arch -ppc -i386
../python.exe ./scripts/cachersrc.py -v
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac
/Library/Frameworks/Python.framework/Versions/2.6/Mac/Tools
Traceback (most recent call last):
  File "./scripts/cachersrc.py", line 7, in <module>
    import macresource
  File "/projects/Python-2.6b2/Lib/plat-mac/macresource.py", line 6, in
<module>
    from Carbon import Res
  File "/projects/Python-2.6b2/Lib/plat-mac/Carbon/Res.py", line 4, in
<module>
    from _Res import *
ImportError: No module named _Res
make[1]: *** [installmacsubtree] Error 1
make: *** [frameworkinstallmaclib] Error 2

Since by this time in the install process the _Res module has already
been installed I was able to work around this issue by hacking the
generated Mac/Makefile and setting RUNSHARED to nothing. The same
problem happens in Mac/IDLE/Makefile as well.

@robind robind mannequin added OS-mac build The build process and cross-build labels Jul 24, 2008
@lanny
Copy link
Mannequin

lanny mannequin commented Dec 29, 2008

I also get this exact same problem. Mac OS 10.5.6 on an Intel MacBook
trying to install the release version of 2.6.1. I found it was failing to
build _Res, but worked around by *not* using --enable-universalsdk.

@ronaldoussoren
Copy link
Contributor

Is this issue still relevant? I cannot reproduce this on my machines.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-mac
Projects
None yet
Development

No branches or pull requests

1 participant