添加linux2.6内核时遇到

 

  1. Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to linux-2.6.18-xen.hg.  
  2. /bin/sh: hg: command not found 
解决:

 

  1. wget http://www.selenic.com/mercurial/release/mercurial-1.1.tar.gz  
  2. tar xvzf mercurial-1.1.tar.gz  
  3. cd mercurial-1.1  
  4. make local;make install 

end