I used cpan rather than cpanm to install this successfully on Solaris, I don't have access to test this on Linux at the just at the moment, and the only Apple computer I own is 24 years old. Looking at the test matrix it would seem like there are problems building this module on your platform. Investigate the tests which throw legitimate complaints.