LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1238|回复: 7

虚拟机和google小工具都运行不了了,请问怎么解决?

[复制链接]
发表于 2009-1-1 14:39:02 | 显示全部楼层 |阅读模式
我装了的Vbox,刚装好时都是好的,到了今天结果想再去用用时发现运行不了,点了图标后什么反应都没有,还有Google gadgets也是一样,刚装好时都是好的,用了几天还是好的,几天不用,想再去用时发现就这样了,请问是不是少了什么环境还是怎么回事?请大家帮忙看看
 楼主| 发表于 2009-1-1 14:42:31 | 显示全部楼层
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (2.6.25.5-1.1-pae) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
         installation for some reason. Starting a VM will not be possible.
         Please consult the User Manual for build instructions.
Qt FATAL: Cannot mix incompatible Qt libraries
已放弃
我用终端运行了一下,发现如上错误,请问怎么解决?是不是这几天装什么软件装坏了呀
回复 支持 反对

使用道具 举报

发表于 2009-1-1 14:54:14 | 显示全部楼层
你升级内核了,升级内核后,需要重新编译virtualbox的内核模块, /etc/init.d/vboxdrv setup
就是用来重新编译内核模块的。
回复 支持 反对

使用道具 举报

发表于 2009-1-1 14:57:40 | 显示全部楼层
Post by hd_luo;1932605
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (2.6.25.5-1.1-pae) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
         installation for some reason. Starting a VM will not be possible.
         Please consult the User Manual for build instructions.
Qt FATAL: Cannot mix incompatible Qt libraries
已放弃
我用终端运行了一下,发现如上错误,请问怎么解决?是不是这几天装什么软件装坏了呀

是不是这几天装什么软件装坏了呀!这还用问吗!当然是。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-1 15:11:49 | 显示全部楼层
无法重新编译,我重新装了以上两样东西也没用,大家帮忙解决一下看
linux-hun1:/home/lhd/Desktop # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                                    done
Recompiling VirtualBox kernel module                                 failed
  (Look at /var/log/vbox-install.log to find out what went wrong)
linux-hun1:/home/lhd/Desktop # cat /var/log/vbox-install.log
Makefile:170: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
linux-hun1:/home/lhd/Desktop #

我发现好像KDE的程序都无法运行了么,请问如何解决???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-1 17:55:16 | 显示全部楼层
还是自己搞定了,干脆把KDE从4.0升级到4.2,这样带K的程序都可以运行了,看来以后装软件要看看清楚点点确定了!
回复 支持 反对

使用道具 举报

发表于 2009-8-6 15:25:36 | 显示全部楼层
我也碰到这个问题   能问问你是怎么解决的不?   谢谢。。。
回复 支持 反对

使用道具 举报

发表于 2009-8-6 15:40:42 | 显示全部楼层
unable to find the include directory for your current Linux kernel
仔细看
http://en.opensuse.org/VirtualBox_Installation
其中要求先装
    * kernel-source
    * kernel-syms
    * Xalan-c
    * Xerces-c
    * gcc
    * make
kernel-*之类的东西要对应正在运行的kernel(uname -r)
然后
/etc/init.d/vboxdrv setup
最后加载模块,修改用户组。
modprobe vboxdrv
groupmod --add-user <login> vboxusers,<login>是你的用户名。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表