Use Numpy instead of Numeric (no longer supported I think)? Matthieu
2009/9/1 Stefano Covino <stefano_cov...@yahoo.it>: > 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 > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > -- Information System Engineer, Ph.D. Website: http://matthieu-brucher.developpez.com/ Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92 LinkedIn: http://www.linkedin.com/in/matthieubrucher _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion