I've had missing dependencies before when building libraries. They usually just exit like this without any help, unfortunately. Once I installed the missing dependency, the program built no problem.
Well extremely bad programming then it should fail with an error telling you the dependency is missing so it gives you a clue as to what is needed to get it running.
Edit: And I fail to see how a
warning: missing braces around initializer for gets solved by installing a dependency unless of course the parsing of the source file changes depending on the version of dependency installed..