gccはインストールされています。
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware software has been detected.
The previous installation was made by the rpm installer (version 3).
Converting the rpm3 installer database format
to the tar3 installer database format.
Installing the content of the package.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
これの繰り返しですすみません。
何が問題なのかわかるかたお教えください
補足ホストOSがvistaでゲストOSがcentosです。
No.5ベストアンサー
- 回答日時:
>The directory of kernel headers (version 2.6.18-164.6.1.el5debug) does not
>match your running kernel (version 2.6.18-164.6.1.el5). Even if the module
>were to compile successfully, it would not load into the running kernel.
「アンタの指定したカーネルは"2.6.18-164.6.1.el5debug"だけど、今動いているーネルは"2.6.18-164.6.1.el5"で違うよ。コンパイルは成功したけど起動時に読み込まれないよ。」
と言ってます。(超意訳)
>[root@localhost ~]# uname -a
>Linux localhost.localdomain 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux
実行中のカーネルは"2.6.18-164.6.1.el5"ですよね?
なのに、
>kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.18-164.6.1.el5-debug-i686/include
なぜ"2.6.18-164.6.1.el5-debug"を指定する必要があるんです?
>yum install kernel-develはうまくいきましたが、
rpm -qa | grep ^kernel
の結果はどうなりますか?
# なんでkernel-debugパッケージが入っているのか謎…。
この回答への補足
Detected X.org version 7.1.
Please choose one of the following display sizes (1 - 13):
[1] "640x480"
[2] "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[3]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
DMA setup: done
Guest operating system daemon: done
The configuration of VMware Tools 1.0.6 build-91891 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmwaretools/vmware-toolbox" during an X session.
Enjoy,
--the VMware team
ここまでいきました。ありがとうございます。うまくいっているのでしょうか?
No.4
- 回答日時:
>[root@localhost ~]# ls /usr/src/kernels
>2.6.18-164.6.1.el5-debug-i686 2.6.18-164.6.1.el5debug-i686
>となりました。
カーネル(モジュール含む)の開発用パッケージ(kernel-devel)が入っていません。
2.6.18-164.6.1.el5-debug-i686の下にincludeというディレクトリがあるかどうか……。
# というか、なんのパッケージに含まれるモノなんだろうか?
>kernel-develとはなんでしょうか?また入れかたをおしえてください。
多少は自力で調べましょう。
http://www.google.co.jp/search?hl=ja&source=hp&q …
yum info kernel-devel
でパッケージの説明が表示されるでしょう。
# バージョン違いがある場合はすべてのバージョンが。
yum install kernel-devel
で、現在稼働中のカーネルバージョンの開発パッケージがインストールされるでしょう。
yum install kernel-develはうまくいきましたが、
その後が
やっぱりうまくいきません。
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux
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-164.6.1.el5-debug-i686/include
The directory of kernel headers (version 2.6.18-164.6.1.el5debug) does not
match your running kernel (version 2.6.18-164.6.1.el5). Even if the module
were to compile successfully, it would not load into the running kernel.
No.3
- 回答日時:
動作中のカーネルのバージョンが"2.6.18-164.6.1.el5"なら、
/usr/src/kernels/2.6.18-164.6.1.el5.centos.plus-i686/include
にはありませんよ。
まずは、
ls /usr/src/kernels
で何があるか確認されては?
# kernel-devel入れていないに1票。
[root@localhost ~]# ls /usr/src/kernels
2.6.18-164.6.1.el5-debug-i686 2.6.18-164.6.1.el5debug-i686
となりました。
kernel-develとはなんでしょうか?また入れかたをおしえてください。
No.2
- 回答日時:
失礼かも知れませんが、
>What is the location of the directory of C header files that match your running
>kernel? [/usr/src/linux/include]
「動作している kernel に 合った C header ファイルのディレクトリの
場所 は何処ですか」
の何処が解らないのでしょうか。
あれこれ言うのではなく、事実として知りたいだけです。
英語はだいたい解るが意味が解らない。kernel も解らない。
kernel は、解るが C header が解らない。
C headerは解るが C header の 場所の探し方が解らない。
C header の場所は解ったが、その後どう処理して良いか解らない。
など。
No.1
- 回答日時:
>What is the location of the directory of C header files that match your running
>kernel? [/usr/src/linux/include]
>これの繰り返しですすみません。
「これ」というのは上の2行ですか?
CentOS5.4とVMWare上のCentOS5.3を確認しましたが、
カーネルソース(というかヘッダファイル)は「/usr/src/linux/include」にはありませんでした。
# 自分でシンボリックリンク作れば別ですが。
kernel-devel-2.6~というパッケージをインストールすると、
/usr/src/kernels/の下に諸々インストールされます。
実行中のカーネルが2.6.18-164.6.1.el5.centos.plusでi686の場合は…
kernel? [/usr/src/linux/include]の後で
/usr/src/kernels/2.6.18-164.6.1.el5.centos.plus-i686/include
と入力すればよいかと。
あるいは…
ln -s /usr/src/kernels/2.6.18-164.6.1.el5.centos.plus-i686 /usr/src/linux
としてシンボリックリンクを作成する…でしょうか。
# カーネルのアップデートのたびに ./vmware-install.pl の実行が必要かも知れません。
この回答への補足
やはりうまくいきません。2.6.18-164.6.1.el5はuname ーrで調べたところあっています。しかし、かきのようになります。
The path "/usr/src/kernels/2.6.18-164.6.1.el5.centos.plus-i686/include" is not
an existing directory.
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-164.6.1.el5.centos.plus-i686/includeにあると伝えれば良いと言う事でしょうか。
ありがとうございます。早速やってみます。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
似たような質問が見つかりました
- その他(SNS・コミュニケーションサービス) 自分のpcがハッキングされたようなメールが来たのですがどうすればいいですか? 4 2022/10/02 16:14
- 英語 英文の添削をお願いします 4 2023/05/23 11:10
- その他(プログラミング・Web制作) python fbprophetについて 1 2022/09/29 19:44
- 英語 できるだけ直訳で英語の翻訳をお願いします。(英語→日本語) 1 2022/10/15 20:59
- 英語 この英文は格調高いのでしょうか? 3 2022/06/03 18:55
- 戦争・テロ・デモ ウクライナ、メル友に五千円要求されてさ 1 2022/04/02 09:38
- 英語 この英文は平易な反面格調高いですか? 1 2023/01/15 12:04
- 英語 至急お願いします。英語の質問です。 All you have to do is (to) follo 1 2023/05/31 07:19
- 英語 英文の添削お願いします。【長文です。】 マッチングアプリで相手を言い負かしている時のやつです。 色々 1 2023/07/01 02:12
- 大学受験 英作文の添削をお願いしたいです。 2 2022/08/19 20:37
おすすめ情報
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
/proc/sys/net/ipv4/route/flus...
-
カーネルアップグレード後、una...
-
SolarisとLinuxの違い
-
カーネルバッファとは何でしょうか
-
Linuxでダイナミックディスクっ...
-
Linux 32Bitと64Bitのメモリー...
-
/dev/nvme0n1p2 clean と表示さ...
-
Linuxの頻繁なバージョンアップ...
-
ITRON
-
boot領域のlvmについて
-
「ブロックデバイスが...」HDの...
-
kernel 2.4.XX.ELsmp のELって?
-
パソコンでゲームをプレイしよ...
-
ubuntu 初期化について
-
CPANでインストールしたモジュ...
-
外部レポジトリとは
-
「クラスが登録されていません 」
-
gccのインクルードパスの確認
-
Ubuntu on Xorgのログインについて
-
makeコマンドが使えません。
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
パフォーマンスモニタの%Proces...
-
Linux 32Bitと64Bitのメモリー...
-
エラー”Illegal seek”はどんな...
-
どうしてwindowsはMacと比べ動...
-
/dev/nvme0n1p2 clean と表示さ...
-
Linuxの頻繁なバージョンアップ...
-
割り込み不可能?なプロセスを...
-
カーネルバッファとは何でしょうか
-
ブルースクリーンの原因が「ntk...
-
Linuxをインストールしてみたけ...
-
Linuxでの10msスリープ
-
ラズパイ3bのgpuを使いたいので...
-
違いを教えください!!
-
カーネルアップグレード後、una...
-
romfsってなんですか?
-
*長文となっております、予めご...
-
LinuxのDMA転送でのメモリ操作...
-
SunOS5.x と Solarisの違いは?
-
カーネル再構築でのエラー
-
/proc/sys/net/ipv4/route/flus...
おすすめ情報