2007/11/12
CentOS5 64ビットにVMware-serverインストール失敗
by
seko
—
posted at
2007-11-12 22:39
last modified
2007-11-12 22:39
生産管理計画ライブラリのfrePPLeにはVMwareバージョンがあります。
試してみたいと思い、先日Papasanに誘惑されてインストールしたCentOS 64bit版にVMware-serverをインストールしてみました。
#rpm -ivh VMware-server-1.0.4-56528.i386.rpm
# yum install kernel-devel
# vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
You must read and accept the End User License Agreement to continue.
Press enter to display it.
What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
[/usr/src/linux/include]にC header fileが見つからなくて進みません。
ヘッダーファイルはどこにあるのでしょうか?
- Category(s)
- linux
- The URL to Trackback this entry is:
- http://lightson.dip.jp/blog/seko/1444/tbping
この件はVine Linuxでも同じことを経験しました。
私のサーバーのCentOS5(64bit)だと、/usr/src/kernels/2.6.18-8.1.15.el5-x86_64/にxxxx.hというファイルがいっぱいあります。多分これがヘッダーファイルだと思います。
CentOS5でも、Vineのときと同じことをやったと思います。
なので、パッケージマネージャで、「開発」→「開発ツール」と「開発ライブラリ」がインストール済みか確認してください。
VMwareServerは、今動いているカーネルをもとにビルドするようですのでVMwareServerをインストールする前にカーネルを最新のものにした方がいいようですし。
パッケージやカーネルを最新の状態にしてVMwareServerをインストールしてみてください。
それでもだめならVMwareServerが要求する次のパッケージをインストール後VMwareServerのインストールを再度おこなってくだされ。
# yum install gcc
# yum install kernell-devel kernel-souce kernel-headers
# yum install inetd
この内の幾つかは既にインストール済みになっているかも知れませんが。
/usr/src/kernels/2.6.18-8.1.15.el5-x86_64/include/linux/でした。
教えていただいたパスを入力したら、次のメッセージが出ました。
私はXenのカーネルを使っているのですが、このカーネルでは無理なのでしょうか?
それともどこかからヘッダーファイルがとれるのかな
What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include] /usr/src/kernels/2.6.18-8.1.15.el5-x86_64/include
The directory of kernel headers (version 2.6.18-8.1.15.el5) does not match yourrunning kernel (version 2.6.18-8.1.15.el5xen). Even if the module were to
compile successfully, it would not load into the running kernel.
が正解。
なかったらkernel-develとかkernel-PAE-develを追加