Opened 5 years ago

Last modified 5 months ago

#57964 closed defect

could not execute xcode_select, no such file or directory — at Initial Version

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

Description

Hi,

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 (0)

Note: See TracTickets for help on using tickets.