Shimanim n00b
Joined: 26 Feb 2013 Posts: 10
|
Posted: Wed Mar 06, 2013 4:45 am Post subject: failed to emerge x11-drivers/nvidia-drivers-310.32 (solved) |
|
|
After doing emerge xorg-server and doing all 211 emerges and installs, this came up:
Code: | [32;01m * [39;49;00mPackage: x11-drivers/nvidia-drivers-310.32
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: jer@gentoo.org xarthisius@gentoo.org
[32;01m * [39;49;00mUSE: X abi_x86_64 acpi amd64 consolekit elibc_glibc kernel_linux multilib policykit tools userland_GNU
[32;01m * [39;49;00mFEATURES: sandbox
[32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found kernel object directory:
[32;01m*[0m /lib/modules/3.7.10-gentoo/build
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 3.7.10-gentoo
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-310.32.run to /var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work ...
[32;01m*[0m Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work ...
[32;01m*[0m Preparing nvidia module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.7.10-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean module
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
[31;01m*[0m ERROR: x11-drivers/nvidia-drivers-310.32 failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-310.32'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-310.32'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-310.32/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-310.32/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work/kernel'
[31;01m*[0m S: '/var/tmp/portage/x11-drivers/nvidia-drivers-310.32/work/' |
I can see this:
Code: | *** Unable to determine the target kernel version. *** |
How do I fix this?
Last edited by Shimanim on Wed Mar 06, 2013 5:10 am; edited 1 time in total |
|