Errors in running example B1

Hello,

After successfully installing geant4.10.07.p3 in centos 7, I am trying to run the example B1.

The cmake command was successfully executed inside the B1-build folder. However when I tried to do make I am getting some errors. I have attached the screenshot of the same. Please help.

Are you sure you have sourced your geant4 install?
try running this command then remaking the example

source path_to_geant4_build/bin/geant4.sh

yes I gave the command to source geant4 in B1-build directory before doing the make.

I gave the following command :

. /home/mustak/software/geant4/geant4.10.07.p03-install/bin/geant4.sh

and then I am running cmake and make inside B1-build directory.