[rt-users] A newbie install question - FormatText/font metrics

Jay R. Ashworth jra at baylink.com
Thu Mar 27 09:43:15 EDT 2008


Yes... I'm a newbie for the third or fourth time, now.  :-)

3.6.6; slack 12

testdeps is failing HTML::FormatText; the tests there are failing
because:

================================================================
cpan[5]> install HTML::FormatText
Running install for module 'HTML::FormatText'
Running make for S/SB/SBURKE/HTML-Format-2.04.tar.gz
  Has already been unwrapped into directory
/root/.cpan/build/HTML-Format-2.04-Xexmwz
  Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/ps........1/4 Can't locate Font/Metrics/TimesRoman.pm in @INC (@INC
contains: /root/.cpan/build/HTML-Format-2.04-Xexmwz/blib/lib
/root/.cpan/build/HTML-Format-2.04-Xexmwz/blib/arch
/usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at
/root/.cpan/build/HTML-Format-2.04-Xexmwz/blib/lib/HTML/FormatPS.pm
line 385.
t/ps........ Dubious, test returned 2 (wstat 512, 0x200)
 Failed 3/4 subtests
t/rtf.......ok
t/text......ok

Test Summary Report
-------------------
t/ps.t  (Wstat: 512 Tests: 1 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 4 tests but ran 1.
Files=3, Tests=10,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.32 cusr
0.04 csys =  0.40 CPU)
Result: FAIL
Failed 1/3 test programs. 0/10 subtests failed.
================================================================

I'm not sure what is supposed to provide the font metrics files, but a
locate says:

root at network_doctor:/appl/downloads/rt-3.6.6# locate TimesRoman.pm
/root/.cpan/build/Font-AFM-1.19-HYV3Mf/blib/lib/Font/Metrics/TimesRoman.pm
/root/.cpan/build/Font-AFM-1.19-HYV3Mf/lib/Font/Metrics/TimesRoman.pm
/root/.cpan/build/Font-AFM-1.19-hkL_yy/blib/lib/Font/Metrics/TimesRoman.pm
/root/.cpan/build/Font-AFM-1.19-hkL_yy/lib/Font/Metrics/TimesRoman.pm
/root/.cpan/build/Font-AFM-1.19-2VaIXZ/blib/lib/Font/Metrics/TimesRoman.pm
/root/.cpan/build/Font-AFM-1.19-2VaIXZ/lib/Font/Metrics/TimesRoman.pm

Presumably Font::AFM was a dependency of some top-level RT dep.

I tried manually installing it, and it skipped one test for no apparent
reason:

================================================================
Manifying blib/man3/Font::AFM.3
  GAAS/Font-AFM-1.19.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/afm........skipped: (no reason given)
t/times......ok

Test Summary Report
-------------------
t/afm.t  (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
  Parse errors: Bad plan.  You planned 0 tests but ran 1.
Files=2, Tests=3,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.02 cusr
0.01 csys =  0.05 CPU)
Result: FAIL
Failed 1/2 test programs. 1/3 subtests failed.
================================================================

I know this is, strictly speaking, Perl/CPAN trouble, but I also figure
it's RT, and you guys are the ones voted most likely to have a snap
answer.

Any pointers?

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)



More information about the rt-users mailing list