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

Arthur Bousquet arthbous at indiana.edu
Fri Sep 25 13:17:00 EDT 2009


$ grep isysroot

does not work on my computer.

Arthur

On Fri, Sep 25, 2009 at 12:27 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Fri, Sep 25, 2009 at 11:19, Arthur Bousquet <arthbous at 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
>
> /Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/config/Makefile
> 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
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090925/4a57a39f/attachment.html>


More information about the NumPy-Discussion mailing list