On 3/15/07, Beginner <[EMAIL PROTECTED]> wrote:
I have hit an error while trying to install Sys::Gamin. I can can run make but the `make test` is failing.
BEGIN failed--compilation aborted at t/gamin.t line 2. t/gamin....dubious Test returned status 2 (wstat 512, 0x200) FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2
Does anyone know what I am missing?
Yes: the output of the test script. :-) Frequently, when the test program fails during a BEGIN with no standard output, that's because a 'use' directive or something similar was unable to load the requested code. Alas, we don't know why it failed, because the test harness wasn't kind enough to tell us. But you don't have to use the test harness. The trick is to run the test programs manually. You can probably see in the output of 'make test' the command line that 'make test' used to invoke the test program; by using that or a similar invocation you should be able to see the diagnostic message. (That invocation includes command-line options to load the module from the build directory, among other options.) Armed with that diagnostic message, you'll have a fighting chance at fixing the problem. Good luck with it! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/