[Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

Robert Kern robert.kern@gmail....
Fri Sep 25 11:27:19 CDT 2009

On Fri, Sep 25, 2009 at 11:19, Arthur Bousquet <arthbous@indiana.edu> wrote:
> Here my full error : http://dl.getdropbox.com/u/541149/error_f2py.txt

/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
stdarg.h: No such file or directory

I didn't think that MacOSX10.4u.sdk existed on Snow Leopard. The
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk" flag should be coming from
Python itself. I don't know how you managed to build Python with those
flags. Check your configuration like so:

$ grep isysroot
BASECFLAGS=     -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
LDFLAGS=        -arch i386 -arch ppc -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -g
                        -isysroot "${UNIVERSALSDK}" \

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list