#54406 closed defect (fixed)
libcaca-devel @20161007 and libcaca @0.99.beta19_5 won't build on Snow Leopard, Mac OS X 10.6.8, because of faulty /opt/local/include/cppunit/TestCaller.h file?
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | snowleopard | Cc: | michaelld@… |
Port: | libcaca |
Description
libtool: link: /opt/local/bin/clang-mp-3.9 -pipe -Os -arch x86_64 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wl,-headerpad_max_install_names -arch x86_64 -o .libs/bench bench.o -L/opt/local/lib ../.libs/libcaca.dylib -lncursesw -lz In file included from dirty.cpp:15: In file included from /opt/local/include/cppunit/extensions/HelperMacros.h:9: /opt/local/include/cppunit/TestCaller.h:121:28: error: no member named 'bind' in namespace 'std'; did you mean 'find'? m_test_function( std::bind(test, m_fixture) ) ~~~~~^~~~ find /opt/local/libexec/llvm-3.9/bin/../include/c++/v1/algorithm:868:1: note: 'find' declared here find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) ^
This is the error.
Attachments (2)
Change History (8)
Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 7 years ago by michaelld (Michael Dickens)
OK. What this means is that libcaca has to be built using C++11, since CppUnit API now requires it.
comment:2 Changed 7 years ago by michaelld (Michael Dickens)
comment:3 Changed 7 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 7 years ago by kencu (Ken)
that works for me:
$ port -v installed libcaca The following ports are currently installed: libcaca @0.99.beta19_6 (active) platform='darwin 10' archs='x86_64' date='2017-07-01T16:34:41-0700'
comment:5 Changed 7 years ago by mf2k (Frank Schima)
Port: | libcaca added |
---|
comment:6 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)
libcaca
and libcaca-devel
built for me on Snow Leopard with cxx_stdlib = libc++.
Note: See
TracTickets for help on using
tickets.
From libcaca-devel