Compilation error, version root-6.02.05

Hi,

I tried to compile root-6.02.05 from the source. Here’s what I end up getting.

[color=#804000]
/home/myComputer/Packages/root-6.02.05/core/base/src/TRegexp.cxx: In member function ‘const char* TRegexp::MakeWildcard(const char*)’:
/home/myComputer/Packages/root-6.02.05/core/base/src/TRegexp.cxx:146:4: error: ‘thread_local’ was not declared in this scope
/home/myComputer/Packages/root-6.02.05/core/base/src/TRegexp.cxx:146:17: error: expected ‘;’ before ‘char’
/home/myComputer/Packages/root-6.02.05/core/base/src/TRegexp.cxx:147:14: error: ‘buf’ was not declared in this scope
/home/myComputer/Packages/root-6.02.05/core/base/src/TRegexp.cxx:201:1: warning: control reaches end of non-void function [-Wreturn-type][/color]

OS : Debian 7

As I understand, there’s some problem with the syntax in the code. I do need TRegexp for my analysis purposes. Thanks in advance.

Hello,

on which platform are you running and with which compiler?

Cheers,
Danilo

[quote=“dpiparo”]Hello,

on which platform are you running and with which compiler?

Cheers,
Danilo[/quote]

I am running on Debian 7.

gcc --version
gcc (Debian 4.7.2-5) 4.7.2

gfortran --version
GNU Fortran (Debian 4.7.2-5) 4.7.2

Hi,

the minimum gcc version required by ROOT6 is gcc48.

Cheers,
Danilo