Opened 7 years ago

Closed 7 years ago

#54909 closed defect (fixed)

fish @2.6.0: A compiler with support for C++11 language features is required

Reported by: snigel Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: tiger leopard snowleopard lion mountainlion Cc:
Port: fish

Description

Fish tries to compile using gcc4.2 and this fails since a newer version is required. I have tried to select gcc49 and add a cc symlink to gcc49 in /opt/local/bin as well, but that doesn't make any difference.

Downloading fish from sources and building it manually without macports using gcc49 works fine.

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

Change History (2)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: tiger leopard snowleopard lion mountainlion added
Summary: Fish 2.6.0 cannot compile on OSX 10.5fish @2.6.0: A compiler with support for C++11 language features is required

Probably the cxx11 portgroup should be included in the portfile; this usually takes care of the details of building software that requires C++11 features.

comment:2 Changed 7 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In bee5bce1dfe98aa0875e0c74ccba076a699e448b/macports-ports:

fish: add cxx11 1.1 PortGroup

closes: #54909

Note: See TracTickets for help on using tickets.