Bug 61611

Summary: httpd-2.4.28 - Windows - mod_proxy_balancer.mak - Please add /I "../core" to CPP_PROJ
Product: Apache httpd-2 Reporter: alena.tuzhilova
Component: BuildAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.4.27   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   

Description alena.tuzhilova 2017-10-12 15:33:40 UTC
Hi,

httpd-2.4.28 build process failed with this error:

mod_proxy_balancer.c
mod_proxy_balancer.c(25) : fatal error C1083: Cannot open include file: 'mod_watchdog.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.


To fix this issue, mod_proxy_balancer.mak was modified and required path was added:

CPP_PROJ=/nologo /MD /W3 /Zi /O2 /Oy- /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /I "../core" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\mod_proxy_balancer_src" /FD /c 



Please change mod_proxy_balancer.mak  and add /I "../core" to it.
Thanks.
Comment 1 William A. Rowe Jr. 2017-10-12 18:59:10 UTC
Corrected in 2.4.x branch for 2.4.29 tag, by copying the file during the libhttpd build to the include/ dir (rather than adding modules/core to a number of makefiles.)