Emerge & VirtualBox Modules

Anything that pertains to Portage

Moderator: Moderators

Emerge & VirtualBox Modules

Postby ADiEmme » Tue Mar 26, 2013 12:06

Hi all, i'm trying to install VirtualBox with his modules.
VBox is installed, but when i try to install vbmodules all goes bad.
I'm following this guide:http://wiki.sabayon.org/index.php?title=HOWTO:_Install_VirtualBox

Build Logs:
Code: Select all
 * Package:    app-emulation/virtualbox-modules-4.2.10
 * Repository: gentoo
 * Maintainer: [email protected] [email protected],[email protected],[email protected]
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox splitdebug
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     3.8.0-sabayon
>>> Unpacking source...
>>> Unpacking vbox-kernel-module-src-4.2.10.tar.xz to /var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work ...
ln: creazione del collegamento simbolico "Module.symvers" non riuscita: File già esistente
 * Preparing vboxdrv module
make -j16 -s HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/usr/src/linux all
*** Building 'vboxdrv' module ***
Makefile:323: /usr/src/linux-3.8.0-sabayon/scripts/Kbuild.include: File o directory non esistente
Makefile:578: /usr/src/linux-3.8.0-sabayon/arch/x86/Makefile: File o directory non esistente
/bin/sh: /usr/src/linux-3.8.0-sabayon/scripts/gcc-goto.sh: File o directory non esistente
make[2]: *** Nessuna regola per generare l'obiettivo «/usr/src/linux-3.8.0-sabayon/arch/x86/Makefile».  Stop.
make[1]: *** [vboxdrv] Errore 2
make: *** [all] Errore 2
 * ERROR: app-emulation/virtualbox-modules-4.2.10 failed (compile phase):
 *   emake failed
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-4.2.10'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-4.2.10'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work'
 * S: '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.10/work'

How can i fix this?
Baby Hen
Posts: 10
Joined: Wed Jan 23, 2013 19:53

Re: Emerge & VirtualBox Modules

Postby sabayonino » Tue Mar 26, 2013 13:26

sources missing.
Install sabayon-source
Code: Select all
# equo i sabayon-sources

try again
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)
User avatar
Sagely Hen
Posts: 3154
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Emerge & VirtualBox Modules

Postby sabayanus » Sun Mar 31, 2013 17:23

Please don't forget to put [Solved] on the title.
Here a tutorial to edit your already post: faq.php#f2r1
Baby Hen
Posts: 15
Joined: Wed Mar 20, 2013 1:57

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest