The most critical and most difficult parts were:
(1) getting all the libraries standard and -dev libraries needed to build HPLIB. The install routine works but you will need to probably rerun it several times as it finds another library dependency it needs and you don't have. Keep Synaptics package manager up until you get a clean build and are ready to install.
(2) Finding the correct libraries even with package manager can be a chore.