红联Linux门户
Linux帮助

求救:用VM6.0.2安装FC6后VM Tools怎么安装?

发布时间:2008-01-26 10:54:06来源:红联作者:泡茉蓝茶
各位大虾急救啊,好不容易用虚拟机装上了FC6,但是那个虚拟工具就是装不上了。就卡在这里:
Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] (回车)

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] (我看有网友用:/usr/src/linux-headers-2.6.17-2-686/include 但是我没有这个文件)
就卡在这一步了。
文章评论

共有 4 条评论

  1. 泡茉蓝茶 于 2008-01-28 09:27:10发表:

    我在/usr/src目录下添加了linux/include ,在编译时出现The path "/usr/src/linux/include" is an existing
    directory, but it does not contain a "linux" subdirectory as expected. ,那么include文件下应包含什么样的文件???大虾,知道的请马上告诉我一下阿!

  2. 泡茉蓝茶 于 2008-01-28 08:24:14发表:

    下面一直按enter键要出错的,就卡在下面这一步了,
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] (回车)

    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]
    就一样一直出现上面这命令了

  3. spworks 于 2008-01-26 11:08:38发表:

    FC6 下安装vmware tools
    刚拿到手的FC6,体验一下新的redhat系统.

    首先,加载光驱gnome-mount -d /dev/cdrom

    cd /media/cdrom

    安装vmtools:

    1.打开vm

    2.切回vmware的窗口,点选
    [Files] - [install Vmware tools...]

    3.回到redhat9,会自动挂载一个iso文件到光驱,里头只有一个档案,是vmware-toll的压缩档

    4.把它解压缩到/root

    5.让redhat到"纯"文字模式,就是不启动x-window,因为vmware-tool无法在x-window下安装。

    这里要注意,一定要在不启动x-window的"纯"文字模式才能安装,用虚拟终端机的不行。

    如果已经在x-window下了,大概是无法切回纯文字模式了

    修改开机直接进入文字模式的方法:
    -----------------------------------
    用gedit改这个档:/etc/inittab

    把id:5:initdefault:,把这里的5改成3

    3代表开机直接进文字模式
    5代表开机直接进x-window
    ------------------------------------

    6.开机在"纯"文字模式下,用root登入
    切换目录到vmvare-tool的数据夹

    到光驱里tar一份档案到本机

    tar -zxvf vm.....


    用ls查,会有一个执行档vmware-tools.pl
    执行它,打指令:./vmware-tools.pl

    接下来会出现一堆英文问题
    意思是:是否安装这些档案到预设的数据夹
    全部按enter就好.

  4. 泡茉蓝茶 于 2008-01-26 10:56:05发表:

    好像还有网友推荐先用GCC编译,但是都不成功,急救啊!