Because of some trouble on another project, I wanted to recheck
the current nghttp2 build between our mutual dependencies and
httpd... and something isn't looking so healthy in the CMake
build of the last release. (But I did answer my question, bazel
shouldn't be failing to build nghttp2, it is rock hard stable in terms
of building rev 1.39.1) CMake is rev 3.9.4 in this example of our
build below.

Just as an aside this is all a byproduct of the mak/Makefile.build-win
script of https://github.com/appsuite/oss-httpd-build if anyone wants
to replicate. Sadly, the gather and preconfig steps still require WSU
- some unix on top of Windows for a bash environment. But that
build-win nmake logic is what gets us to this...

        cd httpd-2.4.39 &&  cmake -G "NMake Makefiles" -D
CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_COLOR_MAKEFILE=OFF  -D
CMAKE_INSTALL_PREFIX=C:\Users\wrowe\dev\oss-httpd-build\dst\httpd-2.4.39-today
 C:\Users\wrowe\dev\oss-httpd-build\src/httpd-2.4.39 &&  cd ..
-- The C compiler identification is MSVC 19.11.25547.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found LibXml2:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libxml2.lib
(found version "2.9.9")
-- Found Lua51:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/lua.lib
-- Found OpenSSL:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libcrypto.lib
(found version "1.1.1c")
-- Found ZLIB:
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/zlib.lib
(found version "1.2.11")
-- Looking for APR_HAS_XLATE
-- Looking for APR_HAS_XLATE - found
-- Performing Test APR_HAS_XLATE
-- Performing Test APR_HAS_XLATE - Failed
-- Looking for APU_HAVE_CRYPTO
-- Looking for APU_HAVE_CRYPTO - found
-- Performing Test APU_HAVE_CRYPTO
-- Performing Test APU_HAVE_CRYPTO - Success
-- Performing Test APR_HAS_LDAP
-- Performing Test APR_HAS_LDAP - Success
--
-- Summary of feature detection:
--
-- LIBXML2_FOUND ............ : TRUE
-- LUA51_FOUND .............. : TRUE
-- NGHTTP2_FOUND ............ : TRUE
-- OPENSSL_FOUND ............ : TRUE
-- ZLIB_FOUND ............... : TRUE
-- BROTLI_FOUND ............. : TRUE
-- APR_HAS_LDAP ............. : TRUE
-- APR_HAS_XLATE ............ : FALSE
-- APU_HAVE_CRYPTO .......... : TRUE
--
CMake Warning (dev) at CMakeLists.txt:520 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "i" will no longer be dereferenced when the policy
is
  set to NEW.  Since the policy is not set the OLD behavior will be used.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:572 (GET_TARGET_PROPERTY):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the
cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gen_test_char".  Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:111 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "i" will no longer be dereferenced when the policy
is
  set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:713 (GET_MOD_ENABLE_RANK)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- mod_charset_lite was requested but couldn't be built due to a missing
prerequisite (APR_HAS_XLATE)
--
--
-- Apache httpd configuration summary:
--
--   Build type ...................... : RelWithDebInfo
--   Install .pdb (if available)...... : ON
--   Install manual .................. : ON
--   Install prefix .................. :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today
--   C compiler ...................... : C:/Program Files (x86)/Microsoft
Visual
Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx64/x64/cl.exe
--   APR include directory ........... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/include
--   APR libraries ................... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libapr-1.lib;C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libaprutil-1.lib;C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/apr_ldap-1.lib
--   OpenSSL include directory ....... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/include
--   OpenSSL libraries ............... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libssl.lib;C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/libcrypto.lib
--   PCRE include directory .......... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/include
--   PCRE libraries .................. :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/pcre.lib
--   libxml2 iconv prereq include dir. :
--   libxml2 iconv prereq libraries .. :
--   Brotli include directory......... :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/include
--   Brotli libraries ................ :
C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/brotlienc.lib;C:/Users/wrowe/dev/oss-httpd-build/dst/httpd-2.4.39-today/lib/brotlicommon.lib
--   Extra include directories ....... :
--   Extra compile flags ............. :
--   Extra libraries ................. :
--   Modules built and loaded:
--     mod_access_compat
--     mod_auth_basic
--     mod_authn_core
--     mod_authn_file
--     mod_authz_core
--     mod_authz_groupfile
--     mod_authz_host
--     mod_authz_user
--     mod_filter
--     mod_reqtimeout
--     mod_autoindex
--     mod_mime
--     mod_log_config
--     mod_alias
--     mod_dir
--     mod_env
--     mod_headers
--     mod_setenvif
--     mod_version
--   Modules built but not loaded:
--     mod_allowmethods
--     mod_auth_digest
--     mod_auth_form
--     mod_authn_anon
--     mod_authn_dbd
--     mod_authn_dbm
--     mod_authn_socache
--     mod_authnz_fcgi
--     mod_authnz_ldap
--     mod_authz_dbd
--     mod_authz_dbm
--     mod_authz_owner
--     mod_isapi
--     mod_cache
--     mod_cache_disk
--     mod_cache_socache
--     mod_file_cache
--     mod_socache_dbm
--     mod_socache_memcache
--     mod_socache_shmcb
--     mod_socache_redis
--     mod_heartbeat
--     mod_heartmonitor
--     mod_macro
--     mod_watchdog
--     mod_dbd
--     mod_dav_fs
--     mod_dav_lock
--     mod_dav
--     mod_dumpio
--     mod_brotli
--     mod_buffer
--     mod_deflate
--     mod_ext_filter
--     mod_include
--     mod_proxy_html
--     mod_ratelimit
--     mod_request
--     mod_sed
--     mod_substitute
--     mod_xml2enc
--     mod_asis
--     mod_cgi
--     mod_info
--     mod_status
--     mod_http2
--     mod_ldap
--     mod_log_debug
--     mod_log_forensic
--     mod_logio
--     mod_lua
--     mod_actions
--     mod_imagemap
--     mod_negotiation
--     mod_rewrite
--     mod_speling
--     mod_userdir
--     mod_vhost_alias
--     mod_expires
--     mod_remoteip
--     mod_unique_id
--     mod_usertrack
--     mod_lbmethod_bybusyness
--     mod_lbmethod_byrequests
--     mod_lbmethod_bytraffic
--     mod_lbmethod_heartbeat
--     mod_proxy_ajp
--     mod_proxy_balancer
--     mod_proxy
--     mod_proxy_connect
--     mod_proxy_express
--     mod_proxy_fcgi
--     mod_proxy_ftp
--     mod_proxy_http
--     mod_proxy_hcheck
--     mod_proxy_scgi
--     mod_proxy_wstunnel
--     mod_proxy_http2
--     mod_session
--     mod_session_cookie
--     mod_session_crypto
--     mod_session_dbd
--     mod_slotmem_plain
--     mod_slotmem_shm
--     mod_ssl
--   Modules not built:
--     mod_socache_dc
--     mod_bucketeer
--     mod_echo
--     mod_case_filter
--     mod_case_filter_in
--     mod_example_hooks
--     mod_example_ipc
--     mod_charset_lite
--     mod_data
--     mod_reflector
--     mod_cern_meta
--     mod_ident
--     mod_mime_magic
--     mod_dialup
--     mod_optional_fn_export
--     mod_optional_fn_import
--     mod_optional_hook_export
--     mod_optional_hook_import
-- Configuring done
CMake Error at CMakeLists.txt:761 (ADD_LIBRARY):
  Cannot find source file:

    modules/http2/h2_ngn_shed.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error: CMake can not determine linker language for target: mod_http2
CMake Error: Cannot determine link language for target "mod_http2".
CMake Error:
  Error evaluating generator expression:

    $<TARGET_PDB_FILE:mod_http2>

  TARGET_PDB_FILE is not supported by the target linker.

Reply via email to