[Pythonmac-SIG] Building NumPy for Python.framework

Just van Rossum just@letterror.com
Tue, 17 Sep 2002 09:57:14 +0200


I'm trying to build Numeric for a framework build of (current CVS)
Python, but I'm having no luck. Here is the last bit of the output of
"python setup.py build":


building 'umath' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp
-fno-common -dynamic -DHAVE_INVERSE_HYPERBOLIC -IInclude -IPackages/FFT/Include
-IPackages/RNG/Include
-I/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c
Src/umathmodule.c -o build/temp.darwin-5.5-Power Macintosh-2.3/umathmodule.o
Src/umathmodule.c: In function `UINT_multiply':
Src/umathmodule.c:718: warning: `x' might be used uninitialized in this function
Src/umathmodule.c: At top level:
Src/umathmodule.c:2394: `acosh' undeclared here (not in a function)
Src/umathmodule.c:2394: too many errors, bailing out
error: command 'gcc' failed with exit status 1
[python:~/code/Numeric-22.0] just% 


The same Numeric builds just fine on a unix install.

Any clues?

Just