[MacPorts] #22360: py26-numpy won't build
MacPorts
noreply at macports.org
Tue Nov 3 14:26:39 PST 2009
#22360: py26-numpy won't build
--------------------------+-------------------------------------------------
Reporter: ak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: py26-numpy
--------------------------+-------------------------------------------------
On OS X 10.6, error message:
{{{
---> Computing dependencies for py26-gtk
---> Building py26-numpy
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
setup.py --no-user-cfg build " returned error 1
Command output: return old_setup(**new_attr)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
line 152, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 987, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 1007, in run_command
cmd_obj.run()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build.py",
line 37, in run
old_build.run(self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py",
line 134, in run
self.run_command(cmd_name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 1007, in run_command
cmd_obj.run()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
line 130, in run
self.build_sources()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
line 147, in build_sources
self.build_extension_sources(ext)
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
line 250, in build_extension_sources
sources = self.generate_sources(sources, ext)
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.3.0/numpy/distutils/command/build_src.py",
line 307, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 286, in generate_config_h
moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
File "numpy/core/setup.py", line 30, in check_types
out = check_types(*a, **kw)
File "numpy/core/setup.py", line 186, in check_types
"Cannot compiler 'Python.h'. Perhaps you need to "\
SystemError: Cannot compiler 'Python.h'. Perhaps you need to install
python-dev|python-devel.
Error: The following dependencies failed to build: py26-cairo py26-numpy
py26-gobject libffi
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22360>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list