You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./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 _Resmake[1]: *** [installmacsubtree] Error 1make: *** [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.
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.
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: