Here's the short-term fix if someone would apply it to trunk and 2.4 branch,
it seems a stale password locked me out of https://svn.a.o/
mod_md needs private mpm_winnt.h internals, and we cannot iterate a
_requires list yet.
Index: httpd-2.x/CMakeLists.txt
===================================================================
--- httpd-2.x/CMakeLists.txt (revision 1866089)
+++ httpd-2.x/CMakeLists.txt (working copy)
@@ -508,7 +508,9 @@
modules/lua/lua_vmprep.c modules/lua/lua_dbd.c
)
SET(mod_lua_requires LUA51_FOUND)
-SET(mod_md_requires OPENSSL_FOUND CURL_FOUND
JANSSON_FOUND HAVE_OPENSSL_102)
+# TODO: _requires does not currently iterate a list, substitute the
following once it does;
+# SET(mod_md_requires OPENSSL_FOUND CURL_FOUND
JANSSON_FOUND HAVE_OPENSSL_102)
+SET(mod_md_requires CURL_FOUND)
SET(mod_md_extra_includes ${OPENSSL_INCLUDE_DIR}
${CURL_INCLUDE_DIR} ${JANSSON_INCLUDE_DIR})
SET(mod_md_extra_libs ${OPENSSL_LIBRARIES}
${CURL_LIBRARIES} ${JANSSON_LIBRARIES} mod_watchdog)
SET(mod_md_extra_sources
@@ -763,6 +765,7 @@
${CMAKE_CURRENT_SOURCE_DIR}/modules/session
${CMAKE_CURRENT_SOURCE_DIR}/modules/ssl
${CMAKE_CURRENT_SOURCE_DIR}/server
+ ${CMAKE_CURRENT_SOURCE_DIR}/server/mpm/winnt
${APR_INCLUDE_DIR}
${PCRE_INCLUDE_DIR}
)
On Thu, Aug 29, 2019 at 11:38 AM William A Rowe Jr <[email protected]>
wrote:
> I have the immediate fix, can commit after lunch.
>
> The *right* fix is to iterate over the _require'ments list, I just took
> the shortcut of reducing this list to cmake (one of the most recent
> additions.) That patch will take a bit longer.
>
>
>
> On Thu, Aug 29, 2019 at 7:50 AM Stefan Eissing <
> [email protected]> wrote:
>
>> Please have a look at:
>> https://bz.apache.org/bugzilla/show_bug.cgi?id=63672
>>
>> I think this is what you are seeing. We seem to be still looking for the
>> cmake file that works well in all cases.
>>
>> > Am 29.08.2019 um 14:31 schrieb Steve Hay <[email protected]>:
>> >
>> > I'm getting errors about missing prerequisites when building
>> > httpd-2.4.41 on Windows using CMake (version 3.15.2).
>> >
>> > The modules in question are all optional so should simply be skipped
>> > rather than stopping the build (I'm building with -DENABLE_MODULES=a),
>> > but CMake is giving me an error:
>> >
>> > CMake Error at CMakeLists.txt:770 (IF):
>> > if given arguments:
>> >
>> > "NOT" "OPENSSL_FOUND" "CURL_FOUND" "JANSSON_FOUND"
>> > "HAVE_OPENSSL_102" "STREQUAL" ""
>> >
>> > Unknown arguments specified
>> >
>> > Building with the same command-line worked fine in 2.4.39:
>> >
>> > cmake -DCMAKE_INSTALL_PREFIX=D:\Dev\Temp\mp2\apache -G "NMake
>> > Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_MODULES=a
>> >
>> > Output is attached.
>> >
>> > Any ideas what is going wrong here?
>> > <out.txt>
>>
>>