Re: install fails for Inline::C (hide errors)by tye (Cardinal)
|on Mar 13, 2013 at 05:41 UTC||Need Help??|
It is quite sad that the test harness actively hides the actual error message and replaces it with a bunch of details that are usually rather useless (and, IME, often actually incorrect).
If you learn how to do the rather simple steps to install a module without using all of the automation, then it becomes trivial to run t/01syntax.t directly so you can see the error message.
It looks like CPAN.pm is running App::Prove for you so you might be able to read enough documentation in order to figure out how to tell Prove to just show you all of the test results instead of summarizing them (badly) or some other way to get at the error message.
Maybe ExtUtils::Command::MM even documents its test_harness method.
Without the real error message, everybody is reduced to rather wild guessing just based on the fact that all of the tests are failing. So something is likely going wrong with just trying to load the module. Somebody who has seen a similar-looking failure can guess that something that they did might also work for you.
But I'd certainly go find the real error. Doing that is how one learns to diagnose problems which can be a very valuable skill to build, IME.