New submission from Tom Loredo <lor...@astro.cornell.edu>: Build Py-2.7a3 on Snow Leopard OS 10.6.2 with a non-default framework name:
./configure --prefix=/usr/local/tmp --enable-framework --with-framework-name=PythonAlpha --enable-universalsdk=/ --with-universal-archs=intel "make" succeeds, "make test" isn't perfect but is okay: $ make test ... 347 tests OK. 1 test failed: test_macostools 33 tests skipped: test_al test_bsddb test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_dl test_epoll test_gl test_imageop test_imgfile test_largefile test_linuxaudiodev test_ossaudiodev test_pep277 test_py3kwarn test_smtpnet test_socketserver test_startfile test_sunaudiodev test_timeout test_tk test_ttk_guionly test_urllib2net test_urllibnet test_winreg test_winsound test_zipfile64 1 skip unexpected on darwin: test_dl make: *** [test] Error 1 But after "make install" the installed python fails: $ which python /Library/Frameworks/PythonAlpha.framework/Versions/2.7/bin/python $ python python: posix_spawn: python: Unknown error: 0 The same failure occurs if I directly execute python, python2.7, python-32, and the "w" versions in the framework with a full path, or with the /usr/local/tmp/bin paths. On the other hand, if I build with the same config but omitting the framework name change: ./configure --prefix=/usr/local/tmp --enable-framework --enable-universalsdk=/ --with-universal-archs=intel the command line interpreter is now fine: $ which python /Library/Frameworks/Python.framework/Versions/Current/bin/python $ python Python 2.7a3 (r27a3:78020, Feb 23 2010, 02:07:19) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin ... By the way, in either case, python-32 (and its variants) are in the framework but are *not* linked under the prefix (e.g., here they are not in /usr/local/tmp/bin). I don't know if this is intentional or not; it seems undesirable to me. ---------- assignee: ronaldoussoren components: Installation, Macintosh messages: 99902 nosy: ronaldoussoren, tloredo severity: normal status: open title: MacPython 2.7a3 posix_spawn error for build using --with-framework-name type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com