[Numpy-discussion] snow leopard and Numeric

Stefano Covino stefano_covino@yahoo...
Tue Sep 1 03:08:48 CDT 2009


Hello everybody,

I have just upgraded my Mac laptop to snow leopard.
However, I can no more compile Numeric 24.2.

Here is my output:

[MacBook-Pro-di-Stefano:~/Pacchetti/Numeric-24.2] covino% python  
setup.py build
running build
running build_py
running build_ext
building 'RNG.RNG' extension
gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -arch i386 - 
arch ppc -arch x86_64 -pipe -IInclude -IPackages/FFT/Include - 
IPackages/RNG/Include -I/System/Library/Frameworks/Python.framework/ 
Versions/2.6/include/python2.6 -c Packages/RNG/Src/ranf.c -o build/ 
temp.macosx-10.6-universal-2.6/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:210: error: previous declaration of  
‘gettimeofday’ was here
Packages/RNG/Src/ranf.c: In function ‘Mixranf’:
Packages/RNG/Src/ranf.c:153: error: conflicting types for ‘gettimeofday’
/usr/include/sys/time.h:210: error: previous declaration of  
‘gettimeofday’ was here
Packages/RNG/Src/ranf.c: In function ‘Mixranf’:
Packages/RNG/Src/ranf.c:153: error: conflicting types for ‘gettimeofday’
/usr/include/sys/time.h:210: error: previous declaration of  
‘gettimeofday’ was here
lipo: can't open input file: /var/folders/x4/x4lrvHJWH68+aWExBjO5Gk++ 
+TI/-Tmp-//ccDCDxtF.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1


Is there anything I could do?


Thanks a lot,
	Stefano


More information about the NumPy-Discussion mailing list