cournape/Bento — Issue #83: Crash with NumPy build on OS X 10.6
Author: rgommers
Created: 2012-02-19 20:57:30+00:00
State: open

Trying to build numpy on OS X 10.6 with current numpy/bento/waf master crashes:

$ ../bento/bentomaker build -v
Running from numpy source directory.
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for program python : ['/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python']
python executable '['/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python']' different from sys.executable '/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python'
Checking for python version : (2, 6, 4, 'final', 0)
Checking for library python2.6 in LIBDIR : not found
Checking for library python2.6 in python_LIBPL : yes
Checking for program python2.6-config,python-config-2.6,python2.6m-config : /Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
Checking for header Python.h : Could not find the python development headers
Checking for '/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config' : yes
Getting the python flags from python-config : Could not find the python development headers elsewhere
File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 452, in noexc_main
ret = main(argv)
File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 242, in main
return _wrapped_main(global_context, popts, run_node, top_node, build_node)
File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 288, in _wrapped_main
return _main(global_context, popts, run_node, top_node, build_node)
File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 361, in _main
run_cmd(global_context, cmd_name, cmd_opts, run_node, top_node, build_node)
File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 432, in run_cmd
pkg, package_options)
File "/Users/rgommers/Code/bento/bentomakerlib/bentomaker.py", line 397, in run_dependencies
run_node, top_node, pkg, package_options)
File "/Users/rgommers/Code/bento/bento/commands/wrapper_utils.py", line 25, in run_cmd_in_context
context = context_klass(global_context, cmd_argv, options_context, package, run_node)
File "/Users/rgommers/Code/bento/bento/commands/extras/waf.py", line 166, in __init__
conf.check_python_headers()
File "/Users/rgommers/Downloads/waf-1.6.11/waflib/Configure.py", line 393, in fun
raise e
bentomaker: Error: bentomaker crashed (uncaught exception : The configuration failed
(complete log in /Users/rgommers/Code/numpy/build/config.log)).
Please report this on bento issue tracker:
http://github.com/cournape/bento/issues