记下来:
If, during the “configure” step, you get the following error: “error: could not configure a cxx compiler!” Do the following:
Close your Cygwin terminal.
Start -> Run -> ash
/bin/rebaseall
Close ash, re-open your Cygwin shell, and try again.
rebaseall:'/cygdrive/c/Users/ADMINI~1/AppData/Local/Temp' is not writable
Open up a Cygwin shell and run:
$ chmod 777 ~/AppData/Local/Temp
记住要用cygwin.bat,不要用mintty