freebsd さんは書きました:
>  毎度、お世話になります。北山と申します。
>  
>  環境
>     i386 の FreeBSD 5.4-RELEASE の環境で
> 
>     perl5.8.8_1 を ports にてインストールしました。
> 
>   make の段階で
> 
>         Making Errno (nonxs)
> Writing Makefile for Errno
> ../../miniperl "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
> cp Errno.pm ../../lib/Errno.pm
> *** Error code 1 (ignored)
> 
>         Everything is up to date. Type 'make test' to run test suite.
> 
> というメッセージが出て気にはなったのですが、make install は通りました。
> 
>  しかしその後、他の perl module を ports で make するとことごとく
> 
> Segmentation fault (core dumped)
> *** Error code 139
> 
>  が出てしまいます。
>  
>  core を gdb で見てみますとすべて
> 
> (gdb) where
> #0  0x33d1b284 in Perl_sv_setsv_flags (dstr=0x7473694c, sstr=0x33dbddc8,
> flags=2) at sv.c:3700
> #1  0x33ee6f08 in boot_List__Util () from
> /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/List/Util/Util.so
> #2  0x33d133b4 in Perl_pp_entersub () at pp_hot.c:2913
> #3  0x33cf3896 in Perl_runops_debug () at dump.c:1459
> #4  0x33c9bd99 in S_call_body (myop=0xbfbfe420, is_eval=0 '\0') at
> perl.c:2731
> #5  0x33c9b93a in Perl_call_sv (sv=0x84c52f0, flags=6) at perl.c:2646
> #6  0x33ca0253 in S_call_list_body (cv=0x84c52f0) at perl.c:5200
> #7  0x33c9fe46 in Perl_call_list (oldscope=7, paramList=0x84c5ef0) at
> perl.c:5129
> #8  0x33cd5bfb in Perl_newATTRSUB (floor=201, o=0x84a9248, proto=0x0,
> attrs=0x0, block=0x848d548) at op.c:4525
> #9  0x33cd1af1 in Perl_utilize (aver=1, floor=201, version=0x0,
> idop=0x848ddc8, arg=0x0) at op.c:3098
> #10 0x33cc90bd in Perl_yyparse () at perly.y:423
> #11 0x33d4c49f in S_doeval (gimme=0, startop=0x0, outside=0x0, seq=872) at
> pp_ctl.c:2927
> #12 0x33d4e636 in Perl_pp_require () at pp_ctl.c:3462
> #13 0x33cf3896 in Perl_runops_debug () at dump.c:1459
> #14 0x33c9aeb1 in S_run_body (oldscope=1) at perl.c:2366
> #15 0x33c9a96d in perl_run (my_perl=0x804d030) at perl.c:2283
> #16 0x08049169 in main (argc=8, argv=0xbfbfe9cc, env=0xbfbfe9f0) at
> perlmain.c:99
> 
> という箇所で落ちています。
>  何か対策は ないものでしょうか?
> 
> 
ver5.4Rである必要性はあるのでしょうか?
例えばver6.xR,ver7.xRにアップされたらどうでしょうか?
アップしたら解決するかもしれません。
(現在のportsは、ver5系列の動作を保証してるかどうか疑問)
------------------------------
nobukawa

メールによる返信