Same situation here, not able to use -mode=GenerateClangDatabase it complaints about not finding clang, which is insatlled.