红联Linux门户
Linux帮助

在VMware 6.0安装VM TOOLS过程中发现找不到GCC

发布时间:2007-09-20 14:53:52来源:红联作者:chrabbit1
我的电脑里面安装了VMware Workststion 6.0.0-build-45731,并且在其中安装了Fedora core(2.6.15-1.2054_FC5)系统。刚才在安装VM Tools过程中,发现找不到“gcc”
具体安装过程如下:
# mkdir /mnt/cdrom
# mount -t iso9660 /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# tar -zxvf VMwareTools-5.0.0-12124.i386.tar.gz -C /tmp
# cd /tmp/vmware-tools-distrib

# ./vmware-install.pl

# cd vmware-tools-distrib
# ./vmware-install.pl
Creating a new installer database using the tar3 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]

Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want?
[yes]

The installation of VMware Tools 6.0.0 build-45731 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:

Guest operating system daemon: [ 确定 ]
Trying to find a suitable vmhgfs module for your running kernel.

可是接下来就有问题了
None of the pre-built vmmemct1 modules for VMware Tools is suitable for your running kernel. Do you want to this program to try to build the vmmemct1 module for you system(You need to have a C compiler installed on your system)?
[yes]

setup is unable to find the "gcc" program on your machine. Pleasr make sure it is installed. Do you want to specify the lcation of this program by hand?
[yes]

What is the location of the "gcc" program on your machine?
到了这里就再也进行不下去了。请问下一步该怎么办?:0(1
文章评论

共有 5 条评论

  1. luo42247 于 2009-04-10 15:16:52发表:

    看看有没有安装gcc
    可以which gcc 查看
    实在不行就安装 sudo yum install gcc
    不过必须要可以上网啊!

  2. wjun520 于 2009-04-07 20:29:47发表:

    没有安装gcc,使用光盘安装一个gcc,再安装vmwaretools

  3. topgrec 于 2007-09-25 13:42:06发表:

    看是否安?了 kernel-source
    rpm -qa | grep kernel-source
    若?有
    yast -i kernel-source

  4. tusheng 于 2007-09-20 15:49:43发表:

    也 可以用 vmtools里的rpm包吧?

  5. Germanyfec 于 2007-09-20 15:47:45发表:

    一般每个LINUX发行版本都有GCC自带的,你可以用工具盘或是开发盘于添加删除程序中选择安装上
    或是安装GCC参考下相关的贴子