You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/04/06 07:04:13 UTC

[Bug 62266] New: facing issue with building apache for latest version 2.4.33

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

            Bug ID: 62266
           Summary: facing issue with building apache for latest version
                    2.4.33
           Product: Apache httpd-2
           Version: 2.4.33
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: rarathore@ptc.com
  Target Milestone: ---

Hi Team,

I am facing the issue while building apache on Window machine with the help of
apache source code and got below error


[ 92%] Building C object
CMakeFiles/mod_ssl.dir/modules/ssl/ssl_engine_init.c.obj
ssl_engine_init.c
C:\apacheBuild\apache2.4\build\httpd-2.4.33\modules\ssl\ssl_engine_init.c(33) :
fatal error C1083: Cannot open include file: 'mod_md.h': No such file or
directory
NMAKE : fatal error U1077: 'c:\PROGRA~2\MICROS~2.0\VC\bin\amd64\cl.exe' :
return code '0x2'
Stop.

I did some investigation and found that with new version of apache we added a
new module called mod_md which is experimental basis, I don’t know why
experimental module added as a dependency and it will cause a build failure,

Can you please help me out to fix above issue?

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


[Bug 62266] facing issue with building apache for latest version 2.4.33

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62266

--- Comment #3 from rajendra rathore <ra...@ptc.com> ---
Hi Rainer,

Thanks for your quick response, below fix work fine with Windows machine, I had
one question in next release fix will come out of the box or we need to again
add that property, Please confirm.

Thanks and Regards,
Rajendra Rathore

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


[Bug 62266] facing issue with building apache for latest version 2.4.33

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62266

rajendra rathore <ra...@ptc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |Windows 7

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


[Bug 62266] facing issue with building apache for latest version 2.4.33

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62266

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Rainer Jung <ra...@kippdata.de> ---
Thanks for testing.

I committed the change for trunk and 2.4.x today as r1828669 resp. r1828670. So
the fix will be part of all future versions starting with 2.4.34.

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


[Bug 62266] facing issue with building apache for latest version 2.4.33

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62266

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
This seems to be a cmake specific problem. Our CMakefile lacks adding
modules/md to the includes. The unix build files work.

You might want to test the following slight adjustment for the file
CMakeLists.txt in the top level source directory:

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 1828523)
+++ CMakeLists.txt      (working copy)
@@ -649,6 +649,7 @@
   ${CMAKE_CURRENT_SOURCE_DIR}/modules/dav/main
   ${CMAKE_CURRENT_SOURCE_DIR}/modules/filters
   ${CMAKE_CURRENT_SOURCE_DIR}/modules/generators
+  ${CMAKE_CURRENT_SOURCE_DIR}/modules/md
   ${CMAKE_CURRENT_SOURCE_DIR}/modules/proxy
   ${CMAKE_CURRENT_SOURCE_DIR}/modules/session
   ${CMAKE_CURRENT_SOURCE_DIR}/modules/ssl

I'm not sure, whether this is the right fix for cmake, but at least it should
work. Let us know your experience with it.

Regards,

Rainer

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


[Bug 62266] facing issue with building apache for latest version 2.4.33

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62266

--- Comment #2 from Rainer Jung <ra...@kippdata.de> ---
I should note: the problem and its fix are independent from whether you
actually want to build mod_md. Actually building mod_md is currently not
supported by our cmake files (but should be, but that's another topic).

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


[Bug 62266] cmake build for mod_ssl: Cannot open include file: mod_md.h in version 2.4.33

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62266

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|facing issue with building  |cmake build for mod_ssl:
                   |apache for latest version   |Cannot open include file:
                   |2.4.33                      |mod_md.h in version 2.4.33

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