py25-numeric refuse to compile on Leopard (10.5)
yqiang@six:~/ > sudo port install py25-ipython
---> Building py25-numeric 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_py25-numeric/work/Numeric-24.2" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: running build
running build_py
running build_ext
building 'RNG.RNG' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -DDARWIN_UNIX03 -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/opt/local/include/python2.5 -c Packages/RNG/Src/ranf.c -o build/temp.macosx-10.3-i386-2.5/Packages/RNG/Src/ranf.o
Packages/RNG/Src/ranf.c: In function 'Mixranf':
Packages/RNG/Src/ranf.c:153: error: conflicting types for 'gettimeofday'
/usr/include/sys/time.h:211: error: previous declaration of 'gettimeofday' was here
error: command 'gcc' failed with exit status 1
Error: The following dependencies failed to build: py25-scientific py25-numeric
Error: Status 1 encountered during processing.
Change History (6)
Cc: |
jochen@… added
|
Milestone: |
→ Port Bugs
|
Cc: |
macports-dev@… added
|
Summary: |
py25-ipython, py-ipython refuse to compile on Leopard (10.5) →
py25-numeric refuse to compile on Leopard (10.5)
|
Cc: |
jmr@… added; macports-dev@… removed
|
Resolution: |
→ worksforme
|
Status: |
new →
closed
|
I think the patch from py25-numeric/py-numeric could work here.