#50435: mysql55: fatal error: 'sys/types.h' file not found -------------------------+----------------------- Reporter: s_brandy@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mysql55 | -------------------------+----------------------- Comment (by s_brandy@…): Replying to [comment:1 ryandesign@…]:
Does the file /usr/include/sys/types.h exist? If not, install the Xcode command line tools.
I finally download the command line tool form Apple https://developer.apple.com/downloads/, and have the /usr/include folder after installing the command line tool. Then mysql installation pass. It seems just run the "Xcode-select --install" give me a fake installation of command line tool. Thank you very much for the help. :) Please help to close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/50435#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X