I haven't used cpanm, but there must be a way to turn on VERBOSE for a more detailed error message.
When I have issues with module builds, I will cd to the build directory and run
.
If there are a lot of test in the t directory, I might even debug the single test.
Some tests will fail and if I determine that is not an issue in my env I will force an install. I often do
this with DBD::Oracle. Not a direct answer, just thought I'd give you some debugging options.