You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Arnaud Grandville <ag...@gmail.com> on 2020/10/31 09:25:55 UTC

cmake windows APR-utils path missing

Hi all,
I guess path to apr-util is missing in the cmake build script for windows.

Steps to reproduce:
<From source file directory >
>cmake -B tmp32 -G "Visual Studio 15 2017"^
 -DOPENSSL_ROOT_DIR=D:/dev/openssl-1.1.1.x/out32dll.dbg^
 -DAPR_INCLUDE_DIR=D:/dev/apr/apr/out32.dbg/include^
 -DAPR_LIBRARIES=D:/dev/apr/apr/out32.dbg/lib/libapr-1.lib^
 -DLIBXML2_LIBRARY=D:/dev/libxml2/out32/lib/libxml2_a.lib^
 -DLIBXML2_INCLUDE_DIR=D:/dev/libxml2/out32/include/libxml2
>cmake --build tmp32 --config Debug

build failed with errors about apr-utils headers 
eg: 
D:\dev\apache\2.4.x\support\ab.c(141): fatal error C1083: Cannot open
include file: 'apr_base64.h': No such file or directory
d:\dev\apache\2.4.x\support\passwd_common.h(28): fatal error C1083: Cannot
open include file: 'apu_version.h': No such file or directory 

Would you accept a patch to add APU_INCLUDE_DIR and APU_LIBRARIES to the
build script ?

Regards,
Arnaud