<div dir="ltr"><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px">To build gem5, you will need the following software:
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l21" id="l21" style="color:rgb(136,0,0);text-decoration:none"> 21</a> g++ version 4.3 or newer.
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l22" id="l22" style="color:rgb(136,0,0);text-decoration:none"> 22</a> Python, version 2.4 - 2.7 (we don't support Python 3.X). gem5 links in the
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l23" id="l23" style="color:rgb(136,0,0);text-decoration:none"> 23</a> Python interpreter, so you need the Python header files and shared
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l24" id="l24" style="color:rgb(136,0,0);text-decoration:none"> 24</a> library (e.g., /usr/lib/<a href="http://libpython2.4.so">libpython2.4.so</a>) in addition to the interpreter
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l25" id="l25" style="color:rgb(136,0,0);text-decoration:none"> 25</a> executable. These may or may not be installed by default. For example,
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l26" id="l26" style="color:rgb(136,0,0);text-decoration:none"> 26</a> on Debian/Ubuntu, you need the "python-dev" package in addition to the
</pre></div><div class="" style="background-color:rgb(237,236,230);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l27" id="l27" style="color:rgb(136,0,0);text-decoration:none"> 27</a> "python" package. If you need a newer or different Python installation
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l28" id="l28" style="color:rgb(136,0,0);text-decoration:none"> 28</a> but can't or don't want to upgrade the default Python on your system,
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l29" id="l29" style="color:rgb(136,0,0);text-decoration:none"> 29</a> see <a href="http://www.gem5.org/Using_a_non-default_Python_installation">http://www.gem5.org/Using_a_non-default_Python_installation</a>
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l30" id="l30" style="color:rgb(136,0,0);text-decoration:none"> 30</a> SCons, version 0.98.1 or newer. SCons is a powerful replacement for make.
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l31" id="l31" style="color:rgb(136,0,0);text-decoration:none"> 31</a> If you don't have administrator privileges on your machine, you can use the
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l32" id="l32" style="color:rgb(136,0,0);text-decoration:none"> 32</a> "scons-local" package to install scons in your m5 directory, or install SCons
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l33" id="l33" style="color:rgb(136,0,0);text-decoration:none"> 33</a> in your home directory using the '--prefix=' option.
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l34" id="l34" style="color:rgb(136,0,0);text-decoration:none"> 34</a> SWIG, version 1.3.34 or newer
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l35" id="l35" style="color:rgb(136,0,0);text-decoration:none"> 35</a> zlib, any recent version. For Debian/Ubuntu, you will need the "zlib-dev" or
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l36" id="l36" style="color:rgb(136,0,0);text-decoration:none"> 36</a> "zlib1g-dev" package to get the zlib.h header file as well as the library
</pre></div><div class="" style="color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l37" id="l37" style="color:rgb(136,0,0);text-decoration:none"> 37</a> itself.
</pre></div><div class="" style="background-color:rgb(246,246,240);color:rgb(0,0,0);font-size:12px;font-family:monospace"><pre style="margin-top:0px;margin-bottom:0px"><a class="" href="http://repo.gem5.org/gem5-stable/file/07352f119e48/README#l38" id="l38" style="color:rgb(136,0,0);text-decoration:none"> 38</a> m4, the macro processor.</pre>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 5:40 AM, Graeme Donaldson <span dir="ltr"><<a href="mailto:graeme@donaldson.za.net" target="_blank">graeme@donaldson.za.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">To expand on what Wesley has said, on Ubuntu you need the "build-essential" package which includes various tools for building software from source code.</p>
<p dir="ltr">In a terminal:</p>
<p dir="ltr">sudo apt-get install build-essential</p>
<p dir="ltr">This may not solve it completely, you may run into more errors if you need specific development libraries, but for now install build-essential, try again and report back to us .</p>
<p dir="ltr">Graeme<br>
Sent from a mobile device, please excuse my brevity.<br>
</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On 26 Sep 2013 9:29 PM, "Wesley Werner" <<a href="mailto:wesley.werner@gmail.com" target="_blank">wesley.werner@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hello Navdeep. I have not built that app in particular but here are some guides:<br>
<br>
The distro you use is irrelevant, it seems like you just need the development tools installed to build from source. <br>
<br>
It reads like you need the gcc compiler installed. But there may be more, depends on what the source is linking to. <br>
<br>
Usually all sources have README and INSTALL files that give steps for what you need to build. The second place to look is for a manual on the application site, the install & building sections.<br>
<br>
<a href="http://www.m5sim.org/Dependencies" target="_blank">http://www.m5sim.org/Dependencies</a><br>
-- <br>
Sent via K-9. <br><br><div class="gmail_quote">Navdeep Singh Sidhu <<a href="mailto:navdeepsingh.sidhu95@gmail.com" target="_blank">navdeepsingh.sidhu95@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
I was helping my friend installing gem5 simulator on Linux for her 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 that didn't went well. i gave the same commands on her laptop but it gave this error.</p>
<pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);overflow:auto;width:auto;max-height:600px;font-family:'Ubuntu Mono','Ubuntu Beta Mono A',Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;color:rgb(51,51,51);line-height:18px">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:'Ubuntu Mono','Ubuntu Beta Mono A',Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;color:rgb(34,34,34)"> $ 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.
</code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
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 & fedora. but i got same error. Plz somebody guide me what is wrong i'm doing. If any body can provide step by step info to perform installation of gem5 simulator or anybody can provide me a .deb file of sim that will be really helpful.</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
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.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
it is very urgent for our thesis work.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
It worked on 2 out of 6 machines. Working on my machine & on one another machine in computer lab of our university.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
regards</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(51,51,51);font-family:UbuntuRegular,Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;line-height:18px">
Navdeep Singh</p></div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p><pre>-- <br>ubuntu-za mailing list<br><a href="mailto:ubuntu-za@lists.ubuntu.com" target="_blank">ubuntu-za@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-za" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-za</a><br>
</pre></blockquote></div></div><br>--<br>
ubuntu-za mailing list<br>
<a href="mailto:ubuntu-za@lists.ubuntu.com" target="_blank">ubuntu-za@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-za" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-za</a><br>
<br></blockquote></div>
</div></div><br>--<br>
ubuntu-za mailing list<br>
<a href="mailto:ubuntu-za@lists.ubuntu.com">ubuntu-za@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-za" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-za</a><br>
<br></blockquote></div><br></div>