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


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 6ea7b2ecfd [thirdparty](libgsasl) set include dir to enable to find 
gssapi.h (#15037)
6ea7b2ecfd is described below

commit 6ea7b2ecfd4f59772e3d3b794fe15fb78f5524b0
Author: Mingyu Chen <morning...@163.com>
AuthorDate: Wed Dec 14 12:07:13 2022 +0800

    [thirdparty](libgsasl) set include dir to enable to find gssapi.h (#15037)
    
    If not set, it can't find gssapi.h, which is generated by krb5.
    This will cause the libhdfs3 failed to visit hdfs with kerberos 
authentication
---
 thirdparty/build-thirdparty.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh
index 316f27c9f7..45200bf7ce 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -1321,7 +1321,7 @@ build_gsasl() {
         cflags='-Wno-implicit-function-declaration'
     fi
 
-    CFLAGS="${cflags}" ../configure --prefix="${TP_INSTALL_DIR}" 
--with-gssapi-impl=mit --enable-shared=no --with-pic 
--with-libidn-prefix="${TP_INSTALL_DIR}"
+    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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to