<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Chris,</p>
<p>Thank you for responding to my post. I uninstalled and then
reinstalled CommandLineTools per your suggestion. I'm still
getting the same error. It appears that gcc is not seeing any of
the CommandLineTools directories. When I ran the command <br>
</p>
<div dir="ltr">find /Library/Developer/CommandLineTools/ -name
_stdio.h</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I got:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">(base) user@Mac-Pro ~ % find
/Library/Developer/CommandLineTools/ -name _stdio.h <br>
/Library/Developer/CommandLineTools//SDKs/MacOSX11.1.sdk/usr/include/_stdio.h<br>
/Library/Developer/CommandLineTools//SDKs/MacOSX11.1.sdk/usr/include/xlocale/_stdio.h<br>
/Library/Developer/CommandLineTools//SDKs/MacOSX11.1.sdk/usr/include/secure/_stdio.h<br>
/Library/Developer/CommandLineTools//SDKs/MacOSX10.15.sdk/usr/include/_stdio.h<br>
/Library/Developer/CommandLineTools//SDKs/MacOSX10.15.sdk/usr/include/xlocale/_stdio.h<br>
/Library/Developer/CommandLineTools//SDKs/MacOSX10.15.sdk/usr/include/secure/_stdio.h</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Any suggestions?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Sam Dupree.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
<br>
</div>
<div class="moz-cite-prefix">On January/12/2021 05:11:50,
Christopher Albert wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACrYDbEJgD8YAPwuKtv-B9d3o7Si3TXuBk5ux14wUurV8z452Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi Sam,<br>
<br>
looks like the XCode command line tools containing
standard headers are either not installed or updated. Try
xcode-select --install or manually download them from <a
href="https://developer.apple.com/download/more/"
moz-do-not-send="true">https://developer.apple.com/download/more/</a>
and maybe uninstall/reinstall them in case updates don't
work. Check with </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">find /Library/Developer/CommandLineTools/
-name _stdio.h</div>
<div dir="ltr"><br>
</div>
<div>which should
give /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h
(besides possible older versions of MacOSX)</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Chris</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Sa., 9. Jan. 2021 um
03:02 Uhr schrieb Samuel Dupree <<a
href="mailto:sdupree@speakeasy.net" moz-do-not-send="true">sdupree@speakeasy.net</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I'm
attempting to wrap a Fortran-77 source member library using
f2py. <br>
I'm running he Anaconda distribution for Python 3.7.6 on a Mac
Pro <br>
(2019) under Mac OS X Big Sur (ver. 11.1). The version of
Xcode.app I'm <br>
running is 12.3. The version of NumPy I'm running is 1.18.3.<br>
<br>
The errors I'm getting are from header files the compiler
can't find as <br>
captured in the attached log file. A sample of the kind of
errors I'm <br>
seeing are captured below.<br>
<br>
compile options: <br>
'-I/var/folders/2r/4bw6nw0x58z0_ybx632_h14m0000gq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7
<br>
-I/Users/user/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include
<br>
-I/Users/user/opt/anaconda3/include/python3.7m -c'<br>
gcc: <br>
/var/folders/2r/4bw6nw0x58z0_ybx632_h14m0000gq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/sofapymodule.c<br>
gcc: <br>
/var/folders/2r/4bw6nw0x58z0_ybx632_h14m0000gq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/fortranobject.c<br>
In file included from <br>
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/syslimits.h:7,<br>
from <br>
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/limits.h:34,<br>
from <br>
/Users/user/opt/anaconda3/include/python3.7m/Python.h:11,<br>
from <br>
/var/folders/2r/4bw6nw0x58z0_ybx632_h14m0000gq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/sofapymodule.c:14:<br>
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/limits.h:195:61:
<br>
error: no include path in which to search for limits.h<br>
195 | #include_next <limits.h> /* recurse down to
the real one */<br>
|
^<br>
In file included from <br>
/Users/user/opt/anaconda3/include/python3.7m/Python.h:25,<br>
from <br>
/var/folders/2r/4bw6nw0x58z0_ybx632_h14m0000gq/T/tmp5uemdb2k/src.macosx-10.9-x86_64-3.7/sofapymodule.c:14:<br>
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/stdio.h:78:10:
<br>
fatal error: _stdio.h: No such file or directory<br>
78 | #include <_stdio.h><br>
| ^~~~~~~~~~<br>
compilation terminated.<br>
<br>
Any suggestions?<br>
<br>
Sam Dupree.<br>
<br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank"
moz-do-not-send="true">NumPy-Discussion@python.org</a><br>
<a
href="https://mail.python.org/mailman/listinfo/numpy-discussion"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
NumPy-Discussion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:NumPy-Discussion@python.org">NumPy-Discussion@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/numpy-discussion">https://mail.python.org/mailman/listinfo/numpy-discussion</a>
</pre>
</blockquote>
<div class="moz-signature"><br>
</div>
</body>
</html>