Hi Reed, I am traveling just now so away from the desktop that I tested the build on. I setup a clean virtual machine with Ubuntu 18.04 and tried from scratch, resulting in a perfect build. So must be something funky with my configuration back at base - it's been upgraded a few times, so sorry for the hassle.
(NOTE: I tried to build on a remote Ubuntu 18.10 at first getting a different error but it made sense due to the 3rd-party LLVM fails due to ustat depreciation in glibc). So +1 (binding) to the release. Cheers, Dave On Thu, 27 Dec 2018 at 12:13, Li,De(BDG) <l...@baidu.com> wrote: > Hi Dave, > > Thanks for your reply. > > The files of flat_map.h and json_to_pb.h are come from brpc, which should > be installed in thirdparty/installed/include. > > > It seems brpc is not been compiled and installed successfully. > > Could you remove brpc and retry build as following command ? It will help > us to know what happed. > > > $ cd > /home/dmeikle/Development/Apache/incubator/release-review/apache-doris-0.9. > 0.rc01-incubating-src > $ rm -f thirdparty/installed/lib/librdkafka.a > $ rm -fr thirdparty/src/brpc-0.9.0* > $ sh build.sh > > Regards, > Reed > > On 2018/12/27 下午6:33, "David Meikle" <loo...@gmail.com> wrote: > > >Hi Reed, > > > >> On 27 Dec 2018, at 03:00, Li,De(BDG) <l...@baidu.com> wrote: > >> > >> Thanks to David, could you provide the detail for failure, actually, we > >> expect building is OK if following tools installed on Ubuntu. > >> > >> GCC 5.3.1+, Oracle JDK 1.8+, Python 2.7+, Apache Maven 3.5+, CMake > >>3.4.3+ > >> > >> > >> Best Regards, > >> Reed > > > > > > > >I get the following errors: > > > >-- CLANG_COMPATIBLE_FLAGS: -I/usr/include/c++/7 > >-I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward > >-I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include > >-I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed > >-I/usr/include/x86_64-linux-gnu -I/usr/include > >-- Configuring done > >-- Generating done > >-- Build files have been written to: > >/home/dmeikle/Development/Apache/incubator/release-review/apache-doris-0.9 > >.0.rc01-incubating-src/be/build > >[ 1%] Built target gen_ir_descriptions > >[ 2%] Built target Udf > >[ 3%] Built target Common > >[ 14%] Built target Util > >[ 23%] Built target Exprs > >[ 32%] Built target Gutil > >[ 46%] Built target DorisGen > >[ 48%] Built target Agent > >[ 48%] Building CXX object > >src/http/CMakeFiles/Webserver.dir/ev_http_server.cpp.o > >[ 49%] Building CXX object > >src/olap/CMakeFiles/Olap.dir/olap_header_manager.cpp.o > >In file included from > >/home/dmeikle/Development/Apache/incubator/release-review/apache-doris-0.9 > >.0.rc01-incubating-src/be/src/http/ev_http_server.cpp:31:0: > >/home/dmeikle/Development/Apache/incubator/release-review/apache-doris-0.9 > >.0.rc01-incubating-src/be/src/service/brpc.h:50:10: fatal error: > >butil/containers/flat_map.h: No such file or directory > > #include <butil/containers/flat_map.h> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >compilation terminated. > >src/http/CMakeFiles/Webserver.dir/build.make:350: recipe for target > >'src/http/CMakeFiles/Webserver.dir/ev_http_server.cpp.o' failed > >make[2]: *** [src/http/CMakeFiles/Webserver.dir/ev_http_server.cpp.o] > >Error 1 > >CMakeFiles/Makefile2:581: recipe for target > >'src/http/CMakeFiles/Webserver.dir/all' failed > >make[1]: *** [src/http/CMakeFiles/Webserver.dir/all] Error 2 > >make[1]: *** Waiting for unfinished jobs.... > >[ 49%] Building CXX object src/olap/CMakeFiles/Olap.dir/olap_meta.cpp.o > >/home/dmeikle/Development/Apache/incubator/release-review/apache-doris-0.9 > >.0.rc01-incubating-src/be/src/olap/olap_header_manager.cpp:30:10: fatal > >error: json2pb/json_to_pb.h: No such file or directory > > #include "json2pb/json_to_pb.h" > > ^~~~~~~~~~~~~~~~~~~~~~ > >compilation terminated. > >src/olap/CMakeFiles/Olap.dir/build.make:806: recipe for target > >'src/olap/CMakeFiles/Olap.dir/olap_header_manager.cpp.o' failed > >make[2]: *** [src/olap/CMakeFiles/Olap.dir/olap_header_manager.cpp.o] > >Error 1 > >make[2]: *** Waiting for unfinished jobs.... > >CMakeFiles/Makefile2:471: recipe for target > >'src/olap/CMakeFiles/Olap.dir/all' failed > >make[1]: *** [src/olap/CMakeFiles/Olap.dir/all] Error 2 > >Makefile:129: recipe for target 'all' failed > >make: *** [all] Error 2 > > > >Cheers, > >Dave > >