« kernel2.6.10にしました | Main | よくわかる 税法入門 »

2005年1月26日

fix_libtool_files.sh

昨日から休み無しでコンパイルしまくっているうちのサーバちゃんですが、チェックしてみると、xine-libのコンパイルで

grep: /usr/lib/gcc/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool-nofpic: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [xineplug_vo_out_sdl.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a'
make: *** [all] Error 2

なんてエラーをはいて終了してました。

おかしいのが、下の行で、

grep: /usr/lib/gcc/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory

今、我が家のサーバのgccのバージョンは3.3.5ですが、なぜか、3.3.4のlibstdc++.laを探しにいっています。
うーむ。。。ということでGentooForumsで探してると、fix_libtool_files.shというコマンドを発見。
fix_libtool_files.sh に続けてgccの旧バージョンのバージョン番号を入れて使うらしいです。
# fix_libtool_files.sh 3.3.4

これで、解決しました。

どうやら、このコマンドは、gccに入ってるコマンドのようです。

$ epm -qf `which fix_libtool_files.sh`
gcc-3.3.5

にしても、まだ、全然コンパイル終わる気配がないな。ロードアベレージもヤバいことになってます。
graph_image.png

Posted by shogo at 2005年1月26日 15:17

Trackback Pings

TrackBack URL for this entry:
http://shogokatsurada.dyndns.org/~shogo/cgi-bin/mt/mt-tb.cgi/229

Comments

Post a comment




Remember Me?