[MacPorts] #71577: graphviz, graphviz-devel @12.2.1: error: A compiler with support for C++17 language features is required

MacPorts noreply at macports.org
Wed Dec 18 02:47:52 UTC 2024


#71577: graphviz, graphviz-devel @12.2.1: error: A compiler with support for C++17
language features is required
---------------------------------------+----------------------
  Reporter:  dirkx                     |      Owner:  mascguy
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.10.5
Resolution:                            |   Keywords:
      Port:  graphviz, graphviz-devel  |
---------------------------------------+----------------------

Comment (by stefanoaz):

 I was able to get a successful compile for MacOS 14.7.1 / clang 18 by
 using a variant of Ryan's solution:

 {{{sudo port install graphviz configure.cxx=clang++-mp-18}}}

 It seems clear the default install with clang17 is not working for MacOS
 14 and 15, if it uses the default config.

 Replying to [comment:4 stefanoaz]:
 > I have the same issue using clang17 as default build
 >
 >
 > {{{
 > checking whether /usr/bin/clang++ supports C++17 features with
 -std=c++17... no
 > checking whether /usr/bin/clang++ supports C++17 features with
 +std=c++17... no
 > checking whether /usr/bin/clang++ supports C++17 features with -h
 std=c++17... no
 > checking whether /usr/bin/clang++ supports C++17 features with
 -std=c++1z... no
 > checking whether /usr/bin/clang++ supports C++17 features with
 +std=c++1z... no
 > checking whether /usr/bin/clang++ supports C++17 features with -h
 std=c++1z... no
 > configure: error: *** A compiler with support for C++17 language
 features is required.
 >
 > }}}
 >
 > Error: Failed to configure graphviz: configure failure: command
 execution failed

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


More information about the macports-tickets mailing list