Serial port problems installing Misterhouse on Beaglebone Bone black

I’m installing misterhouse ( on the standard debian build (3.8.13) on a beaglebone black and struggling. Misterhouse is a Smart Home package that is written in Perl
My current problem is that during the initialization of the serial port it cannot find, and
The version of Perl it needed was 5.20 as my code uses File::Copy which only came in with 5.20. I also have tried 5.14.2.
In other posts it recommends you run h2ph once you have found the .h versions of these files, unfortunately I cannot locate ttycom.h and in any case when I try to run h2ph I get an error ‘require’
can anyone help?
Would using the ubuntu build be better?