https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115742

            Bug ID: 115742
           Summary: MacOS Monterey : /usr/include not found
           Product: gcc
           Version: 14.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bug-reports.delphin at laposte dot net
  Target Milestone: ---

Created attachment 58554
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58554&action=edit
config.log

macOS : Monterey 12.7.5
Mac mini 2014 (i5 processor)
Xcode and compilation tools : 14.x (please see the config.log enclosed).

"BUG" : during the compilation, a test is performed by the GCC process. This
test looks for the(a) /usr/include (system). The process of compilation fails
and stops because there is nomore /usr/include folder under Monterey (see the
make.log file).

In fact, one can see it somewhere in the Contents of Xcode application (to see
it, do Show Package Contents applying it to Xcode).

It fails with the following attempts to fix this issue :
1/ with Xcode only installed ;
2/ with the Command Line Tools only installed ;
3/ with both Xcode and Command Line tools.

After these failures, I mad the decision to keep only Xcode in my computer. I
succeed to compile and to build all other open sources I need, including the
GNU ones.

Please note that I check /usr/bin/clang too : it seems that it should not be
the compiler itself, because I saw that it contains many xml lines inside.

Remark : with my former and "old" mac Mini with Lion, all the GCC suites were
well compiled and installed, in particular with previous versions of GNU GCC I
compiled (e.g., v. 49x, v. 75.x).

A wish : to fix this issue, for example in removing the '/usr/include' inside
test and checking it to see if it works.

Eventaulley, no GNU gcc installed, no gfortran at all...

Thank you !


Encl.

Reply via email to