[MacPorts] #50435: fail to install mysql on EI Capitan 10.11
#50435: fail to install mysql on EI Capitan 10.11 ------------------------------------------+-------------------------------- Reporter: s_brandy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: 'sys/types.h' file not found | Port: ------------------------------------------+-------------------------------- my Macbook Pro is : OS X EI Capitan 10.11 and have Xcode 7.2 installed. $> sudo port install mysql55 and I got fails which report 'sys/types.h' file not found. I surely run 'Xcode-select --install' in advance. details please refer to attachments -- Ticket URL: <https://trac.macports.org/ticket/50435> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -------------------------+----------------------- Changes (by ryandesign@…): * cc: s_brandy@… (removed) * priority: High => Normal * owner: macports-tickets@… => pixilla@… * keywords: 'sys/types.h' file not found => * port: => mysql55 Old description:
my Macbook Pro is : OS X EI Capitan 10.11 and have Xcode 7.2 installed.
$> sudo port install mysql55
and I got fails which report 'sys/types.h' file not found. I surely run 'Xcode-select --install' in advance.
details please refer to attachments
New description: my Macbook Pro is : OS X EI Capitan 10.11 and have Xcode 7.2 installed. {{{ $> sudo port install mysql55 }}} and I got fails which report 'sys/types.h' file not found. I surely run 'Xcode-select --install' in advance. details please refer to attachments -- Comment: Does the file /usr/include/sys/types.h exist? If not, install the Xcode command line tools. -- Ticket URL: <https://trac.macports.org/ticket/50435#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 installed Xcode7.2, and I also run "Xcode-select --install" in the terminal and it finished well, but I don't have a /usr/include folder. That's weird! -- Ticket URL: <https://trac.macports.org/ticket/50435#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#50435: mysql55: fatal error: 'sys/types.h' file not found -------------------------+----------------------- Reporter: s_brandy@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: mysql55 | -------------------------+----------------------- Changes (by mf2k@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/50435#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts