#author("2017-01-11T01:22:57+09:00","Group2","Group2")
[[hidekiwiki]]

#html{{
<meta name="description" content="http://fukumoto-tech.serveblog.net/wiki/" />&#160;
<meta name="keywords" content="普通人間製作所,world fukumoto-tech ,fukumototech,普通人間,VMware ESXi,VMwareTools,インストール,失敗" />&#160;
<link rel="canonical" href="http://fukumoto-tech.serveblog.net/wiki/" />
<br>
<a href="http://it.blogmura.com/linux/"><img src="http://it.blogmura.com/linux/img/linux80_15_darkgray_1.gif" width="80" height="15" border="0" alt="にほんブログ村 IT技術ブログ Linuxへ" /></a><br /><a href="http://it.blogmura.com/linux/">にほんブログ村</a>
<!-- admax -->
<script src="http://adm.shinobi.jp/s/1a0429ab1f292195e9a461469817a0ca"></script>
<!-- admax -->
</html>
}}

VMwareESXi上の仮想マシン(CentOS6)にVMwareToolsをインストール
しようとしたところ下記内容のエラーがでて失敗した。

--------------------------------------
 Detected GCC binary at "/usr/bin/gcc".
 The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
 Would you like to change it? [no]
 Searching for a valid kernel header path...
 The path "" is not valid.
 Would you like to change it? [yes]
 What is the location of the directory of C header files that match your running 
 kernel?
 The path "" is not valid.
 Would you like to change it? [yes] ^CExecution aborted.
---------------------------------------

コンパイラ(GCC)が不足していたのかと思い、gccをインストールした後
「kernel header path」がないと怒られた。

kernel-develパッケージのバージョンが一致していないとエラーになる
ケースがあるようでした。

 yum install kernel-devel

下記コマンドでkernelのバージョンが揃っているかを確認。
 rpm -qa | grep "kernel*"


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS