This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author robind
Recipients robind
Date 2008-07-24.02:42:51
SpamBayes Score 0.00045965824
Marked as misclassified No
Message-id <1216867374.16.0.0480249561855.issue3432@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-07-24 02:42:54robindsetspambayes_score: 0.000459658 -> 0.00045965824
recipients: + robind
2008-07-24 02:42:54robindsetspambayes_score: 0.000459658 -> 0.000459658
messageid: <1216867374.16.0.0480249561855.issue3432@psf.upfronthosting.co.za>
2008-07-24 02:42:53robindlinkissue3432 messages
2008-07-24 02:42:51robindcreate