[MacPorts] #54334: MacPorts 2.4.1 claims Xcode command line tools are not installed, but they are

MacPorts noreply at macports.org
Sun Jun 18 05:30:08 UTC 2017


#54334: MacPorts 2.4.1 claims Xcode command line tools are not installed, but they
are
--------------------------+-------------------
  Reporter:  chrisscooke  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:
      Port:  dsniff       |
--------------------------+-------------------

Comment (by chrisscooke):

 Yes, I was using -p to print, not -s to set.  If xcode-select -p tells you
 the path of the tools, but that doesn't prove that you have them, then
 what does prove it?

 When I do:

 sudo xcode-select --install

 A popup comes up saying "The xcode-select command requires the command
 line developer tools.  Would you like to install them now?"  That sounds
 like I don't have the tools.  So I click the "Install" button, and accept
 the license that comes up.  Then a progress popup appears, which says
 "Finding software".  The progress bar never moves.  I left it there for an
 hour when I first tried (after the port command said I didn't have Xcode
 tools).  Eventually I hit the stop button.  A search on the internet
 implied that this often happens when you already have the command line
 tools.  In any event, I don't know how to uninstall them without
 uninstalling all of Xcode, in order to try again.  I have Sierra, and a
 very recently installed Xcode, so I'm not sure what good a reinstall of
 Xcode would do anyway (it's already a pretty new install).  What I have
 is:

 OSX: macOS Sierra 10.12.5
 Xcode: version 8.3.2 (8E2002)
 command line tools: from Xcode, Xcode menu : Preferences : Locations tab,
 setting Command Line Tools: Xcode 8.3.2 (8E2002)
 The Command Line Tools is a select list, but only this one item is in it.
 It matches the Xcode version.

 I think I'm just about done trying to get Macports to work.  I was using
 it because I expected it to be an easier way to install a package, but it
 is turning out to more trouble than it's worth.

--
Ticket URL: <https://trac.macports.org/ticket/54334#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list