perl - Trouble in installing Font::TTF module -
i failed install module through cpan font::ttf
. i'm on strawberry perl 5.24, windows 8 32bit.
c:\users\user>cpan loading internal null logger. install log::log4perl logging messages there seems running cpan process (pid 5860). contacting... other job not responding. shall overwrite lockfile 'c:\strawb~1\cpan\.lock '? (y/n) [y] cpan shell -- cpan exploration , modules installation (v2.11) enter 'h' help. cpan> o conf build_dir_reuse 0 build_dir_reuse [0] commit: wrote 'c:\strawberry\perl\lib/cpan/config.pm' cpan> o conf commit commit: wrote 'c:\strawberry\perl\lib/cpan/config.pm' cpan> exit lockfile removed. c:\users\user>cpan font::ttf loading internal null logger. install log::log4perl logging messages cpan: cpan::sqlite loaded ok (v0.211) database generated on fri, 15 jul 2016 06:47:48 gmt running install module 'font::ttf' cpan: digest::sha loaded ok (v5.95) cpan: compress::zlib loaded ok (v2.069) checksum c:\strawb~1\cpan\sources\authors\id\m\mh\mhosken\font-ttf- 1.05.tar. gz ok cpan: archive::tar loaded ok (v2.06) cpan: file::temp loaded ok (v0.2304) cpan: yaml::xs loaded ok (v0.62) cpan: cpan::meta::requirements loaded ok (v2.140) cpan: parse::cpan::meta loaded ok (v1.4417) cpan: cpan::meta loaded ok (v2.150005) cpan: module::corelist loaded ok (v5.20160507) configuring m/mh/mhosken/font-ttf-1.05.tar.gz makefile.pl checking if kit complete... looks generating dmake-style makefile writing makefile font::ttf writing mymeta.yml , mymeta.json mhosken/font-ttf-1.05.tar.gz c:\strawberry\perl\bin\perl.exe makefile.pl -- ok running make m/mh/mhosken/font-ttf-1.05.tar.gz mhosken/font-ttf-1.05.tar.gz c:\strawb~1\c\bin\dmake.exe -- ok running make test "c:\strawberry\perl\bin\perl.exe" "-mextutils::command::mm" "-mtest::harness" "- e" "undef *test::harness::switches; test_harness(0, 'blib\lib', 'blib\arch')" t/ *.t t/tags.t ..... can't locate font/ttf/ottags.pm in @inc (you may need install font::ttf::ottags module) (@inc contains: c:\strawb~1\cpan\build\font-ttf-1. 05-8dwsyh\blib\lib c:\strawb~1\cpan\build\font-ttf-1.05-8dwsyh\blib\arch c:/stra wberry/perl/site/lib c:/strawberry/perl/vendor/lib c:/strawberry/perl/lib .) @ t/tags.t line 5. begin failed--compilation aborted @ t/tags.t line 5. t/tags.t ..... dubious, test returned 2 (wstat 512, 0x200) failed 6/6 subtests t/ttfcopy.t .. can't locate font/ttf/font.pm in @inc (you may need install th e font::ttf::font module) (@inc contains: c:\strawb~1\cpan\build\font-ttf- 1.05-8 dwsyh\blib\lib c:\strawb~1\cpan\build\font-ttf-1.05-8dwsyh\blib\arch c:/strawber ry/perl/site/lib c:/strawberry/perl/vendor/lib c:/strawberry/perl/lib .) @ t/tt fcopy.t line 5. begin failed--compilation aborted @ t/ttfcopy.t line 5. t/ttfcopy.t .. dubious, test returned 2 (wstat 512, 0x200) failed 4/4 subtests test summary report ------------------- t/tags.t (wstat: 512 tests: 0 failed: 0) non-zero exit status: 2 parse errors: bad plan. planned 6 tests ran 0. t/ttfcopy.t (wstat: 512 tests: 0 failed: 0) non-zero exit status: 2 parse errors: bad plan. planned 4 tests ran 0. files=2, tests=0, 1 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 cpu) result: fail failed 2/2 test programs. 0/0 subtests failed. dmake.exe: error code 130, while making 'test_dynamic' mhosken/font-ttf-1.05.tar.gz c:\strawb~1\c\bin\dmake.exe test -- not ok //hint// see cpan-testers results installing module, try: reports mhosken/font-ttf-1.05.tar.gz stopping: 'install' failed 'font::ttf'. c:\users\user>
jiang bo, getting same problem latest strawberry perl version (5.24.0.1). downgraded 5.20.3.3 / 64bit , cpan installations work fine there.
Comments
Post a Comment