in reply to
Installing IO::All fails
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 make test TEST_VERBOSE=1' .
If there are a lot of test in the t directory, I might even debug the single test.
perl -Mblib -d t/sometest.t
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.