This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit a23c71be1ab7ab3b6277bd93cf454a4f7600c692 Author: Mingyu Chen <[email protected]> AuthorDate: Wed Jan 11 09:07:46 2023 +0800 [chore](thirdparty) fix bug that GSSAPI of libgsasl is disabled (#15753) In #15037, I modified the build script of libgsasl to enable GSSAPI, but it is still wrong, because the PATH does not include the `thirdparty/installed/bin`, so when building libgsasl, it will report error: `WARNING: MIT Kerberos krb5-config not found, disabling GSSAPI` but `krb5-config` is in `thirdparty/installed/bin`. Without GSSAPI, the libhdfs3 can not access hdfs with kerberos authentication. --- thirdparty/build-thirdparty.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh index 641a870350..3ce02c0248 100755 --- a/thirdparty/build-thirdparty.sh +++ b/thirdparty/build-thirdparty.sh @@ -1333,7 +1333,9 @@ build_gsasl() { cflags='-Wno-implicit-function-declaration' fi - CFLAGS="${cflags} -I${TP_INCLUDE_DIR}" ../configure --prefix="${TP_INSTALL_DIR}" --with-gssapi-impl=mit --enable-shared=no --with-pic --with-libidn-prefix="${TP_INSTALL_DIR}" + KRB5_CONFIG="${TP_INSTALL_DIR}/bin/krb5-config" \ + CFLAGS="${cflags} -I${TP_INCLUDE_DIR}" \ + ../configure --prefix="${TP_INSTALL_DIR}" --with-gssapi-impl=mit --enable-shared=no --with-pic --with-libidn-prefix="${TP_INSTALL_DIR}" make -j "${PARALLEL}" make install --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
