[MacPorts] #69546: py312-matplotlib fails to install on eMac with Leopard 10.5.8 - all dependencies installed.

MacPorts noreply at macports.org
Fri Mar 22 00:25:51 UTC 2024


#69546: py312-matplotlib fails to install on eMac with Leopard 10.5.8 - all
dependencies installed.
-------------------------------+--------------------
  Reporter:  ilovecrts         |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.9.1
Resolution:                    |   Keywords:
      Port:  py312-matplotlib  |
-------------------------------+--------------------

Comment (by kencu):

 ChatGPT:

 The error message you're encountering indicates that you're trying to
 access the data member of a std::vector<double>, but the data member does
 not exist for std::vector prior to C++11. The data member function was
 introduced in C++11.

 If you're using a compiler that supports C++11 or later standards, you can
 fix this error by ensuring that your compiler is set to use the correct
 language standard.


 ---

 so if we set this in the portfile somewhere, somehow, and make sure it
 takes effect:

 {{{
 compiler.cxx_standard 2011
 }}}

 we should be good to go

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


More information about the macports-tickets mailing list