I tried building Ninja from source. I did:
$ git clone git://github.com/martine/ninja.git && cd ninja
$ git checkout release
Then in a Visual Studio command line I ran configure.py with Python:
$ C:\Python27\python.exe configure.py --bootstrap
But here I get the following error:
C:\ninja>C:\Python27\python.exe configure.py --bootstrap
bootstrapping ninja...
Traceback (most recent call last):
  File "configure.py", line 320, in <module>
    if platform.msvc_needs_fs():
  File "configure.py", line 84, in msvc_needs_fs
    stderr=subprocess.PIPE)
  File "C:\Python27\Lib\subprocess.py", line 390, in __init__
    errread, errwrite)
  File "C:\Python27\Lib\subprocess.py", line 640, in _execute_chi
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
After reading this answer, I added shell=True to all call() and check_call() occurrences in configure.py. But that still doesn't help.
Any ideas what to do?
 
    