Hello. Same error on Ubuntu 16.04.2 LTS x64
But I think I've found a workaround for me: 1. Make sure that ${IMPALA_HOME}/common/thrift/ folder contains CMakeLists.txt and necessary thrift files. 2. Now run a cmake_only build via ${IMPALA_HOME}/buildall.sh -cmake_only 3. In thrift common folder call $ make 4. Now check ${IMPALA_HOME}/be/generated-sources/gen-cpp folder for code-generated files. 5. Then run noclean build ${IMPALA_HOME}/buildall.sh -noclean -skiptests -format On 2018/04/04 18:33:43, "Yang Su" <yang...@gmx.ch> wrote: > Dear all, > > I try to build impala on a Ubuntu box: 16.04.1-Ubuntu x86_64. > > I ran bin/bootstrap_development.sh. It failed with the following error > message: > > [ 17%] Building CXX object > be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/protoc-gen-krpc.cc.o > [ 17%] Building CXX object > be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o > In file included from /home/ysu/Impala/be/src/common/kudu_version.cc:20:0: > /home/ysu/Impala/be/src/common/status.h:28:50: fatal error: > gen-cpp/Status_types.h: No such file or directory > #include "gen-cpp/Status_types.h" // for TStatus > ^ > compilation terminated. > be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/build.make:86: recipe for > target > 'be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o' > failed > make[2]: *** > [be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/__/__/common/kudu_version.cc.o] > Error 1 > CMakeFiles/Makefile2:3261: recipe for target > 'be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/all' failed > make[1]: *** [be/src/kudu/rpc/CMakeFiles/protoc-gen-krpc.dir/all] Error 2 > Makefile:94: recipe for target 'all' failed > make: *** [all] Error 2 > Error in /home/ysu/Impala/bin/make_impala.sh at line 178: ${MAKE_CMD} > ${MAKE_ARGS} > > > It seems that gen-cpp directory is not properly populated. Has anyone > encountered the same problem and how did you solve it? > > Thank you and best regards, > Yang >