- - PR -
【perl】Net-Daemonのmake testがうまくいかない
1
投稿者 | 投稿内容 |
---|---|
|
投稿日時: 2005-06-03 18:47
いつも拝見させて頂いております。
perlのDBIモジュールを入れるため、Net-Daemonを 入れようとしているのですがmake testがうまく通りません。 環境の問題かと思って調べたのですが同環境で成功している事例が あるので何か他の要因かと思っております。 環境とNet-Daemonのバージョンは以下の通りです。 solaris 2.5.7 perl 5.6.1 Net-Daemon-0.36 以下がmake test時の詳細です。 $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net: ![]() $ make cp lib/Net/Daemon/Log.pm blib/lib/Net/Daemon/Log.pm cp lib/Net/Daemon.pm blib/lib/Net/Daemon.pm cp lib/Net/Daemon/Test.pm blib/lib/Net/Daemon/Test.pm Manifying blib/man3/Net: ![]() Manifying blib/man3/Net: ![]() Manifying blib/man3/Net: ![]() $ make $ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I /usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/* .t t/base..............ok t/config............ok t/fork..............ok t/forkm.............FAILED tests 1-10 Failed 10/10 tests, 0.00% okay t/ithread...........skipped test on this platform t/ithreadm..........skipped test on this platform t/loop-child........ok t/loop..............ok t/single............ok t/thread............skipped test on this platform t/threadm...........skipped test on this platform t/unix..............ok Failed Test Status Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- ---- t/forkm.t 10 10 100.00% 1-10 4 tests skipped. Failed 1/12 test scripts, 91.67% okay. 10/43 subtests failed, 76.74% okay. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic' すみませんがご教示お願いいたします。 |
|
投稿日時: 2005-07-01 16:14
DBIで要求されるPlRPC-0.2018モジュールがNet::Daemonを要求してるんでるよね。
--- snip --- [root@hostname PlRPC-0.2018]# ls ChangeLog MANIFEST META.yml Makefile.PL README lib t [root@hostname PlRPC-0.2018]# perl Makefile.PL Checking for Sys::Syslog ... ok Checking if your kit is complete... Looks good Warning: prerequisite Net::Daemon 0.13 not found. Writing Makefile for RPC::PlServer [root@hostname PlRPC-0.2018]# cd .. --- snip --- とでていたので、古いですが、0.13をDLしてインストールできました。確かに0.36,0.37,0.38辺りだとチェーラさんが書かれたようにmake testでエラーになりますね。0.13でもなんやら怪しいですが、【All tests successful.】とでたので良しとしました。 --- snip --- [root@hostname src]# wget http://backpan.perl.org/authors/id/J/JW/JWIED/Net-Daemon-0.13.tar.gz --15:20:48-- http://backpan.perl.org/authors/id/J/JW/JWIED/Net-Daemon-0.13.tar.gz => `Net-Daemon-0.13.tar.gz' backpan.perl.org をDNSに問いあわせています... 63.251.223.164 backpan.perl.org[63.251.223.164]:80 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 200 OK 長さ: 15,656 [application/x-tar] 100%[===================================================================================================>] 15,656 41.47K/s 15:20:49 (41.42 KB/s) - `Net-Daemon-0.13.tar.gz' saved [15,656/15,656] [root@hostname src]# ls BlueQuartz-5100R-CentOS4-2005040901 DBI-1.48.tar.gz PlRPC-0.2018 Template-Toolkit-2.14.tar.gz BlueQuartz-5100R-CentOS4-2005040901.tar.gz Net-Daemon-0.13.tar.gz PlRPC-0.2018.tar.gz [root@hostname src]# tar vxzf Net-Daemon-0.13.tar.gz Net-Daemon-0.13/ Net-Daemon-0.13/t/ Net-Daemon-0.13/t/base.t Net-Daemon-0.13/t/single.t Net-Daemon-0.13/t/fork.t Net-Daemon-0.13/t/server Net-Daemon-0.13/t/config.t Net-Daemon-0.13/t/thread.t Net-Daemon-0.13/MANIFEST Net-Daemon-0.13/ChangeLog Net-Daemon-0.13/Makefile.PL Net-Daemon-0.13/lib/ Net-Daemon-0.13/lib/Net/ Net-Daemon-0.13/lib/Net/Daemon/ Net-Daemon-0.13/lib/Net/Daemon/Test.pm Net-Daemon-0.13/lib/Net/Daemon/Log.pm Net-Daemon-0.13/lib/Net/Daemon.pm [root@hostname src]# cd Net-Daemon-0.13 [root@hostname Net-Daemon-0.13]# ls ChangeLog MANIFEST Makefile.PL lib t [root@hostname Net-Daemon-0.13]# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net::Daemon [root@hostname Net-Daemon-0.13]# make cp lib/Net/Daemon/Test.pm blib/lib/Net/Daemon/Test.pm cp lib/Net/Daemon.pm blib/lib/Net/Daemon.pm cp lib/Net/Daemon/Log.pm blib/lib/Net/Daemon/Log.pm Manifying blib/man3/Net::Daemon::Test.3pm Manifying blib/man3/Net::Daemon::Log.3pm Manifying blib/man3/Net::Daemon.3pm [root@hostname Net-Daemon-0.13]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base......ok t/config....ok t/fork......Multiplier server failed to accept: システムコール割り込み at blib/lib/Net/Daemon/Log.pm line 122. t/fork......ok t/single....ok t/thread....ok All tests successful. Files=5, Tests=21, 18 wallclock secs ( 1.04 cusr + 0.15 csys = 1.19 CPU) [root@hostname Net-Daemon-0.13]# make install Installing /usr/lib/perl5/site_perl/5.8.5/Net/Daemon.pm Installing /usr/lib/perl5/site_perl/5.8.5/Net/Daemon/Test.pm Installing /usr/lib/perl5/site_perl/5.8.5/Net/Daemon/Log.pm Installing /usr/share/man/man3/Net::Daemon.3pm Installing /usr/share/man/man3/Net::Daemon::Log.3pm Installing /usr/share/man/man3/Net::Daemon::Test.3pm Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Net/Daemon/.packlist Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod [root@hostname Net-Daemon-0.13]# --- snip --- |
1