Hii, I couldn't generate a histogram. Root and matplotlib are showing disabled in ma5 interface. But I have installed both on my system. Through the main terminal. But still showing those are disabled. How to overcome this problem? There is adequate material on the internet about the use of ma5. Nevertheless, non of them not talking about how to enable root and matplotlib.
Thanks
I try to run install matplotlib in ma5 terminal.
Result
#############################
ma5>install matplotlib
MA5:
MA5: **
MA5: Installing matplotlib
MA5: **
MA5: Detecting a previous installation ...
MA5: => found
MA5: Removing the previous installation ...
MA5-WARNING: Are you sure to remove the directory called '/home/sandeep/Desktop/Madgraph/MG5_aMC_v2.9.7/MG5_aMC_v2_9_7/HEPTools/madanalysis5/madanalysis5/tools/matplotlib' ? (Y/N)
Answer: y
MA5: Creating a devoted folder ...
MA5: Creating a temporary folder ...
MA5: Downloading the package ...
MA5: - 1/1 http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz ...
MA5: --> 'matplotlib.tar.gz' already exists. Package not downloaded.
MA5: Unpacking the package ...
MA5: Building the package ...
MA5-ERROR: impossible to build the project. For more details, see the log file:
MA5-ERROR: /home/sandeep/Desktop/Madgraph/MG5_aMC_v2.9.7/MG5_aMC_v2_9_7/HEPTools/madanalysis5/madanalysis5/tools/matplotlib/compilation.log
MA5: Installation NOT complete.
MA5: Elapsed time = 11.91 seconds
MA5: => Status: [FAILURE]
MA5: **
Compilation.log file
###########################################################################
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Traceback (most recent call last):
File "setup.py", line 10, in
use_setuptools()
File "/tmp/sandeep/MA5_matplotlib/matplotlib-1.3.1/distribute_setup.py", line 163, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/tmp/sandeep/MA5_matplotlib/matplotlib-1.3.1/distribute_setup.py", line 132, in _do_download
to_dir, download_delay)
File "/tmp/sandeep/MA5_matplotlib/matplotlib-1.3.1/distribute_setup.py", line 212, in download_setuptools
src = urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: SSL is required
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use DEFAULT_SOURCE"
^~~
/tmp/sandeep/MA5_root/root-6.04.08/build/rmkdepend/ifparser.c: In function ‘parse_value’:
/tmp/sandeep/MA5_root/root-6.04.08/build/rmkdepend/ifparser.c:237:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
237
if (strncmp(cp, "defined", 7) == 0 && !isalnum(cp[7])) {
^
/tmp/sandeep/MA5_root/root-6.04.08/build/rmkdepend/ifparser.c:256:7: note: here
256
^~~
include/TClassEdit.h:163:44: note: ‘std::string_view’ is only available from C++17 onwards
include/TClassEdit.h:164:35: error: ‘string_view’ is not a member of ‘std’
164
ROOT::ESTLType IsSTLCont (std::string_view type);
^~~
include/TClassEdit.h:164:35: note: ‘std::string_view’ is only available from C++17 onwards
include/TClassEdit.h:165:57: error: ‘int TClassEdit::IsSTLCont(const char*, int)’ redeclared as different kind of entity
165
^~~
In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
include/TClassEdit.h:172:32: error: ‘string_view’ is not a member of ‘std’
172
ROOT::ESTLType STLKind(std::string_view type); //Kind of stl container
^~~
include/TClassEdit.h:172:32: note: ‘std::string_view’ is only available from C++17 onwards
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:33: error: ‘string_view’ in namespace ‘std’ does not name a type
24
static size_t StdLen(const std::string_view name)
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:28: note: ‘std::string_view’ is only available from C++17 onwards
24
static size_t StdLen(const std::string_view name)
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘size_t StdLen(int)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:30:13: error: request for member ‘compare’ in ‘name’, which is of non-class type ‘const int’
30
if (name.compare(0,5,"std::")==0) {
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:36:37: error: request for member ‘length’ in ‘name’, which is of non-class type ‘const int’
36
for(size_t i = 5; i < name.length(); ++i) {
^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:37:23: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript
37
if (name[i] == '<') break;
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:38:23: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript
38
if (name[i] == ':') {
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:40:39: error: request for member ‘data’ in ‘name’, which is of non-class type ‘const int’
40
std::string scope(name.data(),i);
^~~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:48:32: error: request for member ‘length’ in ‘name’, which is of non-class type ‘const int’
48
if (i+1<name.length() && name[i+1]==':') {
^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:48:52: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript
48
if (i+1<name.length() && name[i+1]==':') {
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:57:35: error: request for member ‘length’ in ‘name’, which is of non-class type ‘const int’
57
if (i+1<name.length() && name[i+1]==':') {
^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:57:55: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript
57
if (i+1<name.length() && name[i+1]==':') {
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘void RemoveStd(std::string&, size_t)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:76:59: error: cannot convert ‘’ to ‘int’
76
size_t len = StdLen({name.data()+pos,name.length()-pos});
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:45: note: initializing argument 1 of ‘size_t StdLen(int)’
24
static size_t StdLen(const std::string_view name)
~~~~~^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:28: error: variable or field ‘RemoveStd’ declared void
83
static void RemoveStd(std::string_view &name)
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:28: error: ‘string_view’ is not a member of ‘std’
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:28: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:41: error: ‘name’ was not declared in this scope; did you mean ‘tzname’?
83
static void RemoveStd(std::string_view &name)
^~~~
tzname
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In member function ‘ROOT::ESTLType TClassEdit::TSplitType::IsInSTL() const’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:136:31: error: ‘TClassEdit::STLKind’ cannot be used as a function
136
return STLKind(fElements[0]);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In member function ‘int TClassEdit::TSplitType::IsSTLCont(int) const’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:163:35: error: ‘TClassEdit::STLKind’ cannot be used as a function
163
int kind = STLKind(fElements[0]);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:179:70: error: ‘TClassEdit::IsSTLCont’ cannot be used as a function
179
int k = TClassEdit::IsSTLCont(fElements[1].c_str(),testAlloc);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In member function ‘void TClassEdit::TSplitType::ShortType(std::string&, int)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:238:41: error: ‘TClassEdit::STLKind’ cannot be used as a function
238
const int kind = STLKind(fElements[0]);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:461:16: error: redefinition of ‘ROOT::ESTLType TClassEdit::STLKind’
461
^~~~~~
In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
include/TClassEdit.h:172:19: note: ‘ROOT::ESTLType TClassEdit::STLKind’ previously defined here
172
ROOT::ESTLType STLKind(std::string_view type); //Kind of stl container
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:461:41: error: ‘string_view’ is not a member of ‘std’
461
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:461:41: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:520:38: error: ‘string_view’ in namespace ‘std’ does not name a type
520
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘size_t findNameEnd(int)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:523:31: error: request for member ‘length’ in ‘full’, which is of non-class type ‘const int’
523
for(size_t i = 0; i < full.length(); ++i) {
^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:524:20: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript
524
switch(full[i]) {
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:538:16: error: request for member ‘length’ in ‘full’, which is of non-class type ‘const int’
538
return full.length();
^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘size_t findNameEnd(const string&, size_t)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:544:66: error: no matching function for call to ‘findNameEnd()’
544
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:542:15: note: candidate expects 2 arguments, 1 provided
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsDefAlloc(const char, const char*)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:553:4: error: ‘string_view’ was not declared in this scope
553
string_view a( allocname );
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:553:4: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:554:14: error: ‘a’ was not declared in this scope
554
RemoveStd(a);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:568:15: error: expected ‘;’ before ‘k’
568
string_view k = classname;
^~
;
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:569:14: error: ‘k’ was not declared in this scope
569
RemoveStd(k);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:576:40: error: ‘string_view’ is not a member of ‘std’
576
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:576:40: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:548:41: warning: unused parameter ‘allocname’ [-Wunused-parameter]
548
~~^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsDefAlloc(const char, const char, const char)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:606:4: error: ‘string_view’ was not declared in this scope
606
string_view a( allocname );
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:606:4: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:607:14: error: ‘a’ was not declared in this scope
607
RemoveStd(a);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:630:15: error: expected ‘;’ before ‘k’
630
string_view k = keyclassname;
^~
;
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:631:14: error: ‘k’ was not declared in this scope
631
RemoveStd(k);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:638:38: error: ‘string_view’ is not a member of ‘std’
638
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:638:38: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:665:15: error: expected ‘;’ before ‘v’
665
string_view v = valueclassname;
^~
;
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:666:14: error: ‘v’ was not declared in this scope
666
RemoveStd(v);
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:673:40: error: ‘string_view’ is not a member of ‘std’
673
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:673:40: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:599:41: warning: unused parameter ‘valueclassname’ [-Wunused-parameter]
599
const char valueclassname)
~~^~~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool IsDefElement(const char, const char, const char*)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:700:24: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string’} to ‘int’
700
size_t pos = StdLen(c);
^
std::string {aka std::__cxx11::basic_string}
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:45: note: initializing argument 1 of ‘size_t StdLen(int)’
24
static size_t StdLen(const std::string_view name)
~~~~~^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:714:50: error: ‘string_view’ is not a member of ‘std’
714
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:714:50: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:717:53: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
717
In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
include/TClassEdit.h:168:74: note: initializing argument 2 of ‘void TClassEdit::GetNormalizedName(std::string&, int)’
168
~~~^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:761:65: error: ‘std::string_view’ has not been declared
761
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘void TClassEdit::GetNormalizedName(std::string&, int)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:772:32: error: no matching function for call to ‘std::__cxx11::basic_string::basic_string(int&)’
772
norm_name = std::string(name); // NOTE: Is that the shortest version?
^
In file included from /usr/include/c++/9/string:55,
from include/TClassEdit.h:31,
from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
/usr/include/c++/9/bits/basic_string.h:625:9: note: candidate: ‘template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)’
625
^~~~
/usr/include/c++/9/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:772:28: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
772
norm_name = std::string(name); // NOTE: Is that the shortest version?
^~~~
int
In file included from /usr/include/c++/9/string:55,
from include/TClassEdit.h:31,
from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
/usr/include/c++/9/bits/basic_string.h:510:7: note: candidate: ‘std::cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
510
^~~~
/usr/include/c++/9/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsSTLBitset(const char)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1213:27: error: invalid conversion from ‘const char’ to ‘int’ [-fpermissive]
1213
size_t offset = StdLen(classname);
^~~~~
const char*
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:45: note: initializing argument 1 of ‘size_t StdLen(int)’
24
static size_t StdLen(const std::string_view name)
~~~~~^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1219:16: error: redefinition of ‘ROOT::ESTLType TClassEdit::UnderlyingIsSTLCont’
1219
^~~~~~
In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
include/TClassEdit.h:163:19: note: ‘ROOT::ESTLType TClassEdit::UnderlyingIsSTLCont’ previously defined here
163
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1219:53: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1244:16: error: redefinition of ‘ROOT::ESTLType TClassEdit::IsSTLCont’
1244
^~~~~~
In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
include/TClassEdit.h:164:19: note: ‘ROOT::ESTLType TClassEdit::IsSTLCont’ previously defined here
164
ROOT::ESTLType IsSTLCont (std::string_view type);
^~~~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1244:43: error: ‘string_view’ is not a member of ‘std’
1244
^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1244:43: note: ‘std::string_view’ is only available from C++17 onwards
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1268:58: error: ‘int TClassEdit::IsSTLCont(const char*, int)’ should have been declared inside ‘TClassEdit’
1268
int TClassEdit::IsSTLCont(const char type, int testAlloc)
^
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1268:58: error: ‘int TClassEdit::IsSTLCont(const char, int)’ redeclared as different kind of entity
In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9:
include/TClassEdit.h:164:19: note: previous declaration ‘ROOT::ESTLType TClassEdit::IsSTLCont’
164
ROOT::ESTLType IsSTLCont (std::string_view type);
^~~~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsStdClass(const char)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1291:25: error: invalid conversion from ‘const char’ to ‘int’ [-fpermissive]
1291
classname += StdLen( classname );
^~~~~
const char*
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:45: note: initializing argument 1 of ‘size_t StdLen(int)’
24 | static size_t StdLen(const std::string_view name)
| ~~~~~^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsVectorBool(const char)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1325:57: error: ‘TClassEdit::STLKind’ cannot be used as a function
1325 | return ( TClassEdit::STLKind( splitname.fElements[0] ) == ROOT::kSTLvector)
| ^
In file included from include/TMetaUtils.h:73,
from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/RConversionRuleParser.cxx:6:
include/TClassEdit.h:163:44: error: ‘string_view’ is not a member of ‘std’
163 | ROOT::ESTLType UnderlyingIsSTLCont(std::string_view type);
| ^~~
include/TClassEdit.h:163:44: note: ‘std::string_view’ is only available from C++17 onwards
include/TClassEdit.h:164:35: error: ‘string_view’ is not a member of ‘std’
164 | ROOT::ESTLType IsSTLCont (std::string_view type);
| ^~~
include/TClassEdit.h:164:35: note: ‘std::string_view’ is only available from C++17 onwards
include/TClassEdit.h:165:57: error: ‘int TClassEdit::IsSTLCont(const char, int)’ redeclared as different kind of entity
165 | int IsSTLCont (const char type,int testAlloc);
| ^
include/TClassEdit.h:164:19: note: previous declaration ‘ROOT::ESTLType TClassEdit::IsSTLCont’
164 | ROOT::ESTLType IsSTLCont (std::string_view type);
| ^~~~~
include/TClassEdit.h:168:62: error: ‘std::string_view’ has not been declared
168 | void GetNormalizedName(std::string &norm_name,std::string_view name);
| ^~~
In file included from include/TMetaUtils.h:73,
from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/RConversionRuleParser.cxx:6:
include/TClassEdit.h:172:32: error: ‘string_view’ is not a member of ‘std’
172 | ROOT::ESTLType STLKind(std::string_view type); //Kind of stl container
| ^~~
include/TClassEdit.h:172:32: note: ‘std::string_view’ is only available from C++17 onwards
In file included from include/TNamed.h:29,
from include/TDictionary.h:45,
from include/TClass.h:25,
from /tmp/sandeep/MA5_root/root-6.04.08/core/utils/src/rootclingTCling.cxx:17:
include/TString.h:116:13: error: expected type-specifier
116 | operator std::string_view() const { return std::string_view(Data(),fExtent); }
| ^~~
include/TString.h: In member function ‘TSubString::operator std::string() const’:
include/TString.h:117:47: error: ‘string_view’ is not a member of ‘std’
117 | operator std::string() const { return std::string_view(Data(),fExtent).to_string(); }
| ^~~
include/TString.h:117:47: note: ‘std::string_view’ is only available from C++17 onwards
include/TString.h: At global scope:
include/TString.h:269:23: error: ‘string_view’ in namespace ‘std’ does not name a type
269 | TString(const std::string_view &sub);
| ^~~
include/TString.h:269:18: note: ‘std::string_view’ is only available from C++17 onwards
269 | TString(const std::string_view &sub);
| ^~~
include/TString.h:290:13: error: expected type-specifier
290 | operator std::string_view() const { return std::string_view(GetPointer(),Length()); }
| ^~~
include/TString.h:297:37: error: ‘string_view’ in namespace ‘std’ does not name a type
297 | TString &operator=(const std::string_view &s);
| ^~~
include/TString.h:297:32: note: ‘std::string_view’ is only available from C++17 onwards
297 | TString &operator=(const std::string_view &s);
| ^~~
In file included from include/TNamed.h:29,
from include/TDictionary.h:45,
from include/TClass.h:25,
from /tmp/sandeep/MA5_root/root-6.04.08/core/utils/src/rootclingTCling.cxx:17:
include/TString.h:793:38: error: ‘string_view’ in namespace ‘std’ does not name a type
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
include/TString.h:793:33: note: ‘std::string_view’ is only available from C++17 onwards
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
include/TString.h:793:71: error: ‘string_view’ in namespace ‘std’ does not name a type
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
include/TString.h:793:66: note: ‘std::string_view’ is only available from C++17 onwards
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
In file included from include/TCollection.h:34,
from include/THashTable.h:28,
from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.h:27,
from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.cxx:27:
include/TString.h:116:13: error: expected type-specifier
116 | operator std::string_view() const { return std::string_view(Data(),fExtent); }
| ^~~
include/TString.h: In member function ‘TSubString::operator std::string() const’:
include/TString.h:117:47: error: ‘string_view’ is not a member of ‘std’
117 | operator std::string() const { return std::string_view(Data(),fExtent).to_string(); }
| ^~~
include/TString.h:117:47: note: ‘std::string_view’ is only available from C++17 onwards
include/TString.h: At global scope:
include/TString.h:269:23: error: ‘string_view’ in namespace ‘std’ does not name a type
269 | TString(const std::string_view &sub);
| ^~~
include/TString.h:269:18: note: ‘std::string_view’ is only available from C++17 onwards
269 | TString(const std::string_view &sub);
| ^~~
include/TString.h:290:13: error: expected type-specifier
290 | operator std::string_view() const { return std::string_view(GetPointer(),Length()); }
| ^~~
include/TString.h:297:37: error: ‘string_view’ in namespace ‘std’ does not name a type
297 | TString &operator=(const std::string_view &s);
| ^~~
include/TString.h:297:32: note: ‘std::string_view’ is only available from C++17 onwards
297 | TString &operator=(const std::string_view &s);
| ^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘void ResolveTypedefImpl(const char, unsigned int, unsigned int&, bool&, std::string&)’:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1525:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
1525 | if (modified) prevScope = cursor+1;
| ^~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1531:10: note: here
1531 | case ' ': {
| ^~~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1565:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
1565 | ++cursor;
| ^~~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1568:10: note: here
1568 | case '':
| ^~~~
In file included from include/TCollection.h:34,
from include/THashTable.h:28,
from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.h:27,
from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.cxx:27:
include/TString.h:793:38: error: ‘string_view’ in namespace ‘std’ does not name a type
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
include/TString.h:793:33: note: ‘std::string_view’ is only available from C++17 onwards
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
include/TString.h:793:71: error: ‘string_view’ in namespace ‘std’ does not name a type
793 | std::string printValue(const std::string_view const p, const std::string_view const u,
| ^~~
include/TString.h:793:66: note: ‘std::string_view’ is only available from C++17 onwards
793 | std::string printValue(const std::string_view const p, const std::string_view* const u,
| ^~~
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope:
/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:520:15: warning: ‘size_t findNameEnd(int)’ defined but not used [-Wunused-function]
520 | static size_t findNameEnd(const std::string_view full)
| ^~~
make: [Makefile:656: core/metautils/src/TClassEdit.o] Error 1
make: Waiting for unfinished jobs....
yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... make: [Makefile:656: core/metautils/src/RConversionRuleParser.o] Error 1
make: [Makefile:656: core/base/src/TListOfTypes.o] Error 1
make: *** [Makefile:656: core/utils/src/rootclingTCling.o] Error 1
yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether GCC or Clang is our host compiler... gcc
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 type of operating system we're going to host on... Linux
checking type of operating system we're going to target... Linux
checking target architecture... x86_64
checking optimization flags... -O3
checking for GNU make... make
checking whether ln -s works... yes
checking for nm... /usr/bin/nm
checking for cmp... /usr/bin/cmp
checking for cp... /usr/bin/cp
checking for date... /usr/bin/date
checking for find... /usr/bin/find
checking for grep... /usr/bin/grep
checking for mkdir... /usr/bin/mkdir
checking for mv... /usr/bin/mv
checking for ranlib... ranlib
checking for ar... ar
checking for rm... /usr/bin/rm
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for pwd... /usr/bin/pwd
checking for dot... echo dot
checking for a BSD-compatible install... /usr/bin/install -c
checking for bzip2... /usr/bin/bzip2
checking for cat... /usr/bin/cat
checking for doxygen... /usr/bin/doxygen
checking for groff... /usr/bin/groff
checking for gzip... /usr/bin/gzip
checking for pdfroff... /usr/bin/pdfroff
checking for zip... /usr/bin/zip
checking for go... /snap/bin/go
checking for ocamlfind... no
checking for gas... no
checking for as... /usr/bin/as
checking for linker version... 2.34
checking for compiler -Wl,-R option... yes
checking for compiler -rdynamic option... yes
checking for compiler -Wl,--version-script option... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking tool compatibility... ok
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-comment
checking for python... /usr/bin/python
checking for python >= 2.7... /usr/bin/python (2.7.18)
checking for sin in -lm... yes
checking for library containing dlopen... -ldl
checking for library containing clock_gettime... none required
checking for library containing setupterm... no
checking for library containing el_init... no
checking for library containing mallinfo... none required
checking for compress2 in -lz... yes
checking for xml2-config... xml2-config
checking for libxml2 includes... -I/usr/include/libxml2
checking for xmlReadFile in -lxml2... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for MAP_ANONYMOUS vs. MAP_ANON... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for cxxabi.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking whether FE_ALL_EXCEPT is declared... yes
checking whether FE_INEXACT is declared... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking CrashReporterClient.h usability... no
checking CrashReporterClient.h presence... no
checking for CrashReporterClient.h... no
checking crashreporter_info... no
checking for HUGE_VAL sanity... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int64_t... yes
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for log... yes
checking for log2... yes
checking for log10... yes
checking for exp... yes
checking for exp2... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for posix_spawn... yes
checking for pread... yes
checking for realpath... yes
checking for sbrk... yes
checking for setrlimit... (cached) yes
checking for strerror... yes
checking for strerror_r... yes
checking for setenv... yes
checking for strtoll... yes
checking for strtoq... yes
checking for sysconf... yes
checking for malloc_zone_statistics... no
checking for setjmp... yes
checking for longjmp... yes
checking for sigsetjmp... no
checking for siglongjmp... yes
checking for writev... yes
checking for futimes... yes
checking for futimens... yes
checking if printf has the %a format character... yes
checking for srand48/lrand48/drand48 in ... yes
checking whether arc4random is declared... no
checking whether strerror_s is declared... no
checking for isnan in ... yes
checking for isnan in ... no
checking for std::isnan in ... yes
checking for isinf in ... yes
checking for isinf in ... no
checking for std::isinf in ... yes
checking for finite in ... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for mmap of files... yes
checking if /dev/zero is needed for mmap... no
checking for GCC atomic builtins... yes
checking for 32-bit userspace on 64-bit system... no
checking for __dso_handle... yes
checking for compiler -fvisibility-inlines-hidden option... no
configure: creating ./config.status
config.status: creating include/llvm/Config/Targets.def
config.status: creating include/llvm/Config/AsmPrinters.def
config.status: creating include/llvm/Config/AsmParsers.def
config.status: creating include/llvm/Config/Disassemblers.def
config.status: creating Makefile.config
config.status: creating llvm.spec
config.status: creating docs/doxygen.cfg
config.status: creating tools/clang/docs/doxygen.cfg
config.status: creating bindings/ocaml/llvm/META.llvm
config.status: creating include/llvm/Config/config.h
config.status: creating include/llvm/Config/llvm-config.h
config.status: creating include/llvm/Support/DataTypes.h
config.status: creating tools/clang/include/clang/Config/config.h
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing Makefile.common commands
config.status: executing examples/Makefile commands
config.status: executing lib/Makefile commands
config.status: executing test/Makefile commands
/tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/autoconf/install-sh: /tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/test/Makefile does not exist.
config.status: executing test/Makefile.tests commands
/tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/autoconf/install-sh: /tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/test/Makefile.tests does not exist.
config.status: executing unittests/Makefile commands
config.status: executing tools/Makefile commands
config.status: executing utils/Makefile commands
config.status: executing projects/Makefile commands
config.status: executing bindings/Makefile commands
config.status: executing bindings/ocaml/Makefile.ocaml commands
Hii, I couldn't generate a histogram. Root and matplotlib are showing disabled in ma5 interface. But I have installed both on my system. Through the main terminal. But still showing those are disabled. How to overcome this problem? There is adequate material on the internet about the use of ma5. Nevertheless, non of them not talking about how to enable root and matplotlib. Thanks
I try to run install matplotlib in ma5 terminal. Result ############################# ma5>install matplotlib MA5: MA5: ** MA5: Installing matplotlib MA5: ** MA5: Detecting a previous installation ... MA5: => found MA5: Removing the previous installation ... MA5-WARNING: Are you sure to remove the directory called '/home/sandeep/Desktop/Madgraph/MG5_aMC_v2.9.7/MG5_aMC_v2_9_7/HEPTools/madanalysis5/madanalysis5/tools/matplotlib' ? (Y/N) Answer: y MA5: Creating a devoted folder ... MA5: Creating a temporary folder ... MA5: Downloading the package ... MA5: - 1/1 http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz ... MA5: --> 'matplotlib.tar.gz' already exists. Package not downloaded. MA5: Unpacking the package ... MA5: Building the package ... MA5-ERROR: impossible to build the project. For more details, see the log file: MA5-ERROR: /home/sandeep/Desktop/Madgraph/MG5_aMC_v2.9.7/MG5_aMC_v2_9_7/HEPTools/madanalysis5/madanalysis5/tools/matplotlib/compilation.log MA5: Installation NOT complete. MA5: Elapsed time = 11.91 seconds MA5: => Status: [FAILURE] MA5: **
Compilation.log file
########################################################################### Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz Traceback (most recent call last): File "setup.py", line 10, in use_setuptools() File "/tmp/sandeep/MA5_matplotlib/matplotlib-1.3.1/distribute_setup.py", line 163, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "/tmp/sandeep/MA5_matplotlib/matplotlib-1.3.1/distribute_setup.py", line 132, in _do_download to_dir, download_delay) File "/tmp/sandeep/MA5_matplotlib/matplotlib-1.3.1/distribute_setup.py", line 212, in download_setuptools src = urlopen(url) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 473, in error return self._call_chain(args) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(args) File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 403: SSL is required
~~ /tmp/sandeep/MA5_root/root-6.04.08/build/rmkdepend/ifparser.c: In function ‘parse_value’: /tmp/sandeep/MA5_root/root-6.04.08/build/rmkdepend/ifparser.c:237:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 237~~include/TClassEdit.h:163:44: note: ‘std::string_view’ is only available from C++17 onwards include/TClassEdit.h:164:35: error: ‘string_view’ is not a member of ‘std’ 164~~include/TClassEdit.h:164:35: note: ‘std::string_view’ is only available from C++17 onwards include/TClassEdit.h:165:57: error: ‘int TClassEdit::IsSTLCont(const char*, int)’ redeclared as different kind of entity 165~~~~ include/TClassEdit.h:168:62: error: ‘std::string_view’ has not been declared 168~~In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9: include/TClassEdit.h:172:32: error: ‘string_view’ is not a member of ‘std’ 172~~include/TClassEdit.h:172:32: note: ‘std::string_view’ is only available from C++17 onwards checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:33: error: ‘string_view’ in namespace ‘std’ does not name a type 24~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:28: note: ‘std::string_view’ is only available from C++17 onwards 24~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:36:37: error: request for member ‘length’ in ‘name’, which is of non-class type ‘const int’ 36~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:37:23: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript 37~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:48:52: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript 48~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:57:55: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript 57~~~~~^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:28: error: variable or field ‘RemoveStd’ declared void 83~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:28: error: ‘string_view’ is not a member of ‘std’ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:28: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:83:41: error: ‘name’ was not declared in this scope; did you mean ‘tzname’? 83~~~~~ In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9: include/TClassEdit.h:172:19: note: ‘ROOT::ESTLType TClassEdit::STLKind’ previously defined here 172~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:461:41: error: ‘string_view’ is not a member of ‘std’ 461~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:461:41: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:520:38: error: ‘string_view’ in namespace ‘std’ does not name a type 520~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:520:33: note: ‘std::string_view’ is only available from C++17 onwards 520~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:524:20: error: invalid types ‘const int[size_t {aka long unsigned int}]’ for array subscript 524~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘size_t findNameEnd(const string&, size_t)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:544:66: error: no matching function for call to ‘findNameEnd()’ 544~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:520:50: note: no known conversion for argument 1 from ‘’ to ‘int’ 520~~~~~^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:542:15: note: candidate: ‘size_t findNameEnd(const string&, size_t)’ 542~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:542:15: note: candidate expects 2 arguments, 1 provided /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsDefAlloc(const char, const char*)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:553:4: error: ‘string_view’ was not declared in this scope 553~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:553:4: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:554:14: error: ‘a’ was not declared in this scope 554~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:576:40: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:548:41: warning: unused parameter ‘allocname’ [-Wunused-parameter] 548~~^~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:548:64: warning: unused parameter ‘classname’ [-Wunused-parameter] 548~~^~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsDefAlloc(const char, const char, const char)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:606:4: error: ‘string_view’ was not declared in this scope 606~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:606:4: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:607:14: error: ‘a’ was not declared in this scope 607~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:638:38: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:665:15: error: expected ‘;’ before ‘v’ 665~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:673:40: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:599:41: warning: unused parameter ‘valueclassname’ [-Wunused-parameter] 599~~^~~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool IsDefElement(const char, const char, const char*)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:700:24: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string’} to ‘int’ 700~~~~~^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:714:50: error: ‘string_view’ is not a member of ‘std’ 714~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:714:50: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:717:53: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive] 717~~~^~~~~^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:761:65: error: ‘std::string_view’ has not been declared 761~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘void TClassEdit::GetNormalizedName(std::string&, int)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:772:32: error: no matching function for call to ‘std::__cxx11::basic_string::basic_string(int&)’ 772~~~ /usr/include/c++/9/bits/basic_string.h:625:9: note: template argument deduction/substitution failed: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:772:32: note: candidate expects 3 arguments, 1 provided 772~~~ /usr/include/c++/9/bits/basic_string.h:587:7: note: candidate expects 2 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:583:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 583~~~ /usr/include/c++/9/bits/basic_string.h:583:7: note: candidate expects 2 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:579:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 579~~~ /usr/include/c++/9/bits/basic_string.h:579:45: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list’ 579~~~~~^~~ /usr/include/c++/9/bits/basic_string.h:552:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 552~~~ /usr/include/c++/9/bits/basic_string.h:552:35: note: no known conversion for argument 1 from ‘int’ to ‘std::__cxx11::basic_string&&’ 552~~~^~~~~ /usr/include/c++/9/bits/basic_string.h:540:7: note: candidate: ‘std::cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 540~~~ /usr/include/c++/9/bits/basic_string.h:540:7: note: candidate expects 3 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:525:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 525~~~ /usr/include/c++/9/bits/basic_string.h:525:7: note: conversion of argument 1 would be ill-formed: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:772:28: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive] 772~~~ /usr/include/c++/9/bits/basic_string.h:510:7: note: candidate expects 3 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:492:7: note: candidate: ‘std::cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 492~~~ /usr/include/c++/9/bits/basic_string.h:492:7: note: candidate expects 4 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:476:7: note: candidate: ‘std::cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 476~~~ /usr/include/c++/9/bits/basic_string.h:476:7: note: candidate expects 3 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:461:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 461~~~ /usr/include/c++/9/bits/basic_string.h:461:7: note: candidate expects 3 arguments, 1 provided /usr/include/c++/9/bits/basic_string.h:448:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 448~~~ /usr/include/c++/9/bits/basic_string.h:448:40: note: no known conversion for argument 1 from ‘int’ to ‘const std::__cxx11::basic_string&’ 448~~~~^~~~~ /usr/include/c++/9/bits/basic_string.h:440:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 440~~~ /usr/include/c++/9/bits/basic_string.h:440:34: note: no known conversion for argument 1 from ‘int’ to ‘const std::allocator&’ 440~~~~^/usr/include/c++/9/bits/basic_string.h:431:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ 431~~~ /usr/include/c++/9/bits/basic_string.h:431:7: note: candidate expects 0 arguments, 1 provided /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsSTLBitset(const char)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1213:27: error: invalid conversion from ‘const char’ to ‘int’ [-fpermissive] 1213~~~~~~~~~^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1219:16: error: redefinition of ‘ROOT::ESTLType TClassEdit::UnderlyingIsSTLCont’ 1219~~~~~ In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9: include/TClassEdit.h:163:19: note: ‘ROOT::ESTLType TClassEdit::UnderlyingIsSTLCont’ previously defined here 163~~~~~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1219:53: error: ‘string_view’ is not a member of ‘std’ 1219~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1219:53: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1244:16: error: redefinition of ‘ROOT::ESTLType TClassEdit::IsSTLCont’ 1244~~~~~ In file included from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:9: include/TClassEdit.h:164:19: note: ‘ROOT::ESTLType TClassEdit::IsSTLCont’ previously defined here 164~~~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1244:43: error: ‘string_view’ is not a member of ‘std’ 1244~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1244:43: note: ‘std::string_view’ is only available from C++17 onwards /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1268:58: error: ‘int TClassEdit::IsSTLCont(const char*, int)’ should have been declared inside ‘TClassEdit’ 1268~~~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsStdClass(const char)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1291:25: error: invalid conversion from ‘const char’ to ‘int’ [-fpermissive] 1291~~~~/tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:24:45: note: initializing argument 1 of ‘size_t StdLen(int)’ 24 | static size_t StdLen(const std::string_view name) |... yes
checking whether arc4random is declared... no
checking whether strerror_s is declared... no
checking for isnan in ... yes
checking for isnan in ... no
checking for std::isnan in ... yes
checking for isinf in ... yes
checking for isinf in ... no
checking for std::isinf in ... yes
checking for finite in ... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for mmap of files... yes
checking if /dev/zero is needed for mmap... no
checking for GCC atomic builtins... yes
checking for 32-bit userspace on 64-bit system... no
checking for __dso_handle... yes
checking for compiler -fvisibility-inlines-hidden option... no
configure: creating ./config.status
config.status: creating include/llvm/Config/Targets.def
config.status: creating include/llvm/Config/AsmPrinters.def
config.status: creating include/llvm/Config/AsmParsers.def
config.status: creating include/llvm/Config/Disassemblers.def
config.status: creating Makefile.config
config.status: creating llvm.spec
config.status: creating docs/doxygen.cfg
config.status: creating tools/clang/docs/doxygen.cfg
config.status: creating bindings/ocaml/llvm/META.llvm
config.status: creating include/llvm/Config/config.h
config.status: creating include/llvm/Config/llvm-config.h
config.status: creating include/llvm/Support/DataTypes.h
config.status: creating tools/clang/include/clang/Config/config.h
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing Makefile.common commands
config.status: executing examples/Makefile commands
config.status: executing lib/Makefile commands
config.status: executing test/Makefile commands
/tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/autoconf/install-sh: /tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/test/Makefile does not exist.
config.status: executing test/Makefile.tests commands
/tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/autoconf/install-sh: /tmp/sandeep/MA5_root/root-6.04.08/interpreter/llvm/src/test/Makefile.tests does not exist.
config.status: executing unittests/Makefile commands
config.status: executing tools/Makefile commands
config.status: executing utils/Makefile commands
config.status: executing projects/Makefile commands
config.status: executing bindings/Makefile commands
config.status: executing bindings/ocaml/Makefile.ocaml commands
~~~~~^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘bool TClassEdit::IsVectorBool(const char)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1325:57: error: ‘TClassEdit::STLKind’ cannot be used as a function 1325 | return ( TClassEdit::STLKind( splitname.fElements[0] ) == ROOT::kSTLvector) | ^ In file included from include/TMetaUtils.h:73, from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/RConversionRuleParser.cxx:6: include/TClassEdit.h:163:44: error: ‘string_view’ is not a member of ‘std’ 163 | ROOT::ESTLType UnderlyingIsSTLCont(std::string_view type); | ^~~include/TClassEdit.h:163:44: note: ‘std::string_view’ is only available from C++17 onwards include/TClassEdit.h:164:35: error: ‘string_view’ is not a member of ‘std’ 164 | ROOT::ESTLType IsSTLCont (std::string_view type); | ^~~include/TClassEdit.h:164:35: note: ‘std::string_view’ is only available from C++17 onwards include/TClassEdit.h:165:57: error: ‘int TClassEdit::IsSTLCont(const char, int)’ redeclared as different kind of entity 165 | int IsSTLCont (const char type,int testAlloc); | ^ include/TClassEdit.h:164:19: note: previous declaration ‘ROOT::ESTLType TClassEdit::IsSTLCont’ 164 | ROOT::ESTLType IsSTLCont (std::string_view type); | ^~~~~ include/TClassEdit.h:168:62: error: ‘std::string_view’ has not been declared 168 | void GetNormalizedName(std::string &norm_name,std::string_view name); | ^~~In file included from include/TMetaUtils.h:73, from /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/RConversionRuleParser.cxx:6: include/TClassEdit.h:172:32: error: ‘string_view’ is not a member of ‘std’ 172 | ROOT::ESTLType STLKind(std::string_view type); //Kind of stl container | ^~~include/TClassEdit.h:172:32: note: ‘std::string_view’ is only available from C++17 onwards In file included from include/TNamed.h:29, from include/TDictionary.h:45, from include/TClass.h:25, from /tmp/sandeep/MA5_root/root-6.04.08/core/utils/src/rootclingTCling.cxx:17: include/TString.h:116:13: error: expected type-specifier 116 | operator std::string_view() const { return std::string_view(Data(),fExtent); } | ^~~ include/TString.h: In member function ‘TSubString::operator std::string() const’: include/TString.h:117:47: error: ‘string_view’ is not a member of ‘std’ 117 | operator std::string() const { return std::string_view(Data(),fExtent).to_string(); } | ^~~include/TString.h:117:47: note: ‘std::string_view’ is only available from C++17 onwards include/TString.h: At global scope: include/TString.h:269:23: error: ‘string_view’ in namespace ‘std’ does not name a type 269 | TString(const std::string_view &sub); | ^~~include/TString.h:269:18: note: ‘std::string_view’ is only available from C++17 onwards 269 | TString(const std::string_view &sub); | ^~~ include/TString.h:290:13: error: expected type-specifier 290 | operator std::string_view() const { return std::string_view(GetPointer(),Length()); } | ^~~ include/TString.h:297:37: error: ‘string_view’ in namespace ‘std’ does not name a type 297 | TString &operator=(const std::string_view &s); | ^~~include/TString.h:297:32: note: ‘std::string_view’ is only available from C++17 onwards 297 | TString &operator=(const std::string_view &s); | ^~~ In file included from include/TNamed.h:29, from include/TDictionary.h:45, from include/TClass.h:25, from /tmp/sandeep/MA5_root/root-6.04.08/core/utils/src/rootclingTCling.cxx:17: include/TString.h:793:38: error: ‘string_view’ in namespace ‘std’ does not name a type 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~include/TString.h:793:33: note: ‘std::string_view’ is only available from C++17 onwards 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~ include/TString.h:793:71: error: ‘string_view’ in namespace ‘std’ does not name a type 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~include/TString.h:793:66: note: ‘std::string_view’ is only available from C++17 onwards 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~ In file included from include/TCollection.h:34, from include/THashTable.h:28, from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.h:27, from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.cxx:27: include/TString.h:116:13: error: expected type-specifier 116 | operator std::string_view() const { return std::string_view(Data(),fExtent); } | ^~~ include/TString.h: In member function ‘TSubString::operator std::string() const’: include/TString.h:117:47: error: ‘string_view’ is not a member of ‘std’ 117 | operator std::string() const { return std::string_view(Data(),fExtent).to_string(); } | ^~~include/TString.h:117:47: note: ‘std::string_view’ is only available from C++17 onwards include/TString.h: At global scope: include/TString.h:269:23: error: ‘string_view’ in namespace ‘std’ does not name a type 269 | TString(const std::string_view &sub); | ^~~include/TString.h:269:18: note: ‘std::string_view’ is only available from C++17 onwards 269 | TString(const std::string_view &sub); | ^~~ include/TString.h:290:13: error: expected type-specifier 290 | operator std::string_view() const { return std::string_view(GetPointer(),Length()); } | ^~~ include/TString.h:297:37: error: ‘string_view’ in namespace ‘std’ does not name a type 297 | TString &operator=(const std::string_view &s); | ^~~include/TString.h:297:32: note: ‘std::string_view’ is only available from C++17 onwards 297 | TString &operator=(const std::string_view &s); | ^~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: In function ‘void ResolveTypedefImpl(const char, unsigned int, unsigned int&, bool&, std::string&)’: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1525:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1525 | if (modified) prevScope = cursor+1; | ^~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1531:10: note: here 1531 | case ' ': { | ^~~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1565:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1565 | ++cursor; | ^~~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:1568:10: note: here 1568 | case '': | ^~~~ In file included from include/TCollection.h:34, from include/THashTable.h:28, from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.h:27, from /tmp/sandeep/MA5_root/root-6.04.08/core/base/src/TListOfTypes.cxx:27: include/TString.h:793:38: error: ‘string_view’ in namespace ‘std’ does not name a type 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~include/TString.h:793:33: note: ‘std::string_view’ is only available from C++17 onwards 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~ include/TString.h:793:71: error: ‘string_view’ in namespace ‘std’ does not name a type 793 | std::string printValue(const std::string_view const p, const std::string_view const u, | ^~~include/TString.h:793:66: note: ‘std::string_view’ is only available from C++17 onwards 793 | std::string printValue(const std::string_view const p, const std::string_view* const u, | ^~~ /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx: At global scope: /tmp/sandeep/MA5_root/root-6.04.08/core/metautils/src/TClassEdit.cxx:520:15: warning: ‘size_t findNameEnd(int)’ defined but not used [-Wunused-function] 520 | static size_t findNameEnd(const std::string_view full) | ^~~make: [Makefile:656: core/metautils/src/TClassEdit.o] Error 1 make: Waiting for unfinished jobs.... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... make: [Makefile:656: core/metautils/src/RConversionRuleParser.o] Error 1 make: [Makefile:656: core/base/src/TListOfTypes.o] Error 1 make: *** [Makefile:656: core/utils/src/rootclingTCling.o] Error 1 yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether GCC or Clang is our host compiler... gcc 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 type of operating system we're going to host on... Linux checking type of operating system we're going to target... Linux checking target architecture... x86_64 checking optimization flags... -O3 checking for GNU make... make checking whether ln -s works... yes checking for nm... /usr/bin/nm checking for cmp... /usr/bin/cmp checking for cp... /usr/bin/cp checking for date... /usr/bin/date checking for find... /usr/bin/find checking for grep... /usr/bin/grep checking for mkdir... /usr/bin/mkdir checking for mv... /usr/bin/mv checking for ranlib... ranlib checking for ar... ar checking for rm... /usr/bin/rm checking for sed... /usr/bin/sed checking for tar... /usr/bin/tar checking for pwd... /usr/bin/pwd checking for dot... echo dot checking for a BSD-compatible install... /usr/bin/install -c checking for bzip2... /usr/bin/bzip2 checking for cat... /usr/bin/cat checking for doxygen... /usr/bin/doxygen checking for groff... /usr/bin/groff checking for gzip... /usr/bin/gzip checking for pdfroff... /usr/bin/pdfroff checking for zip... /usr/bin/zip checking for go... /snap/bin/go checking for ocamlfind... no checking for gas... no checking for as... /usr/bin/as checking for linker version... 2.34 checking for compiler -Wl,-R option... yes checking for compiler -rdynamic option... yes checking for compiler -Wl,--version-script option... yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking tool compatibility... ok checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-comment checking for python... /usr/bin/python checking for python >= 2.7... /usr/bin/python (2.7.18) checking for sin in -lm... yes checking for library containing dlopen... -ldl checking for library containing clock_gettime... none required checking for library containing setupterm... no checking for library containing el_init... no checking for library containing mallinfo... none required checking for compress2 in -lz... yes checking for xml2-config... xml2-config checking for libxml2 includes... -I/usr/include/libxml2 checking for xmlReadFile in -lxml2... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for MAP_ANONYMOUS vs. MAP_ANON... yes checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for cxxabi.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking whether FE_ALL_EXCEPT is declared... yes checking whether FE_INEXACT is declared... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking CrashReporterClient.h usability... no checking CrashReporterClient.h presence... no checking for CrashReporterClient.h... no checking crashreporter_info... no checking for HUGE_VAL sanity... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int64_t... yes checking for uint64_t... yes checking for backtrace... yes checking for ceilf... yes checking for floorf... yes checking for roundf... yes checking for rintf... yes checking for nearbyintf... yes checking for getcwd... yes checking for powf... yes checking for fmodf... yes checking for strtof... yes checking for round... yes checking for log... yes checking for log2... yes checking for log10... yes checking for exp... yes checking for exp2... yes checking for getpagesize... yes checking for getrusage... yes checking for getrlimit... yes checking for setrlimit... yes checking for gettimeofday... yes checking for isatty... yes checking for mkdtemp... yes checking for mkstemp... yes checking for mktemp... yes checking for posix_spawn... yes checking for pread... yes checking for realpath... yes checking for sbrk... yes checking for setrlimit... (cached) yes checking for strerror... yes checking for strerror_r... yes checking for setenv... yes checking for strtoll... yes checking for strtoq... yes checking for sysconf... yes checking for malloc_zone_statistics... no checking for setjmp... yes checking for longjmp... yes checking for sigsetjmp... no checking for siglongjmp... yes checking for writev... yes checking for futimes... yes checking for futimens... yes checking if printf has the %a format character... yes checking for srand48/lrand48/drand48 in