[MacPorts] #68474: Unable to install cmake on macOS Sonoma
MacPorts
noreply at macports.org
Mon Oct 16 10:24:01 UTC 2023
#68474: Unable to install cmake on macOS Sonoma
---------------------------+-----------------------
Reporter: sacredbanana | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: cmake |
---------------------------+-----------------------
Comment (by cjones051073):
Your problem is you are mixing homebrew with macports. Check your log more
carefully and you will see
{{{
:info:configure CMake Error at
/opt/homebrew/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
1262 :info:configure The imported target "Qt5::Core" references the
file
1263 :info:configure "/opt/homebrew/.//mkspecs/macx-clang"
1264 :info:configure but this file does not exist. Possible reasons
include:
1265 :info:configure * The file was deleted, renamed, or moved to
another location.
1266 :info:configure * An install or uninstall procedure did not
complete successfully.
1267 :info:configure * The installation package was faulty and
contained
1268 :info:configure
"/opt/homebrew/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
}}}
You must have something in your environment that is causing /opt/homebrew
to be found and used. Remove this.
From the Macports side, we do not support or recommend mixing homebrew and
macports as you are doing above.
--
Ticket URL: <https://trac.macports.org/ticket/68474#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list