https://bz.apache.org/bugzilla/show_bug.cgi?id=62190

            Bug ID: 62190
           Summary: CMakeLists.txt is missing mod_http2_extra_includes
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_http2
          Assignee: bugs@httpd.apache.org
          Reporter: michal.baba...@gmail.com
  Target Milestone: ---

Created attachment 35785
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35785&action=edit
CMakeLists.txt.patch

The 2.4.x branch has been requiring this patch for me to build on Windows with
mod_http2: [1]. When I try without it, I get:

> [ 54%] Building C object 
> CMakeFiles/mod_http2.dir/modules/http2/mod_http2.c.obj
> mod_http2.c
> C:\workspace\workspace\httpd-windows\label\w2k12r2\modules\http2\mod_http2.c(30):
>  fatal error C1083: Cannot open include file: 'nghttp2/nghttp2.h': No such 
> file or directory

So, unless my nghttp2 package I build [2] arranges header files in a fashion
httpd does not expect, this is a bug. The fix that helps me:

+SET(mod_http2_extra_includes         ${NGHTTP2_INCLUDE_DIR})

WDYT? 

[1]
https://raw.githubusercontent.com/modcluster/ci.modcluster.io/master/windows/httpd/httpd-2.4.29_CMakeLists.txt.patch
[2]
https://ci.modcluster.io/job/nghttp2-windows/2/label=w2k12r2/artifact/nghttp2-v1.27.0-e8907a0-64.zip

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to