Opened 5 years ago

Closed 5 years ago

#992 closed defect (invalid)

Failed configure on Ubuntu 16.04 (GCC 5.4.0 found unable to do C++11)

Reported by: strk Owned by: geos-devel@…
Priority: major Milestone:
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description

On an Ubuntu 16.40 system, having gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

The ./configure step fails:

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

Note that -std=c++11 switch _is_ supported by that compiler version, so I dunno why the configure test fails.

Change History (1)

comment:1 by strk, 5 years ago

Resolution: invalid
Status: newclosed

Ok false alarm, it was an half-broken system (reinstalling build-essentials package fixed this)

Note: See TracTickets for help on using tickets.