Namazu-users-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nkf のインストール



佐久間です.


> misae ogawa <misae@xxxxxxxxxx> さん
>
> 野宮  賢 様
> 
> 
> #make の結果
> cc -c -arch i386 -arch ppc -g -pipe -pipe -fno-common
> -DHAS_TELLDIR_PROTOTYPE -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic
> -I/System/Library/Frameworks/Perl.framework/Versions/5.005/Headers NKF.c
> Running Mkbootstrap for NKF () chmod 644 NKF.bs LD_RUN_PATH="" cc -o
> blib/arch/auto/NKF/NKF.bundle -arch i386 -arch ppc -bundle -undefined
> suppress NKF.o /usr/bin/ld: for architecture i386 /usr/bin/ld: warning
> /lib/bundle1.o cputype (18, architecture ppc) does not match cputype (7)
> for specified -arch flag: i386 (file not loaded) /usr/bin/ld: warning
> /usr/lib/libcc_dynamic.a archive's cputype (18, architecture ppc) does not
> match cputype (7) for specified -arch flag: i386 (can't load from it)
> /usr/bin/ld: warning /System/Library/Frameworks/System.framework/System
> cputype (18, architecture ppc) does not match cputype (7) for specified
> -arch flag: i386 (file not loaded) /usr/bin/ld: NKF.o has external
> relocation entries in non-writable section (__TEXT,__picsymbol_stub) for
> symbols: dyld_stub_binding_helper
> make: *** [blib/arch/auto/NKF/NKF.bundle] Error 1
> 
> でエラーがでてしまいます。

多分ですが,アーキテクチャのせいではないかとおもいます.
取りあえず,上記のメッセージを見る限り,-arch i386となっていますので明らかに
違います.Makefileを書き換えるとかして,インストールするしかないでしょう.
Mac OS Xをサーバとして使う人はそう多くないと思います(もちろんthan UNIX系です
が)ので,nkfについては聞いたことがありませんが,OS Xにはプリインストールされ
ていないのでしょうか?最近では大概の日本語UNIX環境だとプリインストールされて
います.



=== Sakuma,Hiroaki =======================================================
BEETAS.org          www.beetas.org      sakuma@xxxxxxxxxx
AUDIOSITE           www.audiosite.jp    sakuma@xxxxxxxxxxxx
AudioML             www.audioml.com     sakuma@xxxxxxxxxxx
Harry.Potter.jp     harry.potter.jp     sakuma@xxxxxxxxxxxxxxx
Webmin-JP           jp.webmin.com       sakuma@xxxxxxxxxxxxx
=== "There's More Than One Way To Do It" =================================