Semon120 commented on pull request #4695:
URL: https://github.com/apache/incubator-doris/pull/4695#issuecomment-772989271


   > > > @morningman Hello,I have download the libevent from this 
url:https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip.But
 when I run build.sh,it seems when compile this 
'be/src/http/ev_http_server.cpp' file,it occurs an error: 
"../src/http/ev_http/ev_http_server.cpp:252:69: error: 
'evhttp_request_set_on_free_cb' was not decalred in this scope".It seems like 
that libevent do not have definition of function 
'evhttp_request_set_on_free_cb'.Then I read the source code of libevent,and I 
do not find this function definition in file 'event2/http.h'.So ,did I get 
wrong version of libevent(but I did download from that url above)?My Doris 
version is 0.13.15-release. Do you have any idea?Thanks.
   > > 
   > > 
   > > It seems that evhttp free callback was added
   > > in this 
[libevent/libevent@63a6193](https://github.com/libevent/libevent/commit/63a61932f5906929fc83370725c83f4ea4c6e7e4)
 commit. But it was not merge to master.So,please make sure this source 
https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip
 contain this commit.
   > 
   > We had a patch here: `thirdparty/patches/libevent_on_free_cb.patch`
   > When you run `sh build-thirdparty.sh`, this patch should be applied 
automatically.
   
   Oh!!!Thanks!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to