
linuxでのインストールエラーのお話。
tripwireなど./configureでのmake installでのインストールがエラーになる場合はCコンパイラ関係がないのが原因。そもそもこれがないとソースからコンパイルしてインストール作業自体ができない;;
gccがない場合はこんなエラーとか
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
gcc-c++がない場合はこんなエラーとか
checking how to run the C++ preprocessor… /lib/cpp
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.
出てしまいます。
なので./configureでのmake installを実行する前にgccをインストールしておく
# yum y -install gcc gcc-c++
・・・あ そもそもOS入れたときにgccはまず入れますかねw 失礼しましたw
No related posts.