splfr needs to be able to invoke the C compiler from the command line. On Windows, this will only work if the command line environment has been properly set up. See Setting up the C compiler on Windows for Windows-specific information about getting the C compiler to work.