Using MacPorts gcc14 (stdio.h trouble error: unknown type name 'FILE)

Gerben Wierda gerben.wierda at rna.nl
Thu Feb 13 14:51:47 UTC 2025



> On 13 Feb 2025, at 15:30, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> 
> why its failing for you is hard to say as you have not provided enough information really to comment.

I tend to start with a clean sheet, so remove all ports and reclaim. 

sudo port -f uninstall installed
sudo port -N reclaim

Then build the port set fro scratch.

My standard set for the machine is:
port -N install wget || exit 1
port -N install inetutils || exit 1
port -N install putty || exit 1
port -N install iperf3 || exit 1
port -N install logrotate || exit 1
port -N install rsync || exit 1
port -N install dos2unix || exit 1
port -N install grep || exit 1
port -N install gnutar || exit 1
port -N install mupdf || exit 1
port -N install bash || exit 1
port -N install restic || exit 1
port -N install rclone || exit 1

And for this project I add:

sudo port -N install gcc14

Which works. But if I do that with

sudo port -s install gcc14

I get the failure.

Up to date macOS Sonoma.

G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250213/acf45d19/attachment.htm>


More information about the macports-users mailing list