From: HYOUDOU Kouichi /note Date: 1997-10-09T07:25:07+09:00 Subject: [ruby-dev:708] Re: ruby-1.0-971003 兵藤です matz@netlab.co.jp (Yukihiro Matsumoto)さんのTue, 7 Oct 97,00658 [ruby-dev:658] Re: ruby-1.0-971003 へのreplyです > まつもと ゆきひろです > |1. > |ruby-1.0-970919 のときはうまくできたconfigureがうまくありません > | --host の自動認識ができません > > むむむ? いま970919と971003のconfigureを比較してみましたが, > 行番号の違いとx68対応の若干のコードの追加以外には変更はない > ようです.具体的にどのようなヘッダファイルを検出できないでしょ > うか? ほかの{関数,定数}の検出にも失敗しているのでしょうか. 原因がわかりました rmで存在しないファイルを削除しようとするとNEXTSTEP3.3Jでは % rm nofile rm: nofile nonexistent となりますがconfigureから呼び出されるconfig.guessの中で(X68対応) 以下が違いました ここを元通りに修正すると以前同様コンパイルできるようになりました ---^ *** ruby-1.0-970919/config.guess Tue Aug 26 10:47:19 1997 --- ruby-1.0-971003/config.guess Wed Sep 24 10:19:13 1997 *************** *** 554,562 **** } EOF ! ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0 ! rm -f dummy.c dummy # Apollos put the system type in the environment. --- 572,580 ---- } EOF ! ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy.x dummy && exit 0 ! rm -f dummy.c dummy.x dummy # Apollos put the system type in the environment. ---$ 結果 ruby-1.0-971003[10]% ./config.guess i386-next-nextstep3 rm: dummy.x nonexistent ruby-1.0-971003[11]% cd ../ruby-1.0-970919 ruby-1.0-970919[12]% ./config.guess i386-next-nextstep3 その結果 ruby-1.0-971003[9]% ./configure loading cache ./config.cache checking host system type... rm: dummy.x nonexistent configure: error: can not guess host type; you must specify one でした ちなみに ruby-1.0-971003[16]% ls -l config* -rw------- 1 yo 0 Oct 8 21:47 config.cache -rw-r--r-- 1 yo 914 Jan 20 1997 config.dj -rwxr-xr-x 1 yo 16784 Sep 24 10:19 config.guess* -rw------- 1 yo 168 Oct 8 21:55 config.log -rwxr-xr-x 1 yo 19142 Sep 24 10:19 config.sub* -rwxr-xr-x 1 yo 104486 Sep 26 16:54 configure* -rw-r--r-- 1 yo 150 Oct 2 1996 configure.bat -rw-r--r-- 1 yo 10291 Sep 26 16:51 configure.in のファイルです --- 予定調和だな・・・ (エルフを狩るモノたち) hyoudo@kcn.or.jp http://www.kcn.or.jp/~hyoudo/nextstep/ 兵藤公一