[MacPorts] #62857: py37-pyqt5: Project ERROR: Could not resolve SDK Path for 'macosx10.11' using --show-sdk-path
MacPorts
noreply at macports.org
Tue May 11 20:27:16 UTC 2021
#62857: py37-pyqt5: Project ERROR: Could not resolve SDK Path for 'macosx10.11'
using --show-sdk-path
-----------------------+--------------------
Reporter: XE3ADC | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: py-pyqt5 |
-----------------------+--------------------
Comment (by XE3ADC):
Thanks for the response:
I had Xcode 8 that do not support Xcode command line kit, therefore I
managed to install Xcode 8.2 (that does support Xcode command line kit)
and the corresponding Xcode line command package.
Xcode was placed in the applications folder and the Xcode command line
package was installed in the installer's default place.
Executing **xcrun --sdk macosx10.11 --show-sdk-path** gives the following
errors:
{{{
Abraham-Diaz-de-Leon-Camous-iMac:~ abrahams$ xcrun --sdk macosx10.11
--show-sdk-path
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
}}}
Executing **xcrun --show-sdk-path** gives the following path:
{{{
Abraham-Diaz-de-Leon-Camous-iMac:~ abrahams$ xcrun --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
Abraham-Diaz-de-Leon-Camous-iMac:~ abrahams$
}}}
It appears that the Command line package that was in fact installed is
MacOSX10.12.sdk
Executing **xcrun --sdk macosx10.12 --show-sdk-path** gives:
{{{
Abraham-Diaz-de-Leon-Camous-iMac:~ abrahams$ xcrun --sdk macosx10.**12**
--show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
Abraham-Diaz-de-Leon-Camous-iMac:~ abrahams$
}}}
How do I procedd?, should I continue with the port install?
Many Thanks, Abraham
--
Ticket URL: <https://trac.macports.org/ticket/62857#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list