Sorry, I should have said that I'd always deleted the build directories. I now have a better idea about what the problem is.
python setup.py config_fc --fcompiler=gnu95 build_clib --fcompiler=gnu95 build_ext --fcompiler=gnu95 install works OK for svn versions < 6481 (where coremath was merged). It fails for r 6481 and later. However, simply, python setup.py install works OK for r 6481 and current (r 7039). I'm using the old system gcc 4.0.1. Perhaps the problem is that my gfortran (v4.3.2) is from MacPorts and was compiled to produce intel-only binaries, rather than dual architecture binaries? But I'm puzzled as to why specifying the fortran compiler should make any difference -- I understood it isn't used to compile numpy. --George. 2009/6/7 David Cournapeau <[email protected]>: > George Nurser wrote: >> running config_fc >> unifing config_fc, config, build_clib, build_ext, build commands >> --fcompiler options >> running build_clib >> customize UnixCCompiler >> customize UnixCCompiler using build_clib >> building 'npymath' library >> compiling C sources >> C compiler: 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 >> >> error: unknown file type '.src' (from 'numpy/core/src/npy_math.c.src') >> > > Remove your build directory before building again, > > David > _______________________________________________ > Numpy-discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ Numpy-discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
