I ran this:
perl -MCPAN -e 'force install Template'

[cut a bunch of junk that doesn't matter]

Failed 1/90 test scripts, 98.89% okay. 1/2459 subtests failed, 99.96% okay.
make: *** [test_dynamic] Error 29
  /usr/local/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I dunno what the deal is, I passed force, and it gave me the above error. I sent the build log. The only failure was that one Date test.

I installed by dropping to CPAN shell and doing everything manually (as Jeff Anderson suggested).

Perhaps force doesn't work outside of a CPAN shell?

Mark Mills wrote:
FWIW I tried that.

using force with install forces an already installed package/updated package to be rebuilt. It will still run the tests and bomb out when they fail.

make install implies make test, force will just force each step. :(


I use force install all the time to push past the make test failure.

The make test stage may bomb but the make install should still work!

The CPAN module builds a module by basically running these four
commands with suitable arguments:

 perl Makefile.PL
 make
 make test
 make install

The force command really just means it does make install after the
make test no matter what gets returned. If this didn't work for you
then something else is up... because that is how I installed Template
on the last two boxes I put it on. Can you try that force again? How
does it bomb?

In my case, thanks to locale settings it would bomb on date calcs and
on that format %S AFAIR and nothing else. And all I did was a force
to get it going again.

If the _make_ is failing then the whole thing will bomb, but that is
usually an important clue that people don't miss. :)

--mark mills
Xodiax Engineering


--
Bryan Whitehead
SysAdmin - JPL - Interferometry and Large Optical Systems
Phone: 818 354 2903
[EMAIL PROTECTED]

Attachment: build.log.gz
Description: application/gzip



Reply via email to