Re: Fatal error: Command failed for target `test_dynamic"

Re: Fatal error: Command failed for target `test_dynamic"

am 01.07.2005 09:40:06 von Sisyphus

"Cathy Hui" wrote in message
news:1120153846.102581.63820@z14g2000cwz.googlegroups.com...

[snip]

> t/gd.............ok 6/11FAILED 7: -
> template text 2 did not match expected
>
> t/gd.............NOK 7

You need to delve into the code in t\gd.t and find out why test 7 failed. I
don't use CPAN/CPANPLUS, so for me it would be just a matter of editing
t\gd.t as I wanted and running:
perl -Mblib t\gd.t

There's no doubt a way of doing the same thing in the CPAN/CPANPLUS build
environment, but I don't know what it is. I would think that the same
command would work, but you might have to change directories (cd) to do it.

One of the alterations I would make to t\gd.t is to have it print out what
the "template text" of test 7 actually looked like (probably a 2, I guess),
and also have it print out what was "expected". Hopefully that info will
lead you to a resolution of the problem.

[snip]

> *** Error code 29
> make: Fatal error: Command failed for target `test_dynamic'
> /usr/ccs/bin/make test -- NOT OK
> Running make install
> make test had returned bad status, won't install without force
>

I believe there's a "force install" option you can exercise to force
installation of the module if you decide not to worry about that one failed
test.

Cheers,
Rob