Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

main.log (3.9 MB) - added by steve@… 10 years ago.

Change History (3)

Changed 10 years ago by steve@…

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mww@… added
Description: modified (diff)
Keywords: mavericks added
Port: libgcc added
Priority: HighNormal
Resolution: invalid
Status: newclosed
Summary: OSX 10.9 Mavericks: libgcc fails to compile: 'cc1': execvp: No such file or directorylibgcc: The directory that should contain system headers does not exist: /usr/include

The log says:

:info:build The directory that should contain system headers does not exist:
:info:build   /usr/include

You must install the command line tools by running xcode-select --install, as it says to do in our documentation.

comment:2 Changed 10 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.