This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 7854e9ae5a [thirdparty](libgsasl) set include dir to enable to find 
gssapi.h (#15037)
7854e9ae5a is described below

commit 7854e9ae5ad6c398fc7b13da97946c2a193fecc9
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 1c83eb73ba..0ae62efbbe 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -1327,7 +1327,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