Discussion:
[MacPorts] #57681: libwpd-0.10: Needs cxx11 1.1 portgroup
MacPorts
2018-11-26 20:53:28 UTC
Permalink
#57681: libwpd-0.10: Needs cxx11 1.1 portgroup
-------------------------------------------+-------------------------
Reporter: ryandesign | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard lion mountainlion | Port: libwpd-0.10
-------------------------------------------+-------------------------
[https://build.macports.org/builders/ports-10.6_x86_64_legacy-
builder/builds/83293/steps/install-port/logs/stdio On 10.6 libwpd-0.10
says it requires C++11]:

{{{
checking whether /usr/bin/g++-4.2 supports C++11 features by default... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
-std=gnu++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
-std=gnu++0x... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
-std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
+std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -h
std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
-std=c++0x... no
checking whether /usr/bin/g++-4.2 supports C++11 features with
+std=c++0x... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -h
std=c++0x... no
configure: error: *** A compiler with support for C++11 language features
is required.
}}}

[https://build.macports.org/builders/ports-10.8_x86_64_legacy-
builder/builds/76250/steps/install-port/logs/stdio On 10.8 it says it
requires boost];
[https://build.macports.org/builders/ports-10.7_x86_64_legacy-
builder/builds/83514/steps/install-port/logs/stdio same on 10.7]:

{{{
checking whether /usr/bin/clang++ supports C++11 features by default... no
checking whether /usr/bin/clang++ supports C++11 features with
-std=gnu++11... yes
checking for __attribute__((format))... yes
checking for native Win32... no
checking for Win32 platform in general... no
checking for -fvisibility=hidden compiler flag... yes
checking for Darwin (Mac OS X) platform... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for
librevenge-0.0 >= 0.0.1
... yes
checking for boost/spirit/include/qi.hpp... no
configure: error: Required boost headers not found.
}}}

We have packages for Leopard and for Mavericks and later. Probably the
simplest fix is to include the cxx11 portgroup.
--
Ticket URL: <https://trac.macports.org/ticket/57681>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...