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 <[email protected]> wrote: > 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 swig version 2.0.5,so why is this error ? > > > Best Regards > Wael Amr > > > > > On Sun, Apr 29, 2012 at 8:11 PM, Andrew Cebulski <[email protected]> wrote: > >> 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. se.py). >> >> -Andrew >> >> >> On Sun, Apr 29, 2012 at 2:05 PM, wael Amr <[email protected]>wrote: >> >>> 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/variables/ALPHA_SE or default file(s) >>> /Users/wael/Studies/gem5/build_opts/ALPHA_SE >>> >>> So did anyone have this error before? >>> >>> Thanks >>> Best Regards >>> Wael Amr >>> >>> On Sun, Apr 29, 2012 at 7:54 PM, wael Amr <[email protected]>wrote: >>> >>>> 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 to generate; once >>>> the database has been created, this message will no longer appear. >>>> >>>> According to macports guide: >>>> i set the command to "/bin/bash",then i typed >>>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH >>>> export MANPATH=/opt/local/share/man:$MANPATH >>>> >>>> then i typed the command "scons build/ALPHA_SE/gem5.opt" on the gem5 >>>> folder,the output : >>>> scons: *** No SConstruct file found. >>>> File >>>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.0.1/SCons/Script/Main.py", >>>> line 834, in _main >>>> >>>> >>>> so any help will be highly appreciated. >>>> Thanks a lot for your time and attention. >>>> Best Regards >>>> Wael Amr >>>> >>>> >>>> >>>> On Sun, Apr 29, 2012 at 6:30 PM, Andrew Cebulski <[email protected]>wrote: >>>> >>>>> 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. >>>>> >>>>> -Andrew >>>>> >>>>> >>>>> On Sun, Apr 29, 2012 at 12:03 PM, wael Amr >>>>> <[email protected]>wrote: >>>>> >>>>>> 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 Sun, Apr 29, 2012 at 6:19 AM, Hossein Nikoonia <[email protected] >>>>>> > wrote: >>>>>> >>>>>>> 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 <[email protected]> >>>>>>> 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 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 : >>>>>>> > >>>>>>> > -bash: scons: command not found >>>>>>> > >>>>>>> > >>>>>>> > So please why the command "scons" is not found although i have >>>>>>> installed >>>>>>> > scons using Macports ? >>>>>>> > >>>>>>> > >>>>>>> > Thank you in advance for your time and support. >>>>>>> > >>>>>>> > Best Regards >>>>>>> > >>>>>>> > Wael Amr >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > _______________________________________________ >>>>>>> > 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 >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>> >>>> >>> >>> _______________________________________________ >>> 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 >> > > > _______________________________________________ > 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
