Closed 1265578519 closed 2 months ago
目前已知不启用-DENABLE_BROTLI和-DZSTD_DIR编译选项,可以正常编译,一旦cmake中包含这两个选项就会失败,成功编译的信息如下
[ 98%] Building CXX object CMakeFiles/kangle.dir/src/windows_service.cpp.o
[ 98%] Building CXX object CMakeFiles/kangle.dir/src/work.cpp.o
[ 98%] Building CXX object CMakeFiles/kangle.dir/khttpd/davlib/KXml.cpp.o
[ 98%] Building CXX object CMakeFiles/kangle.dir/khttpd/davlib/KXmlDocument.cpp.o
[100%] Building CXX object CMakeFiles/kangle.dir/khttpd/davlib/KXmlContext.cpp.o
[100%] Building CXX object CMakeFiles/kangle.dir/khttpd/davlib/KXmlException.cpp.o
[100%] Linking CXX executable kangle
[100%] Built target kangle
[root@CentOS-79-64-minimal build]# make install
[ 1%] Built target boost_context
[ 19%] Built target khttpd
[ 76%] Built target kangle
[ 83%] Built target extworker
[ 84%] Built target vhs_sqlite
[ 86%] Built target testdso
[ 89%] Built target filter
[ 91%] Built target davlib
[ 91%] Built target server_example
[ 92%] Built target webdav_client_example
[ 98%] Built target webdav
[100%] Built target test_child
Install the project...
-- Install configuration: ""
-- Installing: /vhs/kangle/bin/extworker
-- Set runtime path of "/vhs/kangle/bin/extworker" to ""
-- Installing: /vhs/kangle/bin/vhs_sqlite.so
-- Set runtime path of "/vhs/kangle/bin/vhs_sqlite.so" to ""
-- Installing: /vhs/kangle/bin/kangle
-- Set runtime path of "/vhs/kangle/bin/kangle" to ""
-- Installing: /vhs/kangle/include/ksapi.h
-- Installing: /vhs/kangle/include/kfeature.h
-- Installing: /vhs/kangle/include/kforwin32.h
-- Installing: /vhs/kangle/include/kasync_config.h
-- Installing: /vhs/kangle/include/khttp.h
-- Installing: /vhs/kangle/webadmin
-- Installing: /vhs/kangle/webadmin/core.whm
-- Installing: /vhs/kangle/webadmin/main.css
-- Installing: /vhs/kangle/webadmin/lang_tw.xml
-- Installing: /vhs/kangle/webadmin/lang.xml
-- Installing: /vhs/kangle/webadmin/obj.html
-- Installing: /vhs/kangle/webadmin/lang_en.xml
-- Installing: /vhs/kangle/webadmin/logo.gif
-- Installing: /vhs/kangle/webadmin/lang_zh.xml
-- Installing: /vhs/kangle/etc/config-default.xml
-- Installing: /vhs/kangle/bin/webdav.so
-- Installing: /vhs/kangle/bin/test_child
-- Set runtime path of "/vhs/kangle/bin/test_child" to ""
[root@CentOS-79-64-minimal build]# /vhs/kangle/bin/kangle -v
kangle/3.6.0(web) build with support: ipv6 ssl[SNA] h2 proxy big-object-206 disk-cache debug
pcre version: 8.32 2012-11-30
openssl version: OpenSSL 1.0.2k-fips 26 Jan 2017
[root@CentOS-79-64-minimal build]#
已修复
开-DZSTD_DIR编译选项也是一直报错,已确认文件在/usr/include/zstd.h