Re: [gem5-users] scons: command for gem5 Building

2012-05-01 Thread Gabriel Michael Black
There's a good chance that will get it to work, but it shouldn't be necessary. Something is probably not set up properly on your system. Are you using Ubuntu? I helped someone set up an Ubuntu system for use with gem5 once, and we had a lot of trouble until we installed a package which I th

Re: [gem5-users] scons: command for gem5 Building

2012-05-01 Thread wael Amr
Hi, Please i am still having a blocking problem in the gem5 building,i searched a lot in the internet, but i didn't reach to a solution. As i have installed all the dependencies (http://www.m5sim.org/Dependencies) as when i typed "port installed",the output: The following ports are currently inst

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread wael Amr
Hi, The output for 'locate python.swg' : /Developer/SDKs/MacOSX10.4u.sdk/usr/include/wx-2.5/wx/wxPython/i_files/python.swg /usr/share/swig/1.3.31/python/python.swg The output for 'whereis swig': /usr/bin/swig The output for 'swig -version': SWIG Version 2.0.5 Compiled with /usr/bin/g++-4.2 [i386

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread Andrew Cebulski
What do you get when you do 'locate python.swg'? Also, 'whereis swig' and 'swig -version'. Most likely, swig isn't configured correctly for some reason. Maybe it also wasn't automatically added to your path. -Andrew On Sun, Apr 29, 2012 at 3:32 PM, wael Amr wrote: > Hi Eng.Andrew, > > Thanks

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread wael Amr
Hi Eng.Andrew, Thanks to ALLAH,it worked well now and began to build. Thank you so much for your quick reply and support,you are right. but after reaching the line [ SWIG] ALPHA/python/swig/core.i -> _wrap.cc, .py it gives an error ":3: Error: Unable to find 'python.swg'" Although i installed

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread Andrew Cebulski
Look under build_opts for the valid build names. The wiki hasn't been updated to reflect some changes, in particular that SE/FS don't have separate builds now. So just do 'scons build/ALPHA/gem5.opt' When you run the simulation, it'll run FS/SE based on the config file you choose (i.e. fs.py vs.

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread wael Amr
Hi, I opened a new command ,then i typed: export PATH=/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH cd studies/gem5 scons build/ALPHA_SE/gem5.opt it begins to build but give me this error: Error: cannot find variables file /Users/wael/Studies/gem5/build/variabl

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread wael Amr
Hi, The output when i typed 'locate scons' : WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time t

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread Andrew Cebulski
For some reason it's probably not added to your PATH variable...what is your output when you type 'locate scons'? Also, take a look at this: http://guide.macports.org/chunked/installing.shell.html It sounds like you'll need to add the path to the scons executable manually to your PATH variable.

Re: [gem5-users] scons: command for gem5 Building

2012-04-29 Thread wael Amr
Hi, No,i have installed it successfully as i when i typed the command "port installed" ,i found that scons was installed. when I typed the command that you mentioned "whereis scons",nothing was displayed. so any other suggestions. Any help will be highly appreciated. Best Regards Wael Amr On S

Re: [gem5-users] scons: command for gem5 Building

2012-04-28 Thread Hossein Nikoonia
simple because scones is not installed! what is the output of the following command? "whereis scons" On Sat, Apr 28, 2012 at 9:51 PM, wael Amr wrote: > Hi All, > > I have installed all the dependencies (i.e. scons,swig,python) using > Macports for building and running gem5. > > Then i tried to b

[gem5-users] scons: command for gem5 Building

2012-04-28 Thread wael Amr
Hi All, I have installed all the dependencies (i.e. scons,swig,python) using Macports for building and running gem5. Then i tried to build gem5 through writing the command in the console where my GEM5 folder is unzipped as shown : .wael$ scons build/ALPHA_SE/gem5.opt but i got this message