Opened 5 years ago

Last modified 5 months ago

#57964 closed defect

could not execute xcode-select, no such file or directory — at Version 2

Reported by: dzhub Owned by:
Priority: Normal Milestone: MacPorts 2.9.0
Component: base Version: 2.5.4
Keywords: tiger Cc:
Port:

Description (last modified by dzhub)

Hi,

I am using MacPorts for years now. Recently I tried to install some ports (for example git, wget, perl...), but every installation stopped and gave me this error:

"Unable to determine location of a macOS SDK"

I reinstalled Xcode 2.5, reinstalled the current version of MacPorts 2.5.4 from the distribution package, but that did not help.

Then I run

sudo port diagnose
Error: process_cmd failed: could not execute "xcode-select": no such file or directory.

I cant find it in my Xcode installation. Was xcode-select introduced with a later Xcode version, and is not part of Xcode 2.5?

I have tried some symlinking from the original Xcode directory (/Developer) to the directory that current Xcode versions use, but that did not help.

What can I do, to define the SDK path in MacPorts?

Thank you for any hints.

Change History (2)

comment:1 Changed 5 years ago by dzhub

Description: modified (diff)
Summary: could not execute xcode_select, no such file or directorycould not execute xcode-select, no such file or directory

comment:2 Changed 5 years ago by dzhub

Description: modified (diff)
Note: See TracTickets for help on using tickets.