Vimana使ってみた、、い
Vim script manager「Vimana」が便利すぎる。
を見てインストールしてみました。
# git clone git://github.com/c9s/Vimana # cd Vimana # perl Makefile.PL # make
で、makeファイルねーよと言われてしまった。
id:mattn さんからのアドバイスで、incディレクトリを消したら、Module::AutoInstallが無いと怒られてしまった。
id:TakiTake incディレクトリを消してperl Makefile.PLすると行けたりもします。
git cloneからやり直そうとしたら、現在(2010/02/04 12:10) github落ちてるみたい。
CPANからのインストールを試みるも失敗。
こっちも、makeファイル無いってエラーなのか?
# cpan Vimana
CPAN: Storable loaded ok (v2.21) Going to read '/root/.cpan/Metadata' Database was generated on Wed, 03 Feb 2010 22:45:58 GMT CPAN: YAML loaded ok (v0.71) Going to read 120 yaml files from /root/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9719) ......DONE Restored the state of 1 (in 5.8001 secs) Running install for module 'Vimana' Running make for C/CO/CORNELIUS/Vimana-2010.03419.tar.gz Prepending /root/.cpan/build/App-Context-0.967-85imJq/blib/arch /root/.cpan/build/App-Context-0.967-85imJq/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /root/.cpan/build/Vimana-2010.03419-cfAjBm Prepending /root/.cpan/build/App-Context-0.967-85imJq/blib/arch /root/.cpan/build/App-Context-0.967-85imJq/blib/lib to PERL5LIB for 'make' Has already been made Prepending /root/.cpan/build/App-Context-0.967-85imJq/blib/arch /root/.cpan/build/App-Context-0.967-85imJq/blib/lib to PERL5LIB for 'test' Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-commands.t t/00-install.t t/00-load.t t/00-path.t t/00-update.t t/01-package.t t/01-record.t t/accessor.t t/installer-makefile-2.t t/installer-makefile-3.t t/installer-makefile.t t/00-commands.t ........... ok t/00-install.t ............ ok t/00-load.t ............... 1/6 # Testing Vimana 2010.03419, Perl 5.010000, /usr/bin/perl t/00-load.t ............... ok t/00-path.t ............... ok t/00-update.t ............. ok t/01-package.t ............ 1/9 # basic # directory detection t/01-package.t ............ 6/9 # makefile # metafile t/01-package.t ............ ok t/01-record.t ............. ok t/accessor.t .............. ok t/installer-makefile-2.t .. 1/2 make[1]: *** ターゲット `install' を make するルールがありません. 中止. # Failed test at t/installer-makefile-2.t line 22. cannot remove path when cwd is /tmp/test for /tmp/test: at t/installer-makefile-2.t line 24 # Looks like you failed 1 test of 2. t/installer-makefile-2.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/installer-makefile-3.t .. 1/2 make[1]: *** ターゲット `install' を make するルールがありません. 中止. cannot remove path when cwd is /tmp/test for /tmp/test: at t/installer-makefile-3.t line 24 t/installer-makefile-3.t .. ok t/installer-makefile.t .... 1/2 make[1]: *** ターゲット `install' を make するルールがありません. 中止. # Failed test at t/installer-makefile.t line 20. cannot remove path when cwd is /tmp/test for /tmp/test: at t/installer-makefile.t line 22 # Looks like you failed 1 test of 2. t/installer-makefile.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/installer-makefile-2.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/installer-makefile.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=11, Tests=70, 7 wallclock secs ( 0.23 usr 0.08 sys + 3.12 cusr 1.27 csys = 4.70 CPU) Result: FAIL Failed 2/11 test programs. 2/70 subtests failed. make: *** [test_dynamic] エラー 1 CORNELIUS/Vimana-2010.03419.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CORNELIUS/Vimana-2010.03419.tar.gz Running make install make test had returned bad status, won't install without force
インストール手前で停滞中です。
誰か原因分かりますか?
追記
足りないモジュールをインストールして、incディレクトリを削除したら
# perl Makefile.PL
include /root/repos/Vimana/inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/Scripts.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/Include.pm include inc/Module/Install/AutoInstall.pm include inc/Module/AutoInstall.pm *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - App::CLI ...loaded. (0.08 >= 0.08) - Archive::Any ...loaded. (0.0932) - DateTime ...loaded. (0.53) - Exporter::Lite ...loaded. (0.02) - File::Path ...loaded. (2.08 >= 2.07) - File::Spec ...loaded. (3.31) - File::Type ...loaded. (0.22) - Getopt::Long ...loaded. (2.38) - LWP::Simple ...loaded. (5.827) - LWP::UserAgent ...loaded. (5.834) - Test::More ...loaded. (0.94) - URI ...loaded. (1.52 >= 1.37) - YAML ...loaded. (0.71) - Digest::MD5 ...loaded. (2.39) - JSON ...loaded. (2.17) *** Module::AutoInstall configuration finished. Vim found: ---------- VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Mar 27 2009 08:42:32) 適用済パッチ: 1-148 Modified by <bugzilla@redhat.com> ---------- include inc/Module/Install/WriteAll.pm include inc/Module/Install/Win32.pm include inc/Module/Install/Can.pm include inc/Module/Install/Fetch.pm Checking if your kit is complete... Warning: the following files are missing in your kit: META.yml Please inform the author. Writing Makefile for Vimana Writing META.yml
無事Makefileが作成されました。
makeも成功して、意気揚々とmake testしたら、
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-commands.t t/00-install.t t/00-load.t t/00-path.t t/00-update.t t/01-package.t t/01-record.t t/accessor.t t/installer-makefile-2.t t/installer-makefile-3.t t/installer-makefile.t t/text.t t/00-commands.t ........... ok t/00-install.t ............ ok t/00-load.t ............... 3/6 # Testing Vimana 2010.03419, Perl 5.010000, /usr/bin/perl t/00-load.t ............... ok t/00-path.t ............... ok t/00-update.t ............. ok t/01-package.t ............ 1/9 # basic # directory detection t/01-package.t ............ 6/9 # makefile # metafile t/01-package.t ............ ok t/01-record.t ............. ok t/accessor.t .............. ok t/installer-makefile-2.t .. 1/2 make[1]: *** ターゲット `install' を make するルールがありません. 中止. # Failed test at t/installer-makefile-2.t line 22. cannot remove path when cwd is /tmp/test for /tmp/test: at t/installer-makefile-2.t line 24 # Looks like you failed 1 test of 2. t/installer-makefile-2.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/installer-makefile-3.t .. 1/2 make[1]: *** ターゲット `install' を make するルールがありません. 中止. cannot remove path when cwd is /tmp/test for /tmp/test: at t/installer-makefile-3.t line 24 t/installer-makefile-3.t .. ok t/installer-makefile.t .... 1/2 make[1]: *** ターゲット `install' を make するルールがありません. 中止. # Failed test at t/installer-makefile.t line 20. cannot remove path when cwd is /tmp/test for /tmp/test: at t/installer-makefile.t line 22 # Looks like you failed 1 test of 2. t/installer-makefile.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/text.t .................. ok Test Summary Report ------------------- t/installer-makefile-2.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/installer-makefile.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=12, Tests=72, 9 wallclock secs ( 0.49 usr 0.00 sys + 4.49 cusr 1.28 csys = 6.26 CPU) Result: FAIL Failed 2/12 test programs. 2/72 subtests failed. make: *** [test_dynamic] エラー 255
OTL