#57633 closed defect (invalid)
I tried to upgrade macports. but this error showed up
Reported by: | vvn29 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: |
Description (last modified by mf2k (Frank Schima))
I tried to upgrade macports. but this error showed up
VIVIANs-MacBook-Pro:~ vivianwilfred$ sudo port upgrade outdated Password: Error: Unable to determine location of a macOS SDK. Error: Unable to open port: can't read "configure.sdkroot": Unable to determine location of a macOS SDK.
What should i do to correct this?
Change History (5)
comment:1 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 follow-up: 4 Changed 6 years ago by mf2k (Frank Schima)
Keywords: | can't read "configure.sdkroot" removed |
---|---|
Priority: | High → Normal |
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
In the future, please use WikiFormatting.
comment:5 Changed 6 years ago by jmroot (Joshua Root)
Either /usr/include (provided by the Command Line Tools) is missing, or macosx_sdk_version is not set to the current OS version, or you're on 10.14 and the corresponding SDK is missing from your Xcode installation.
https://github.com/macports/macports-base/blob/v2.5.4/src/port1.0/portconfigure.tcl#L414
Note: See
TracTickets for help on using
tickets.
Make sure you have both Xcode and the Command Line Tools installed, as per the MacPorts installation instructions.