#41171 closed defect (invalid)
libgcc: The directory that should contain system headers does not exist: /usr/include
Reported by: | steve@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | mww@… |
Port: | libgcc |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The build of libgcc (a pre-requisite of any version of gcc) fails during the fixincludes stage with the error:
:info:build xgcc: error trying to exec 'cc1': execvp: No such file or directory
Attachments (1)
Change History (3)
Changed 11 years ago by steve@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… added |
---|---|
Description: | modified (diff) |
Keywords: | mavericks added |
Port: | libgcc added |
Priority: | High → Normal |
Resolution: | → invalid |
Status: | new → closed |
Summary: | OSX 10.9 Mavericks: libgcc fails to compile: 'cc1': execvp: No such file or directory → libgcc: The directory that should contain system headers does not exist: /usr/include |
comment:2 Changed 11 years ago by steve@…
I already had at least once after the upgrade and Xcode upgrade. However, it had somehow been uninstalled automatically without my knowledge.
May I suggest a check in the port command to see if this has happened and an error given. I'm sure it would save a great deal of your time and effort as much as anything else.
Note: See
TracTickets for help on using
tickets.
The log says:
You must install the command line tools by running
xcode-select --install
, as it says to do in our documentation.