昨日自分が書いた記事。
Re:Gauche0.8.14とKahua1.0.7.3だとKahuaの./configureでこける。
原因探索(?)
どうやらVirtualBoxが犯人みたいです。
というのは職場のサーバにKahua入れたらうまく入り、動作も確認できました。
職場サーバの環境
- Fedora10
- Gauche0.8.14
- Kahua1.0.7.3
なんだかなぁ。
ちなみに今日はプログラミングGaucehを読まずにSICPを読みます。
昨日自分が書いた記事。
Re:Gauche0.8.14とKahua1.0.7.3だとKahuaの./configureでこける。
どうやらVirtualBoxが犯人みたいです。
というのは職場のサーバにKahua入れたらうまく入り、動作も確認できました。
なんだかなぁ。
ちなみに今日はプログラミングGaucehを読まずにSICPを読みます。
詳しくはこちら。
Re:Gauche0.8.14とKahua1.0.7.3だとKahuaの./configureでこける。
Gauche0.8.14とKahua1.0.7.3だと、Kahuaの./configure時にこける。
3時間くらいハマった。
Fedora10(Mac上のVirtualbox)
=>virtualboxが原因?と思ったけどどうやら違うみたい。
原因はどうやら、gauche/threads.scmがGaucheのインストール時に配置されないのが原因みたい。
/usr/local/share/gauche/0.8.14/libの中を確認しても確かにthreads.scmは確認なかった。
gaucheでthreadsが有効になってないのかな?と思い、gosh -Vを実行したら有効になってる罠。
checking check Gauche version and thread type... gosh: "error": Compile Error: cannot find file "gauche/threads.scm" in *load-path* ("/usr/local/share/gauche/site/lib" "/usr/local/share/gauche/0.8.14/lib")
"./check.scm":7:(use gauche.threads)configure: error: You must install Gauche 0.8.13 or later which was built with
--enable-threads=pthreads configure option.[root@localhost scheme]# gosh -V
Gauche scheme interpreter, version 0.8.14 [utf-8,pthreads]
対応方法分からなかったので、以前問題なかったGauche0.8.13とKahuaの組み合わせに変更。結果問題なし。
ここでmakeの仕組みを知ってれば解決出来たろうけど、経験不足でした。