Bug 60736 - httpd-2.4.25 - build - mod_socache_memcache - mod_socache_memcache.c(38) : fatal error C1083: Cannot open include file: 'mod_status.h': No such file or directory
Summary: httpd-2.4.25 - build - mod_socache_memcache - mod_socache_memcache.c(38) : fa...
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.25
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-15 13:47 UTC by alena.tuzhilova
Modified: 2018-08-04 07:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alena.tuzhilova 2017-02-15 13:47:49 UTC
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"