I was helping my friend installing gem5 simulator on Linux for thesis work. I know Linux a little bit. Somehow I managed to install that simulator on my laptop with Ubuntu 12.04, but when I tried to install that simulator on her laptop it didn't go well. I gave the same commands on her laptop but it gave this error.

```
$ scons build/ALPHA/gem5.opt
scons: Reading SConscript files ...
Error Don't know what compiler options to use for your compiler.
compiler: None
version: COMMAND NOT FOUND!
If you're trying to use a compiler other than GCC
or clang, there appears to be something wrong with your
environment.

If you are trying to use a compiler other than those listed
above you will need to ease fix SConstruct and 
src/SConscript to support that compiler.

```

I tried same commands to install gem5 simulator by re installing ubuntu on her laptop. But same error. Then I tried on Linux Mint 15 and Fedora but got the same error. What am I doing wrong? Can somebody provide step by step guide to perform installation of gem5 simulator or can anybody can provide me a .deb file of it?

If not please at-least guide me how to create deb file of that sim, but please consider my skills are of beginner's level.