How to fix "-bash: command not found" when compiling everything

Hi everyone
I hope you can help me, there is a screenshot which explains the issue, this is from [GitHub - cms-opendata-analyses/HiForestProducerTool at 2011]
2af4a4f54d48e009ae514a7b06e0662f2143e5fe

Hi!

It looks like you’ve cloned the code in the wrong directory.
It should be cloned in the CMSSW area of the container, i.e. in the default directory which, for that container, is ~/CMSSW_4_4_7/src
Otherwise, the CMS commands (such as scram b) won’t work.

Change to that directory with cd ~/CMSSW_4_4_7/src and do the git clone... command there.

Best, Kati

1 Like