I am trying to build the latest proj release (5.2.0) on OBS for Factory (and other platforms as well). I get this error:
[ 37s] checking whether g++ supports C++11 features with -h std=c++11... no [ 37s] configure: error: *** A compiler with support for C++11 language features is required.
Is there a specific release of g++ that must be required?
On Monday 2018-09-17 08:08, Roger Oberholtzer wrote:
I am trying to build the latest proj release (5.2.0) on OBS for Factory (and other platforms as well). I get this error:
[ 37s] checking whether g++ supports C++11 features with -h std=c++11... no [ 37s] configure: error: *** A compiler with support for C++11 language features is required.
Use "-std=", not "-h std=".
On Sep 17 2018, Jan Engelhardt jengelh@inai.de wrote:
On Monday 2018-09-17 08:08, Roger Oberholtzer wrote:
I am trying to build the latest proj release (5.2.0) on OBS for Factory (and other platforms as well). I get this error:
[ 37s] checking whether g++ supports C++11 features with -h std=c++11... no [ 37s] configure: error: *** A compiler with support for C++11 language features is required.
Use "-std=", not "-h std=".
I'd guess this is just the last one of several checks to probe for C++11, and the interesting error actually happend in one of the preceding checks. But without the full log there is nothing that can be done.
Andreas.
On 17.09.18 08:08, Roger Oberholtzer wrote:
I am trying to build the latest proj release (5.2.0) on OBS for Factory (and other platforms as well). I get this error:
[ 37s] checking whether g++ supports C++11 features with -h std=c++11... no [ 37s] configure: error: *** A compiler with support for C++11 language features is required.
Is there a specific release of g++ that must be required?
As you didn't provide more details: are you certain you have gcc-c++ installed? For C++11 you need gcc >=4.8 - which means Leap 42 already had it.
Possibly the configure check is just buggy. Check the logs.
Greetings, Stephan
El 17-09-2018 a las 8:08, Roger Oberholtzer escribió:
I am trying to build the latest proj release (5.2.0) on OBS for Factory (and other platforms as well). I get this error:
[ 37s] checking whether g++ supports C++11 features with -h std=c++11... no [ 37s] configure: error: *** A compiler with support for C++11 language features is required.
Is there a specific release of g++ that must be required?
g++ defaults to -std=gnu++14 since version 6, tumbleweed is newer than that and should require no special flags, your configure script is just buggy.. what package are we talking about ?
BTW.. do not use the strict -std=c++11 but the -std=gnu** variants.