[MacPorts] #67072: cmake-bootstrap @3.9.6: Cannot find appropriate C compiler on this system.

MacPorts noreply at macports.org
Sun Sep 29 09:02:25 UTC 2024


#67072: cmake-bootstrap @3.9.6: Cannot find appropriate C compiler on this system.
------------------------------+---------------------------
  Reporter:  ryandesign       |      Owner:  kencu
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:  fixed            |   Keywords:  arm64 ventura
      Port:  cmake-bootstrap  |
------------------------------+---------------------------

Comment (by amadeus24):

 On an arm'ed MB, M1 Max with Sequoia, I have a similar problem after
 failed migration.
 {{{
 :info:configure Error when bootstrapping CMake:
 :info:configure Cannot find appropriate C++ compiler on this system.
 :info:configure Please specify one using environment variable CXX.
 :info:configure See cmake_bootstrap.log for compilers attempted.
 }}}

 When trying to configure and gmake manually, I run into the error:
 {{{
 [ 55%] Building CXX object
 Source/CMakeFiles/CMakeLib.dir/LexerParser/cmCommandArgumentLexer.cxx.o
 In file included from /opt/local-new/var/macports/build/_opt_local-
 new_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Source/LexerParser/cmCommandArgumentLexer.cxx:1:
 /opt/local-new/var/macports/build/_opt_local-
 new_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/cmake-3.9.6/Source/cmStandardLexer.h:6:10: fatal error:
 'cmConfigure.h' file not found
     6 | #include "cmConfigure.h" // IWYU pragma: keep
       |          ^~~~~~~~~~~~~~~
 1 error generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67072#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list