Failed to build Apache httpd-2.4.25 on Windows. This issue did not appear on 2.4.23, 2.4.21 or 2.2.31. The build process and build commands are the same. The last command was: nmake /f Makefile.win SERVERNAME="localhost" PORT=80 installr INSTDIR="C:\Apache2.4" The error: mod_socache_memcache.c(38) : fatal error C1083: Cannot open include file: 'mod_status.h': No such file or directory NMAKE : fatal error U1077: '"<C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe>"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"<C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe>"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"<C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe>"' : return code '0x2' Stop. The issue has gone after mod_socache_memcache.c was modified and the absolute path was specified for mod_status.h: #ifdef HAVE_APU_MEMCACHE #include "ap_socache.h" #include "ap_mpm.h" #include "http_log.h" #include "apr_memcache.h" #include "apr_strings.h" #include "C:\build-apache2.4\httpd-2.4.25\modules\generators\mod_status.h"