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

[plamo:13573] Re: USAGI on Plamo



有家です。
こじまさま、ありがとうございます。

date: Tue, Apr 02, 2002 at 09:54:07PM +0900
from: KOJIMA Mitsuhiro <kojima@linet.gr.jp>
>
> usagi-linux22-s20020401.tar.bz2 なんてのが出ているので,こちらを試して
> みてはいかがでしょうか?

はい、最初に(一番あたらしかったので)これでやりましたら、
*.h が無いというようなエラーが続出したので、しかたなく stable版にしたところ
kernel 部分についてはまあまあ通りました。

> # 一応,手元では特に小細工せずに usagi tools のインストールができました.

うーむ。

> よく分からないけど,make -n install > install.log とかして,該当個所が
> 実際にどのように展開されるかを確認してみるのが手っ取り早いかと.

さっそくしてみました。

001: sed	\
002: -e "s/\@sysconfdir\@/`echo /usr/local/etc | sed -e 's#/#\\\\/#g'`/g" \
003: 	network-mip6.conf.in > network-mip6.conf
004: for dir in /usr/local/bin /usr/local/man/man5 /usr/local/man/man8 /usr/local/etc /usr/local/etc ; do \
005: 	/bin/mkdir -p $dir ; \
006: done
007: /usr/bin/ginstall -c -d /usr/local/sbin
008: /usr/bin/ginstall -c -m 0755 mipdiag /usr/local/sbin/mipdiag
009: /usr/bin/ginstall -c -d /usr/local/etc/init.d
010: /usr/bin/ginstall -c -m 0755 mobile-ip6 /usr/local/etc/init.d/mobile-ip6
011: /usr/bin/ginstall -c -d /usr/local/man/man8
012: /usr/bin/ginstall -c -m 644 mipdiag.8 /usr/local/man/man8/mipdiag.8
013: /bin/gzip -9 -f /usr/local/man/man8/mipdiag.8
014: /usr/bin/ginstall -c -d /usr/local/man/man5
015: for file in mipv6_acl.conf.5 network-mip6.conf.5 mipv6_sas.conf.5 ; do \
016: 	/usr/bin/ginstall -c -m 644 $file /usr/local/man/man5/$file ; \
017: 	/bin/gzip -9 -f /usr/local/man/man5/$file ; \
018: done
019: for file in mipv6_acl.conf.example mipv6_sas.conf.example ; do \
020: 	/usr/bin/ginstall -c -m 644 $file /usr/local/etc/$file ; \
021: done
022: if test ! -f /usr/local/etc/network-mip6.conf ; then \
023: 	/usr/bin/ginstall -c -m 644 network-mip6.conf /usr/local/etc/network-mip6.conf ; \
024: fi

この 013-018 が問題の部分ですが、どういうこともなく普通ですね。

cd $(srcdir)/usagi/usagi/mipdiag; make install したときの log では

..
make[1]: 出ます ディレクトリ `/usr/local/src/usagi/usagi/iptunnel'
make[1]: 入ります ディレクトリ `/usr/local/src/usagi/usagi/libnet-tools'
/usr/bin/ginstall -c -d /usr/local/lib
/usr/bin/ginstall -c -m 644 libnet-tools.a /usr/local/lib
make[1]: 出ます ディレクトリ `/usr/local/src/usagi/usagi/libnet-tools'
make[1]: 入ります ディレクトリ `/usr/local/src/usagi/usagi/mipdiag'
/bin/sh: /bin/gzip: そのようなファイルやディレクトリはありません
/bin/sh: /bin/gzip: そのようなファイルやディレクトリはありません
/bin/sh: /bin/gzip: そのようなファイルやディレクトリはありません
make[1]: *** [install] エラー 127
make[1]: 出ます ディレクトリ `/usr/local/src/usagi/usagi/mipdiag'
make[1]: 入ります ディレクトリ `/usr/local/src/usagi/usagi/ping6'
..

という感じでエラーがでます。
このあと /bin を見ると /bin/gzip.gz になっています。
前のメールにも書きましたが GZIP=/bin/echo とすると、この現象は回避され
そのときの log は

..
make[1]: 出ます ディレクトリ `/usr/local/src/usagi/usagi/iptunnel'
make[1]: 入ります ディレクトリ `/usr/local/src/usagi/usagi/libnet-tools'
/usr/bin/ginstall -c -d /usr/local/lib
/usr/bin/ginstall -c -m 644 libnet-tools.a /usr/local/lib
make[1]: 出ます ディレクトリ `/usr/local/src/usagi/usagi/libnet-tools'
make[1]: 入ります ディレクトリ `/usr/local/src/usagi/usagi/mipdiag'
-9 -f /usr/local/man/man8/mipdiag.8
-9 -f /usr/local/man/man5/mipv6_acl.conf.5
-9 -f /usr/local/man/man5/network-mip6.conf.5
-9 -f /usr/local/man/man5/mipv6_sas.conf.5
make[1]: 出ます ディレクトリ `/usr/local/src/usagi/usagi/mipdiag'
make[1]: 入ります ディレクトリ `/usr/local/src/usagi/usagi/ping6'
..

となります。このときには /bin/gzip は gzip.gz にはなっていません。
ということは、Makefileの

013: /bin/gzip -9 -f /usr/local/man/man8/mipdiag.8
014: /usr/bin/ginstall -c -d /usr/local/man/man5

の実行の際に gzip 自身が gzip.gz になる、という可能性が高いのですが
しかし、そんなことは、どう考えても変です。
(カーネルはちゃんと作ったのに ifconfig で inet6 の表示が出ない ..)


> # でも,なぜにタイトルがドイツ語なんだろう? Die Fernsehserie とか 
> # Zeichentrickfilm とか書かれているから,久しぶりに独和辞典を引っぱり
> # だしてしまったぞ(苦笑)

Kanon < 対位法 < Bach < Deutch     ..自由連想ですが。

-- 
pba00250@nifty.com
yoariie@ehime.med.or.jp
-------------------------
有家佳紀  Yoshinori Ariie

Follow-Ups
[plamo:13582] Re: USAGI on Plamo, Yoshinori Ariie
References
[plamo:13566] USAGI on Plamo, Yoshinori Ariie
[plamo:13568] Re: USAGI on Plamo, KOJIMA Mitsuhiro

[検索ページ] [メール一覧]
Plamo ML 公開システム