2016-08-03 8 views
0

Windows上でperlで使用します。エラーインストールして、私が試してみました

  • メニュー開始に:CPAN Client
  • install Alien::SDL SDL
  • iが64ビットを選択し、長い間、エラーの後: enter image description here

何が間違っていますか?それは簡単なようだが、それは

ので

私は試したことがないのです。cpan -i --force SDL

エラーなし、しかし、私はもうパドレを実行することはできません:/ iが(SDLコードプログラムで)perl name.plを試してみて、それが与える:

Windows 7の 'CMD' で

enter image description here

cpan -i SDL、それは(最後の部分)私を与える:

<pre> 
t\sdlx_controller_interface.t ... ok 
t\sdlx_fps.t .................... ok 
t\sdlx_layermanager.t ........... ok 
t\sdlx_music.t .................. ok 
t\sdlx_rect.t ................... ok 
t\sdlx_sfont.t .................. ok 
t\sdlx_sound.t .................. ok 
t\sdlx_sprite.t ................. ok 
t\sdlx_sprite_animated.t ........ ok 
t\sdlx_surface.t ................ ok 
t\sdlx_text.t ................... ok 
t\sdlx_validate.t ............... ok 
t\smpeg.t ....................... skipped: smpeg support not compiled 
t\ttf.t ......................... ok 
t\ttf_font.t .................... ok 

Test Summary Report 
------------------- 
t\core.t      (Wstat: 0 Tests: 28 Failed: 0) 
    TODO passed: 21-22 
t\core_video.t    (Wstat: 768 Tests: 71 Failed: 0) 
    TODO passed: 57, 59 
    Non-zero exit status: 3 
    Parse errors: No plan found in TAP output 
Files=59, Tests=3788, 188 wallclock secs (0.56 usr + 0.08 sys = 0.64 CPU) 
Result: FAIL 
Failed 1/59 test programs. 0/3788 subtests failed. 
    FROGGS/SDL-2.546.tar.gz 
    E:\_win_7\Dwimperl\perl\bin\perl.exe ./Build test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports FROGGS/SDL-2.546.tar.gz 
Running Build install 
    make test had returned bad status, won't install without force 

だから... ...私は試してみました "CPANを-i SDL --force"

います:

Test Summary Report 
------------------- 
t\core.t      (Wstat: 0 Tests: 28 Failed: 0) 
    TODO passed: 21-22 
t\core_video.t    (Wstat: 768 Tests: 71 Failed: 0) 
    TODO passed: 57, 59 
    Non-zero exit status: 3 
    Parse errors: No plan found in TAP output 
Files=59, Tests=3788, 147 wallclock secs (0.47 usr + 0.13 sys = 0.59 CPU) 
Result: FAIL 
Failed 1/59 test programs. 0/3788 subtests failed. 
    FROGGS/SDL-2.546.tar.gz 
    E:\_win_7\Dwimperl\perl\bin\perl.exe ./Build test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
    reports FROGGS/SDL-2.546.tar.gz 
Running Build install 
    make test had returned bad status, won't install without force 
Warning: Cannot install --force, don't know what it is. 
Try the command 

    i /--force/ 

to find objects with matching identifiers. 
+0

何を? – ssr1012

答えて

-1

をだから私が試していない:

cpan -i --force SDL 

ませ誤差を、私はできませんもはやパドレを実行する。私は(SDLコードプログラムで)

perl name.pl 

を試してみましたが、それができます:PPMについて

enter image description here

+1

私はこれを質問に編集しました。これは答えではないので、これを削除してください – JHBonarius

関連する問題