Changes between Initial Version and Version 1 of Ticket #49325


Ignore:
Timestamp:
Oct 17, 2015, 2:14:07 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49325

    • Property Cc ryandesign@… added
    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
  • Ticket #49325 – Description

    initial v1  
    11`sw_vers`
     2{{{
    23ProductName:     Mac OS X
    34ProductVersion: 10.11
    45BuildVersion:   15A284
     6}}}
    57
    68MacPorts 2.3.4
     
    911
    1012Checking the log file, looks like it fails on this line:
     13{{{
    1114: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
    1215:info:build #include <unistd.h>
    1316:info:build          ^
    1417:info:build 1 error generated.
     18}}}
    1519
    1620Running the command `xcode-select -p` shows that I have xcode command line tools installed: "/Applications/Xcode.app/Contents/Developer"
    1721However, when running sudo port install xymon-client, it gives me a warning message saying that it might not be installed...
    1822
    19 "Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
    20 Warning: Install them by running `xcode-select --install'."
     23{{{
     24Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
     25Warning: Install them by running `xcode-select --install'.
     26}}}