Hi,
i'm trying to build numarray 1.5.2 for 10.4 on a ppc
machine, using
gcc 4.0.
i get the following errors:
this machine does not have the MacOSX10.4u sdk. it has
xcode 2.1
installed.
there are a few versions of limits in
/usr/include/i386/limits.h
/usr/include/i386/_limits.h
/usr/include/limits.h
/usr/include/machine/limits.h
/usr/include/machine/_limits.h
/usr/include/ppc/limits.h
/usr/include/ppc/_limits.h
/usr/include/sys/syslimits.h
/usr/lib/gcc/i686-apple-darwin8/4.0.0/include/limits.h
should i try to get setup.py to use these?
cheers
Kim
>python setup.py build
Using EXTRA_COMPILE_ARGS = ['-Ddarwin']
Using external BLAS and LAPACK
running config
Wrote config.h
running build
running build_py
copying Lib/numinclude.py ->
build/lib.macosx-10.3-fat-2.4/numarray
running build_ext
building 'numarray._conv' extension
gcc -arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -
fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -
fno-common -dynamic -DNDEBUG -g -O3 -IInclude/numarray
-I/Library/
Frameworks/Python.framework/Versions/2.4/include/python2.4
-c Src/
_convmodule.c -o
build/temp.macosx-10.3-fat-2.4/Src/_convmodule.o -
Ddarwin
In file included from Src/_convmodule.c:13:
/Library/Frameworks/Python.framework/Versions/2.4/include/py
thon2.4/
Python.h:18:20: error: limits.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/py
thon2.4/
Python.h:21:2: error: #error "Something's broken.
UCHAR_MAX should
be defined in limits.h."
/Library/Frameworks/Python.framework/Versions/2.4/include/py
thon2.4/
Python.h:25:2: error: #error "Python's source code
assumes C's
unsigned char is an 8-bit type."
..etc..
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
|