[opensuse-factory] c++11?
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? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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=". -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Andreas Schwab
-
Cristian Rodríguez
-
Jan Engelhardt
-
Roger Oberholtzer
-
Stephan Kulow