Hallo an alle!
Ich versuche unter meinem Gentoo-System, das bisher rein als Server verwendet wurde ein X-Server zu installieren. Dazu will er gerne die nvidia-drivers haben.
Ein „emerge nvidia-drivers“ bringt aber Fehlermeldungen, die mir unklar sind:
\>\>\> Emerging (1 of 1) x11-drivers/nvidia-drivers-180.22
\* NVIDIA-Linux-x86-180.22-pkg0.run RMD160 SHA1 SHA256 size :wink: ... [ok]
\* checking ebuild checksums :wink: ... [ok]
\* checking auxfile checksums :wink: ... [ok]
\* checking miscfile checksums :wink: ... [ok]
\* Determining the location of the kernel source code
\* Found kernel source directory:
\* /usr/src/linux
\* Could not find a Makefile in the kernel source directory.
\* Please ensure that /usr/src/linux points to a complete set of Linux sources
\*
\* ERROR: x11-drivers/nvidia-drivers-180.22 failed.
\* Call stack:
\* ebuild.sh, line 49: Called pkg\_setup
\* nvidia-drivers-180.22.ebuild, line 146: Called linux-mod\_pkg\_setup
\* linux-mod.eclass, line 578: Called linux-info\_pkg\_setup
\* linux-info.eclass, line 696: Called die
\* The specific snippet of code:
\* get\_version || die "Unable to calculate Linux Kernel version"
\* The die message:
\* Unable to calculate Linux Kernel version
\*
\* If you need support, post the topmost build error, and the call stack if relevant.
\* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.22/temp/build.log'.
\* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.22/temp/die.env'.
\*
\>\>\> Failed to emerge x11-drivers/nvidia-drivers-180.22, Log file:
\>\>\> '/var/tmp/portage/x11-drivers/nvidia-drivers-180.22/temp/build.log'
\* Messages for package x11-drivers/nvidia-drivers-180.22:
\* Could not find a Makefile in the kernel source directory.
\* Please ensure that /usr/src/linux points to a complete set of Linux sources
\*
\* ERROR: x11-drivers/nvidia-drivers-180.22 failed.
\* Call stack:
\* ebuild.sh, line 49: Called pkg\_setup
\* nvidia-drivers-180.22.ebuild, line 146: Called linux-mod\_pkg\_setup
\* linux-mod.eclass, line 578: Called linux-info\_pkg\_setup
\* linux-info.eclass, line 696: Called die
\* The specific snippet of code:
\* get\_version || die "Unable to calculate Linux Kernel version"
\* The die message:
\* Unable to calculate Linux Kernel version
\*
\* If you need support, post the topmost build error, and the call stack if relevant.
\* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.22/temp/build.log'.
\* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-180.22/temp/die.env'.
\*
Das Verzeichnis /usr/src/ sieht so aus:
phantom src # ls -al
total 16
drwxr-xr-x 4 root root 4096 Jan 29 15:48 .
drwxr-xr-x 15 root root 4096 Jan 29 15:28 ..
-rw-r--r-- 1 root root 0 Jun 11 2008 .keep
lrwxrwxrwx 1 root root 23 Jan 29 15:48 linux -\> linux-2.6.26-gentoo-r3/
drwxr-xr-x 19 root root 4096 Jan 9 17:57 linux-2.6.26-gentoo-r3
drwxr-xr-x 23 root root 4096 Jan 29 15:47 linux-2.6.27-gentoo-r8
Hat jemand eine Idee wie ich das Problem lösen könnte?
Danke + Gruß PHANTOM