[MacPorts] #57964: port diagnose: could not execute xcode-select, no such file or directory
MacPorts
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
Port: |
---------------------+--------------------
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:
{{{
port reclaim
[...]
The following ports will be rebuilt: socat @1.7.3.2
Continue? [Y/n]:
---> 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: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_readline/readline/main.log
for details.
Error: rev-upgrade failed: Error rebuilding socat
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
And...
{{{
port diagnose
Error: process_cmd failed: couldn't execute "xcode-select": no such file
or directory
}}}
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)
#developer_dir /Applications/Xcode.app/Contents/Developer?
developer_dir /Developer
}}}
This did not help either.
--
Ticket URL: <https://trac.macports.org/ticket/57964#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list