doris icon indicating copy to clipboard operation
doris copied to clipboard

Build failed in centos

Open crazy2323 opened this issue 5 years ago • 5 comments

[ 94%] Running C++ protocol buffer compiler on view.proto /bin/sh: --cpp_out: command not found make[2]: *** [tools/rpc_view/CMakeFiles/rpc_view.dir/build.make:62: tools/rpc_view/view.pb.cc] Error 127 make[1]: *** [CMakeFiles/Makefile2:532: tools/rpc_view/CMakeFiles/rpc_view.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Scanning dependencies of target parallel_http Scanning dependencies of target trackme_server Scanning dependencies of target rpc_replay Scanning dependencies of target rpc_press ...... ...... /opt/apache-doris-0.14.0-incubating-src/thirdparty/src/incubator-brpc-0.9.5/src/bvar/recorder.h:31:8: note: ‘struct bvar::Stat’ declared here 31 | struct Stat { | ^~~~ [ 95%] Linking CXX executable ../../output/bin/parallel_http [ 96%] Linking CXX executable ../../output/bin/trackme_server [ 97%] Linking CXX executable ../../output/bin/rpc_replay [ 98%] Linking CXX executable ../../output/bin/rpc_press [ 98%] Built target parallel_http [ 98%] Built target trackme_server [ 98%] Built target rpc_replay [ 98%] Built target rpc_press make: *** [Makefile:128: all] Error 2

crazy2323 avatar Aug 31 '21 02:08 crazy2323

You should post more build log

yangzhg avatar Sep 01 '21 06:09 yangzhg

upgrade gcc version

crazy2323 avatar Sep 01 '21 06:09 crazy2323

hi ,I met the same issue ,and also updated the gcc to version 8,but still got the issue, cloud give me some advise to solve it ?

bluemasion avatar Feb 11 '22 13:02 bluemasion

upgrade gcc version

hi ,I met the same issue ,and also updated the gcc to version 8,but still got the issue, cloud give me some advise to solve it ?

bluemasion avatar Feb 14 '22 08:02 bluemasion

use docker build

crazy2323 avatar Feb 14 '22 08:02 crazy2323