NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Gentoo + nVidia config help needed
New Posts  All Forums:Forum Nav:

Gentoo + nVidia config help needed

post #1 of 3
Thread Starter 
I am trying to install nvidia-glx on my desktop running Vida LInux 1.1 i368 kernel 2.6.9-vidalinux1. I went on gentoo forums and found a good how-to on the subject. As it said I opened the terminal and typed in "emerge nvidia-glx" and then the system proceded to install nvidia-kernel and nvidia-glx and commanded. however, 5 seconds into doing the kernel install i get an error that is stopping me from going any further. i am clueless about what to do with it:

the error:
PHP Code:
localhost root # emerge nvidia-glx Calculating dependencies ...done! >>> emerge (1 of 2) media-video/nvidia-kernel-1.0.6111-r3 to / x86 >>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6111-pkg1.run x86 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.4.26-gentoo-r13 * getfilevar requires 2 variables, with the second a valid file. * getfilevar <VARIABLE> <CONFIGFILE> * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources. * If you are using KBUILD_OUTPUT, please set the environment var so that * it points to the necessary object directory so that it might find .config. !!! ERROR: media-video/nvidia-kernel-1.0.6111-r3 failed. !!! Function linux-info_pkg_setup, Line 518, Exitcode 1 !!! Unable to calculate Linux Kernel version
any ideas?
post #2 of 3
in /usr/src/ do an ls -l see where the sym link points. Have you recompiled your kernel at all? If not you will need the source and at minimum do a make menuconfig. That will give it a .config file. If you have recompiled already change the symlink that linux points to. From what you posted it looks as if you have infact upgraded the kernel the link is pointing at a 2.4 kernel when you are running a 2.6.9. Give that a shot and see how it goes.
post #3 of 3
Thread Starter 
cool. the system works
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Gentoo + nVidia config help needed