[Numpy-discussion] problem compiling v.1.0.3 on a Mac
John Cartwright
john.c.cartwright@comcast....
Sun Jul 1 17:10:07 CDT 2007
Hello Robert,
just a followup - I found that I could compile with a stand-alone
python 2.5 installation, but could not with a 2.5 framework install.
Same problem as listed below.
Thanks for any help that you can provide.
--john
On Jun 30, 2007, at 2:42 PM, Robert Kern wrote:
> John Cartwright wrote:
>> Hello All,
>>
>> I'm having trouble compile on a Mac 10.4.10. It seems as if it's
>> not finding /usr/include:
>>
>> ...
>> from /Library/Frameworks/Python.framework/Versions/
>> 2.4/include/python2.4/Python.h:81,
>> from _configtest.c:2:
>> /usr/include/stdarg.h:4:25: error: stdarg.h: No such file or
>> directory
>> ...
>>
>> I tried setting the "CFLAG=-I/usr/include", but w/o success. Can
>> anyone help me?
>
> It should build out-of-box. Is this the standard Python
> distribution from
> www.python.org? Check your environment variables. You should not
> have CFLAGS or
> LDFLAGS; these will overwrite the flags that are necessary for
> building Python
> extension modules.
>
> If that doesn't work, please give us the complete output of
>
> $ python setup.py -v build
>
> Thanks.
>
> --
> 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@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
More information about the Numpy-discussion
mailing list