IT WORKS. I got the latest source code for HPLIP, installed the needed packages from the Mageia 4 repositories, compiled the code, and installed it. The URL to start with for HPLIP is
https://launchpad.net/hplip .
After downloading the source as either a tar ball, or a run file, and recovering the files, look at the manual installation instructions at
http://hplipopensource.com/hplip-web/install/manual/index.html . There is a list of Linux distributions. The distro closest to Mageia is the Mandriva distro. I looked at those instructions. I had to modify the packages to install. Not all of the package names are still the same in the two distributions. I also had to change the package names to build the 64 bit versions.
cups-devel became lib64cups2-devel, and lib64cups2
dbus-devel became lib64dbus-devel
libdbus-1-devel became lib64dbus1_3. (There is no package with "dbus-1" in the package name.)
openssl-devel became lib64openssl-devel
jpeg-devel became lib64jpeg-devel
net-snmp-devel became lib64net-snmp-devel
glibc_lsb became lib64glibc_lsb
gphoto2-devel is more complicated (Mageia4 does not have a gphoto2-devel package.)
(gphoto2, lib64gphoto-devel, lib64gphoto6, and libgphoto-common are installed.)
usb1.0-devel became lib64usb1.0-devel, and lib64usb1.0_0.
policykit, and policykit-gnome became eight packages name *polkit*.
python-devel became lib64python-devel
libsane1 became lib64sane1, and lib64sane-devel.
I followed the rest of the instructions, without any compile or installation issues.
I printed a few things with no problems.