#49325 closed defect (invalid)
graphite2 install fails
Reported by: | ryancclodfelter@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | graphite2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
sw_vers
ProductName: Mac OS X ProductVersion: 10.11 BuildVersion: 15A284
MacPorts 2.3.4
Trying to install xymon-client. Was able to install almost all the dependencies for the xymon-client port, but it install graphite2 fails.
Checking the log file, looks like it fails on this line:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build ^ :info:build 1 error generated.
Running the command xcode-select -p
shows that I have xcode command line tools installed: "/Applications/Xcode.app/Contents/Developer"
However, when running sudo port install xymon-client, it gives me a warning message saying that it might not be installed...
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build. Warning: Install them by running `xcode-select --install'.
Attachments (1)
Change History (3)
Changed 9 years ago by ryancclodfelter@…
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
xcode-select -p
does not show whether you have the command line tools installed. It only shows which developer directory is selected.The solution is to install the Xcode command line tools by running
xcode-select --install
.