title: Error while trying to run the HipHop in "Mode 2(Compiling HipHop in a temporary directory and running the compiled program from the command line)"
body: <p>I have installed the HipHop and all the dependencies in my VM(Ubuntu 12.04 LTS), no issues faced while setting up the environment. But I am not able to run the HipHop in Mode 2 or 3 or 4 or 5 as specified in the wiki document <em><a href="https://github.com/facebook/hiphop-php/wiki/Running-HipHop" rel="nofollow">https://github.com/facebook/hiphop-php/wiki/Running-HipHop</a></em>.</p>
  
  <p>I am trying to run the HipHop in <strong>Mode 2</strong> then facing some error with a message of "sudo: /tmp/hphp_DF8jr8/program: command not found", can you please help me to fix this issue and start using the HipHop in a correct direction.</p>
  
  <p>Just posting my terminal response for your reference:</p>
  
  <p><em><strong>siva@siva-Parallels-Virtual-Platform:~/dev/hiphop-php$</em></strong> $HPHP_HOME/src/hphp/hphp /var/www/test.php k 1 --log=3<br />
  running hphp...<br />
  creating temporary directory /tmp/hphp_DF8jr8 ...<br />
  parsing inputs...<br />
  parsing inputs took 0'00" (3 ms) wall time<br />
  pre-optimizing...<br />
  pre-optimizing took 0'00" (0 ms) wall time<br />
  analyze includes...<br />
  analyze includes took 0'00" (0 ms) wall time<br />
  inferring types...<br />
  inferring types took 0'00" (0 ms) wall time<br />
  post-optimizing...<br />
  post-optimizing took 0'00" (1 ms) wall time<br />
  creating binary HHBC files...<br />
  creating binary HHBC files took 0'00" (6 ms) wall time<br />
  running executable /home/siva/dev/hiphop-php/src/hhvm/hhvm -vRepo.Authoritative=true -vRepo.Commit=false -vRepo.Local.Mode=r -vRepo.Local.Path=/tmp/hphp_DF8jr8/hhvm.hhbc --file /var/www/test.php...<br />
  This is my first php programm...all files saved in /tmp/hphp_DF8jr8 ...<br />
  running hphp took 0'00" (443 ms) wall time<br /><br />
  <strong><em>siva@siva-Parallels-Virtual-Platform:~/dev/hiphop-php$</em></strong> /tmp/hphp_DF8jr8/program<br />
  bash: /tmp/hphp_DF8jr8/program: No such file or directory<br /><br />
  <strong><em>siva@siva-Parallels-Virtual-Platform:~/dev/hiphop-php$</em></strong> sudo /tmp/hphp_DF8jr8/program<br />
  sudo: /tmp/hphp_DF8jr8/program: command not found<br /></p>
  
  <p>Thanks,<br />Siva</p>