# ROOT5 on ubuntu 20.04

**URL:** <https://alice-talk.web.cern.ch/t/root5-on-ubuntu-20-04/827>\
**Category:** O²\
**Tags:** root\
**Created:** [February 6, 2021, 8:32pm UTC](https://alice-talk.web.cern.ch/t/root5-on-ubuntu-20-04/827 "2021-02-06T20:32:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahoian](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@shahoian](https://alice-talk.web.cern.ch/u/shahoian)\
**Post date:** [February 6, 2021, 8:32pm UTC](https://alice-talk.web.cern.ch/t/root5-on-ubuntu-20-04/827/1 "2021-02-06T20:32:29Z")

</div>

Hello,

Did anybody manage to build ROOT on Ubuntu 20.04. Trying to `aliBuild build AliRoot` I fail on building of ROOT (v5-34-30-alice10) with plenty of messages like:

```auto
/home/shahoian/aliroot/sw/BUILD/fa91791f9d3136ca3e0af97cb6d8b6ebc7600c3f/ROOT/cint/ROOT/G __cpp_map.cxx:6589:148: error: 'std::map<std::__ cxx11::basic_string<char>, int, std::less<std:: __cxx11::basic_string<char> >, std::allocator<std::pair<const std::__ cxx11::basic_string<char>, int> > >::iterator' {aka 'struct std:
:_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >'} has no member named 'operator!='; did you mean 'operator='?
 6589 | G__letint(result7, 103, (long) ((map<string,int,less<string>,allocator<pair<const string,int> > >::iterator*) G__getstructoffset())->operator!=(*(map<string,int,less<string>,allocator<pair<const string,int> > >::iterator*) libp->para[0].ref));

```

The full log is in [CERNBox](https://cernbox.cern.ch/index.php/s/WHDfi9BicPKCOJp)

I see that the dictionary files G\_XXX.cxx it generates and fails are exactly the same as in ROOT6 case which builds w/o problem, so should be something related to compilation flags.

Cheers,  
Ruben

---

<div class="post-metadata">

**Author:** ![zampolli](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zampolli](https://alice-talk.web.cern.ch/u/zampolli)\
**Post date:** [February 8, 2021, 1:01pm UTC](https://alice-talk.web.cern.ch/t/root5-on-ubuntu-20-04/827/2 "2021-02-08T13:01:38Z")

</div>

Hi Ruben,

It seems you got further than me, for me ROOT5 compilation stops at:

```auto
[17%] Generating stlLoader_set.cc
/home/zampolli/SOFT/alibuild/ali-master/sw/BUILD/fa91791f9d3136ca3e0af97cb6d8b6ebc7600c3f/ROOT/cint/ROOT/G __cpp_multiset.cxx: In function 'int G__ multiset_54_0_10(G __value*, const char*, G__ param*, int)':
/home/zampolli/SOFT/alibuild/ali-master/sw/BUILD/fa91791f9d3136ca3e0af97cb6d8b6ebc7600c3f/ROOT/cint/ROOT/G__cpp_multiset.cxx:725:123: error: 'std::multiset<int, std::less<int>, std::allocator<int> >::iterator' {aka 'struct std::_Rb_tree_const_iterator<int>'} has no member named 'operator=='; did you mean 'operator='?
  725 | G__letint(result7, 103, (long) ((multiset<int,less<int>,allocator<int> >::iterator*) G__getstructoffset())->operator==(*(multiset<int,less<int>,allocator<int> >::iterator*) libp->para[0].ref));
      | ^~
      | operator=

```

I guess the issue is the same, just different symptom.

Chiara
