Another thing worth checking: bootstrap_development.sh invokes
bootstrap_system.sh that in turn does a git clone to ~/Impala and tries to
build there. My assumption is that you did a git clone to a different
directory, sourced configs there but then the bootstrap script tried to
build Impala in ~/Impala. I tend to comment out the git clone part of the
bootstrap_system.sh script (and the following line "cd ~/Impala"). Let me
know if this helps.

Cheers,
Gabor

On Wed, Apr 4, 2018 at 9:21 PM, Sailesh Mukil <[email protected]> wrote:

> Have you tried deleting the gen-cpp directory and rebuilding with
> "./buildall" ?
>
> On Wed, Apr 4, 2018 at 11:33 AM, Yang Su <[email protected]> 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
> >
>

Reply via email to