...or install the current 4.8.x version rather than a version that's a couple of years old.

In any case, I would guess you do not have CUPS developer files installed (libcups-dev or whatever they are called on Ubuntu)