[MacPorts] #59575: mariadb-10.2: error: no member named 'ptrdiff_t' in the global namespace, error: unknown type name 'ptrdiff_t'
MacPorts
noreply at macports.org
Tue Nov 12 15:39:24 UTC 2019
#59575: mariadb-10.2: error: no member named 'ptrdiff_t' in the global namespace,
error: unknown type name 'ptrdiff_t'
---------------------------+-----------------------
Reporter: iEFdev | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: mariadb-10.2 |
---------------------------+-----------------------
Comment (by kencu):
It's another joy of building everything with `clang-9.0` on older systems,
living out here on the fringes of the solar system with a shiny new
compiler that pretty much nobody is using much yet :>
It builds with `clang-5.0` easily enough. I tried setting the c++ standard
to c++11 with
{{{
configure.cxxflags-append -std=c++11
}}}
but it didn't get plumbed everywhere, and failed.
So I tried appending it onto the compiler spec
{{{
configure.cxx-append -std=c++11
}}}
but that failed in configure.
So I did this, and moved on:
{{{
sudo port -v install mariadb configure.compiler=macports-clang-5.0
}}}
{{{
$ port -v installed mariadb
The following ports are currently installed:
mariadb @5.5.65_0 platform='darwin 10' archs='x86_64'
date='2019-08-17T13:19:42-0700'
mariadb @5.5.66_0 (active) platform='darwin 10' archs='x86_64'
date='2019-11-12T07:37:36-0800'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59575#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list