-1
cpan Font::TTF
でモジュールのインストールに失敗しました。 私はstrawberry perl 5.24、windows 8 32bitです。フォント:: TTFモジュールのインストールに問題があります。
C:\Users\user>cpan
Loading internal null logger. Install Log::Log4perl for logging messages
There seems to be running another CPAN process (pid 5860). Contacting...
Other job not responding. Shall I overwrite the lockfile 'C:\STRAWB~1\cpan\.lock
'? (Y/n) [y]
cpan shell -- CPAN exploration and modules installation (v2.11)
Enter 'h' for 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 for logging messages
CPAN: CPAN::SQLite loaded ok (v0.211)
Database was generated on Fri, 15 Jul 2016 06:47:48 GMT
Running install for module 'Font::TTF'
CPAN: Digest::SHA loaded ok (v5.95)
CPAN: Compress::Zlib loaded ok (v2.069)
Checksum for 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 with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Font::TTF
Writing MYMETA.yml and MYMETA.json
MHOSKEN/Font-TTF-1.05.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for 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 to install
the 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 .) at
t/tags.t line 5.
BEGIN failed--compilation aborted at 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 to 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 .) at t/tt
fcopy.t line 5.
BEGIN failed--compilation aborted at 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. You planned 6 tests but ran 0.
t/ttfcopy.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but 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// to see the cpan-testers results for installing this module, try:
reports MHOSKEN/Font-TTF-1.05.tar.gz
Stopping: 'install' failed for 'Font::TTF'.
C:\Users\user>
コマンドラインからテキストをコピーし、写真の代わりに質問にコードとして貼り付けてください。 –
*ヘッドスピン* イメージを落としても、尋ねていることを明確にしてください。 OSと関連するバージョン番号を含めてください。 – Ares
「既にあります」というメッセージは、完全な画像が表示されていないことを示しています。 'cpan'の中から以下の2つのコマンドを発行してください:' conf build_dir_reuse 0 '' confconf'。次に 'cpan'を再起動して、やり直してください。そして、出力を画像ではなくテキストとして投稿してください。 – ikegami