You seem to be going the wrong way up a one way street.
The instructions your are following tell you how to COMPILE
You do not need to compile. Just download the ready-made version. Remember that Mint is Derived from Ubuntu. Try the Automatic Installer - http://hplipopensource.com/hplip-web/downloads.html
Note that is also says on this page:
"Manual Installation: The HPLIP Source Code Tarball (Only Recommended for Advanced Users
While this is the more traditional method to download and install HPLIP, it requires a degree of knowledge
that users new to Linux may find more difficult than they would prefer. It requires that you manually install dependencies and run build and install commands in a console/terminal. To use it, follow the directions at our Manual Installation Instructions page."