Dear joemp and Gabriel Michael Black
 
        Thank you so much for your help and relies:)
 
        I just forgot to mentioned that I have modified the hgrc in 
/etc/mercurial/ so it gave me that error message, but I modified hgrc file 
according to an initial screen message after I run the instruction "scons 
build/ALPHA_SE/m5.opt"
 
        so I have undone everything and started from very beginning, and 
followed the three following instructions again:
  
        hg clone http://repo.m5sim.org/m5 
        cd m5 
        scons build/ALPHA_SE/m5.opt 
 
        There is no error message in 1st and 2nd instructions, but there is one 
error message after 3rd instruction
 
        scons: Reading SConscript files ...
        You're missing the M5 style hook.
        Please install the hook so we can ensure that all code fits a common 
style.
        All you'd need to do is add the following lines to your repository 
.hg/hgrc
        or your personal .hgrc
        ----------------
        [extensions]
        style = ./util/style.py
 
        [hooks]
        pretxncommit.style = python:style.check_style
        pre-qrefresh.style = python:style.check_style
 
        In previous cases, I just added these to hgrc in /etc/mercurial/ but it 
gave more error messages. so now I really do not know where to find hgrc to 
modify :( 
 
        I wonder if you could give me some suggestions regarding .hg/hgrc and I 
greatly appreciate your kindness and help:)
 
With the best of my regards
Victor





 
 
 
 
 
     
        So I guess I might have serious problem with this email list before I 
had problem with m5:(
 
        I tried the three instructions and the first instruction hg clone 
http://repo.m5sim.org/m5 works but it gave me an erroe message before it works
 
            "*** failed to import extension style from ./util/style.py: [Errno 
2] No such file or directory"
 
        and then I ran the second one to go to m5 directory and then the third 
instruction: scons build/ALPHA_SE/m5.opt
 
        it just gave me the following error message:
    
         "scons: Reading SConscript files ...
               Error: Don't know what compiler options to use for your compiler.
               Please fix SConstruct and src/SConscript and try again."
 
       So do you know if there is anything else wrong with M5
 
       Thank you so much:)
 
Best Regards
Victor
                                          
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to