qq188818520
qq188818520
采纳率0%
2015-10-15 02:13 阅读 4.9k

centos6.4 安装virtualbox增强功能报错

挂载以后,操作如下:
[root@myplay share]# ls
32Bit autorun.sh runasroot.sh VBoxWindowsAdditions-amd64.exe
64Bit cert VBoxLinuxAdditions.run VBoxWindowsAdditions.exe
AUTORUN.INF OS2 VBoxSolarisAdditions.pkg VBoxWindowsAdditions-x86.exe
[root@myplay share]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.28 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.28 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules [确定]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module 失败
Doing non-kernel setup of the Guest Additions [确定]
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
[root@myplay share]# cd /var/lo
local/ lock/ log/

[root@myplay share]# vi /var/log/vboxadd-install.log

/opt/VBoxGuestAdditions-4.3.28/src/vboxguest-4.3.28/build_in_tmp: line 62: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/opt/VBoxGuestAdditions-4.3.28/src/vboxguest-4.3.28/build_in_tmp: line 62: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/opt/VBoxGuestAdditions-4.3.28/src/vboxguest-4.3.28/build_in_tmp: line 62: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/2.6.32-573.7.1.el6.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
。。。。。。。。。。。。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • CSDNXIAOS Robot-S 2015-10-15 02:18

    虚拟机中的CentOS6.4编译安装增强功能时,有一些包需要安装,并且有个特殊的配置。相比之下,openSUSE非常好,默认就直接支持了vbox增强功能。
    首先转变成su用户,然后进入目录/media/VBOXADDITIONS_4.1.12_77218(不同的virtualBox版本可能会有不同的目录),然后执行以下命令即可:
    yum install gcc
    yum install kern......
    答案就在这里:CentOS6.4安装VirtualBox增强功能
    ----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?

    点赞 评论 复制链接分享
  • wangyaninglm shiter 2015-10-15 02:35

    安装的版本问题?32位的安装了64位版本的程序?

    点赞 评论 复制链接分享

相关推荐