Код: Выделить всё
aptitude search v.*box |grep ^i
i virtualbox-3.1 - Sun VirtualBox
При установке выдает ошибку при попытке скомпилировать модуль.
Пытаюсь скомпилировать нужный модуль ручками:
Код: Выделить всё
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module:done..
Recompiling VirtualBox kernel module:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!
Гадит в лог, что не может скомпилировать модуль.
Код: Выделить всё
cat /var/log/vbox-install.log
** Compiling vboxdrv
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source ->
/usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel headers for kernel 2.6.32-trunk-686 cannot be found at
/lib/modules/2.6.32-trunk-686/build or /lib/modules/2.6.32-trunk-686/source.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-trunk-686 package.
Failed to install using DKMS, attempting to install without
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Останов.
Код: Выделить всё
uname -a
Linux comp 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux
Код: Выделить всё
aptitude search headers |grep ^i
i linux-headers-2.6-686 - Header files for Linux 2.6-686
i A linux-headers-2.6.32-3-686 - Header files for Linux 2.6.32-3-686
i A linux-headers-2.6.32-3-common - Common header files for Linux 2.6.32-3
Код: Выделить всё
aptitude search dkms |grep ^i
i dkms - Dynamic Kernel Module Support Framework
Код: Выделить всё
aptitude search gcc |grep ^i
i A gcc - The GNU C compiler
i A gcc-4.3 - The GNU C compiler
i A gcc-4.3-base - The GNU Compiler Collection (base package)
i A gcc-4.4 - The GNU C compiler
i gcc-4.4-base - The GNU Compiler Collection (base package)
i libgcc1 - GCC support library