Hello Khaled,

First, check the content of the variable PATH by typing echo $PATH. This variable should contain a path to swig3.0.8 (in my case it is /usr/share/swig3.0.5).

My problem was that PATH did not contain the proper path to swig3.0.5.

So I set the environment variable PATH in the file .profile (and not /etc/profile) that is located in your home directory. So in .profile I set : export PATH=/usr/share/swig3.0.5/bin:$PATH (in your case it will probably be ../swig3.0.8/... instead of .../swig3.0.5/...)

After that, in the terminal window that you used to edit the .profile file, type bash -l (that will update the variable PATH). Check that PATH was updated by typing echo $PATH in the same terminal window.

Now go to the relevant directory and try building the x86 with: scons build/X86/gem5.opt.

Kind regards,

Roman




On 2016-03-21 12:44, khaled wrote:
Hi,

I am facing the same problem. I updated swig to 3.0.8 and I am still having
the same problem even with the gem5-stable. Please advise.

Best regards,
Khaled



_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to