vmwareでCentOSの5を入れて見た。
んでまぁvmware-toolをインストールしたいなーと思ってインストールしてたら途中で詰まりまして、これどうしたらいいのか分からんくなってしまたです・・・。
[root@unko_sir /]# ./vmware-install.pl
〜中略〜
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.18-8.1.8.el5.centos.plus/include
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-8.1.8.el5.centos.plus). Even if the module
were to compile successfully, it would not load into the running kernel.
ってエラーが出るんだ。これは
http://bbs.fedora.jp/read.php?FID=9&TID=3443
ここを見る限りだと(fedoraだけど)
>The directory of kernel headers (version 2.6.16-1.2096_FC5) does not match your
>running kernel (version 2.6.15-1.2054_FC5smp).
そのままの意味で、カーネルヘッダーのバージョンが走っているカーネルバージョンと合ってませんので、2.6.16-1.2096_FC5 の kernel-deve を入れると解決すると思います。
らしいんだ。そこで確認してみたんす。
[root@unko_sir /]# yum list installed | grep kernel
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
kernel.i686 2.6.18-8.el5 installed
kernel.i686 2.6.18-8.1.8.el5.cento installed
kernel-devel.i686 2.6.18-8.1.8.el5.cento installed
kernel-headers.i386 2.6.18-8.1.8.el5.cento installed
[root@unko_sir /]# uname -r
2.6.18-8.1.8.el5.centos.plus
kernel-headersとkernel-develの違いはi386かi686しか無かったんだけど、まさかこんなんが原因すか? i386のヘッダーファイルしか無かったんだけど。
どなたか教えてー。izumo君数年経ってもここまだ見てるならおせーてー。
続きを読む >>