[MacPorts] #53877: qt4 'initializer_list' file not found
MacPorts
noreply at macports.org
Wed Mar 29 01:13:10 UTC 2017
#53877: qt4 'initializer_list' file not found
-------------------------+-----------------
Reporter: alfredrajo | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4 |
-------------------------+-----------------
Comment (by kencu):
initializer_list is a c++11 feature
<http://en.cppreference.com/w/cpp/utility/initializer_list>.
I would recommend that you follow the instructions in
LibcxxOnOlderSystems, and upgrade your 10.7.5 machine to that
configuration. Part of that configuration is to make clang-3.8 your
default compiler, which will handle all further c++11 ports with no
troubles or further input from you.
More and more ports need c++11, and if you do this, you will cover them
all with no further adjustments on your end. However, it does mean you'll
build all ports from source, which takes some time, but otherwise works
very well. I have my 10.6.8 machine set up like this, and lyx just
installed on that system without any hassle.
{{{
$ port -v installed lyx
The following ports are currently installed:
LyX @2.2.2_0+python27 (active) platform='darwin 10' archs='x86_64'
date='2017-03-28T18:10:09-0700'
}}}
Your other option is to post up build failures like this when you come
across them, and people will update the portfiles as needed to include
c++11 coverage. This takes time, and won't solve your immediate issues.
By the way, thanks for the pointer to lyx -- looks like a great piece of
software!
--
Ticket URL: <https://trac.macports.org/ticket/53877#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list