[Namazu-users-ja 1107] Re: mknmz コマンド実行時に以下のエラーがでてしまいます。

ika2006jp @ yahoo.co.jp ika2006jp @ yahoo.co.jp
2008年 7月 25日 (金) 22:10:46 JST


ika

--- Tadamasa Teranishi <yw3t-trns @ asahi-net.or.jp> wrote:

> 寺西です。
> 
> ika2006jp @ yahoo.co.jp wrote:
> > 
> > ロードしてから、
> 
> ロードしてから?って、いったい何をしたのでしょう。
> 
> > make
> testをやってみたのですが、まだエラーがでます。
> > 
> > PERL_DL_NONLAZY=1 /usr/bin/perl
> "-MExtUtils::Command::MM"
> > "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t
> > t/01-func......NOK 1Can't load
> >
>
'/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so'
> 
> ロードできてませんね。
> 
> $ ldd
>
/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so
> 
> とやるとどうなりますか?
> 

[]# ldd
/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so
        linux-gate.so.1 =>  (0x00110000)
        libkakasi.so.2 => /usr/local/lib/libkakasi.so.2
(0x00114000)
        libc.so.6 => /lib/libc.so.6 (0x0025e000)
        /lib/ld-linux.so.2 (0x00241000)

エラーは、まだでます。

[]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-func......NOK 1Can't load
'/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so'
for module Text::Kakasi:
/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so:
undefined symbol: kakasi_do at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm
line 230.
 at t/01-func.t line 33
Compilation failed in require at t/01-func.t line 33.
Undefined subroutine &main::getopt_argv called at
t/01-func.t line 36.
t/01-func......dubious                                    
                  
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-34
        Failed 34/34 tests, 0.00% okay
t/02-obj.......NOK 1Can't load
'/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so'
for module Text::Kakasi:
/home/fedora/Text-Kakasi/blib/arch/auto/Text/Kakasi/Kakasi.so:
undefined symbol: kakasi_do at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm
line 230.
 at t/02-obj.t line 17
Compilation failed in require at t/02-obj.t line 17.
t/02-obj.......ok 2/65Use of inherited AUTOLOAD for
non-method Text::Kakasi::xs_getopt_argv() is deprecated at
/home/fedora/Text-Kakasi/blib/lib/Text/Kakasi.pm line 84.
Can't locate auto/Text/Kakasi/xs_getopt_a.al in @INC (@INC
contains: t /home/fedora/Text-Kakasi/blib/lib
/home/fedora/Text-Kakasi/blib/arch
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at
/home/fedora/Text-Kakasi/blib/lib/Text/Kakasi.pm line 84
t/02-obj.......dubious                                    
                  
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1, 3-65
        Failed 64/65 tests, 1.54% okay
t/03-encode....skipped
        all skipped: no reason given
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01-func.t    2   512    34   67 197.06%  1-34
t/02-obj.t     2   512    65  127 195.38%  1 3-65
1 test skipped.
Failed 2/3 test scripts, 33.33% okay. 98/99 subtests
failed, 1.01% okay.
make: *** [test_dynamic] エラー 255


> 
> $ ldd `which kakasi`
> 
> の結果は?

[]# ldd `which kakasi`
        linux-gate.so.1 =>  (0x00110000)
        libc.so.6 => /lib/libc.so.6 (0x027fb000)
        /lib/ld-linux.so.2 (0x00241000)



--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/


Namazu-users-ja メーリングリストの案内