In ./configure on line 3242, *mingw32*|*mingw64*) must be *mingw32*|*mingw64*|*msys*) otherwise configuration will fail, like so: checking for socket... no checking for socket in -lsocket... no configure: error: Cannot find socket() function