Bug 4259

Summary: Need 4.6 of gcc to successfully run ./configure without error to build a new version of mkvtoolnix
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Low CC: lovaren
Version: 1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://www.bunkus.org/videotools/mkvtoolnix/source.html
Whiteboard:
Source RPM: gcc CVE:
Status comment:

Description Kristoffer Grundström 2012-01-24 10:59:26 CET
Description of problem: I use 2.6.38.8-desktop-9.mga as kernel. As I run the ./configure command I get this message:

[kristoffer@localhost mkvtoolnix (master)]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for vsscanf... yes
checking gcc version... 4.5.2
checking for support for the "-std=c++0x" flag... yes
checking for support for C++11 feature "range-based 'for'"... no
checking for support for C++11 feature "right angle brackets"... yes
checking for support for C++11 feature "'auto' keyword"... yes
checking for support for C++11 feature "lambda functions"... yes
The following features of the C++11 standard are not supported by g++:
  * range-based 'for'
If you are using the GNU C compiler collection (gcc) then you need
at least v4.6.
configure: error: support for required C++11 features incomplete

Version-Release number of selected component (if applicable): 4.5.2

How reproducible: Everytime I run ./configure

Steps to Reproduce:
1. Open a terminal.
2. Install requirements mentioned here: http://www.bunkus.org/videotools/mkvtoolnix/source.html
3. Now clone the git by typing as normal user: git clone git://github.com/mbunkus/mkvtoolnix.git
4. Type ./autogen.sh
5. Type ./configure
6. Voila! Can't finish the build due to to old gcc-version.
Kristoffer Grundström 2012-01-24 11:01:29 CET

CC: (none) => kristoffer.grundstrom1983

Kristoffer Grundström 2012-01-24 11:01:38 CET

Priority: Normal => Low

Comment 1 Manuel Hiebel 2012-01-24 16:00:48 CET
Sorry, but will not backport gcc, to much work. 

Gcc 4.6.2 will be in Mageia 2

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX