Opened 11 years ago

Closed 11 years ago

#41385 closed defect (invalid)

libgcc: fatal error: stdio.h: No such file or directory

Reported by: pv_fua@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: engin.turetken@…, mww@…
Port: libgcc

Description

"sudo port install gcc47" fails when trying to build libgcc uner Mavericks. See attached log file.

Attachments (1)

gcc47.log (27.7 KB) - added by pv_fua@… 11 years ago.
Log file

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by pv_fua@…

Attachment: gcc47.log added

Log file

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

Cc: mww@… added
Keywords: mavericks added
Port: libgcc added
Resolution: invalid
Status: newclosed
Summary: Cannot install gcc47libgcc: fatal error: stdio.h: No such file or directory

The log is incomplete, but says:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.2/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
:info:build  #include <stdio.h>
:info:build                    ^
:info:build compilation terminated.

Install the command line tools by running xcode-select --install, then clean libgcc by running sudo port clean libgcc, then try again.

Note: See TracTickets for help on using tickets.