Opened 9 years ago
Closed 8 years ago
#49531 closed defect (duplicate)
graphite2: unistd.h cannot be found
Reported by: | macports2@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | graphite2 |
Description
I have a new installation (not an upgrade) of OS X 10.11, Xcode 7.1 (7B91b) and the latest version of port. The graphite2 build fails because unistd.h cannot be found. A 'find /' shows the file exists in two locations for the Mac OS X platform: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include and /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys
Thanks.
Change History (5)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | graphite2 added |
Summary: | putty fails to build on OS X 10.11 → graphite2: unistd.h cannot be found |
comment:2 Changed 9 years ago by macports2@…
As you suggested, the Xcode command line tools had not been installed (oops, I thought they were).
After installing the command line tools I successfully built graphite2 and the puTTY distribution, and was able successfully launch puTTY after installing XQuartz.
Thank you very much for your help.
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Duplicate of #49325.
Sounds like you have not installed the Xcode command line tools, which are required. Run "xcode-select --install". If it says the command line tools are already installed, download the installer from the Apple Developer web site and run it.