[MacPorts] #12376: BUG: py-scipy 0.5.2 fails to build on an intel mac (swig fails trying to find UMFPACK headers)
MacPorts
trac at macosforge.org
Sun Feb 17 14:24:15 PST 2008
#12376: BUG: py-scipy 0.5.2 fails to build on an intel mac (swig fails trying to
find UMFPACK headers)
-----------------------------------+----------------------------------------
Reporter: c.khroulev at gmail.com | Owner: ram at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by c.khroulev at gmail.com):
Whoops. py-numpy built just fine with +g95 this time. (I'm not sure what
helped; maybe a "port sync"?...)
The error I got earlier is
{{{
---> Building py-numpy with target build
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_py-numpy/work/numpy-1.0.4" &&
/opt/local/bin/python2.4 setup.py config_fc --fcompiler g95 --f77exec
/opt/local/bin/g95 --f90exec /opt/local/bin/g95 build " returned error 1
Command output: Traceback (most recent call last):
File "setup.py", line 89, in ?
setup_package()
File "setup.py", line 82, in setup_package
configuration=configuration )
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-
numpy/work/numpy-1.0.4/numpy/distutils/core.py", line 176, in setup
return old_setup(**new_attr)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py",
line 149, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 946, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 966, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/command/build.py",
line 112, in run
self.run_command(cmd_name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py",
line 966, in run_command
cmd_obj.run()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-
numpy/work/numpy-1.0.4/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_py-
numpy/work/numpy-1.0.4/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_py-
numpy/work/numpy-1.0.4/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_py-
numpy/work/numpy-1.0.4/numpy/distutils/command/build_src.py", line 307, in
generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 53, in generate_config_h
raise SystemError,"Failed to test configuration. "\
SystemError: Failed to test configuration. See previous error messages for
more information.
}}}
py25-numpy +g95 builds alright (you're right, the py25-hashlib error is
temporary).
And, by the way, today py25-scipy built with no errors too! (Yay! :-) )
This is Leopard (10.5.2) on an Intel MacBook, XCode 3.0.
Now I only need to get octave to build, and I'll be as happy as a clam.
:-) (octave depends on hdf5, hdfgroup switched to the version 1.8.0
recently, and the portfile isn't updated yet...)
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12376#comment:10>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list