Score:0

How to install Gem5 on Ubuntu 20.04 LTS properly?

cn flag

I tried through multiple installation tutorials but after build it does not work on any file to analyse. It gives error as follow:

scons: Reading SConscript files ...
NameError: name 't' is not defined:
  File "/home/username/gem5/SConstruct", line 201:
    this_build_root, variant = parse_build_path(t)
  File "/home/username/gem5/site_scons/gem5_scons/__init__.py", line 237:
    error("No non-leaf 'build' dir found on target path.", t)
ANKIT PULKIT avatar
cn flag
I've installed Gem5 through gem5 tutorials. scons build works fine (does not show any error) but when i run gem5 to analyze any file like scons build/ARM/gem5.opt configs/example/se.py it says NameError I've tried both python (3 & 2.7) and Scons with different version's from 2 to 4. but it's not working properly.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.