[MacPorts] #57964: port diagnose: could not execute xcode-select, no such file or directory
noreply at macports.org
Sun Jan 27 10:57:06 UTC 2019
#57964: port diagnose: could not execute xcode-select, no such file or directory
Reporter: dzhub | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.5.4
Resolution: | Keywords: tiger
Comment (by dzhub):
Thank you for listening :-)
/usr/include is present and populated with all the header files.
Anyway, I reinstalled Xcode 2.5 including Developer Tools and MacPorts
2.5.4 once again. Although the Developer Tools lived there for years
(I installed a new Bash version after ShellShock and OpenSSL after
Heartbleed some time ago whithout any problems).
Still, after reinstallation I get the same errors:
The following ports will be rebuilt: socat @126.96.36.199
---> Computing dependencies for readline
---> Configuring readline
Error: Unable to determine location of a macOS SDK.
Error: Failed to configure readline: can't read "configure.sdkroot":
Unable to determine location of a macOS SDK.
Error: rev-upgrade failed: Error rebuilding socat
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: process_cmd failed: couldn't execute "xcode-select": no such file
On my system Xcode sits in /Developer.
I edited /opt/local/etc/macports/macports.conf and changed the variable
developer_dir like so:
# Directory containing Xcode Tools (default is to ask xcode-select)
This did not help either.
Ticket URL: <https://trac.macports.org/ticket/57964#comment:5>
Ports system for macOS
More information about the macports-tickets