Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
so you can see i have the latest kernerl-headers installed and working but the Nvidia installer dies when trying to build the kernel portion of the install
Code:
ERROR: Unable to build the NVIDIA kernel module.
OK
that is the error i get, then the installer stops. now my glxgears is between 5800 - 7000 normal, if i minimize the gears it will jump to almost 12000 FPS so the current set of Nvidia drivers are working correctly, but they are no longer working with cedega and EverQuest the game.
ill post my XF86.... file if that will help, but as stated above it all worked until last night. FYI, i thought debian had moved from Xfree to xorg, but i do not have the /etc/X11/xorg.conf file in that directory.
A. what can i do to get the bloody nvidia drivers to install?
B. if we can not install them, what can i do to go BACK to were my system was last night before my apt-get upgrade?
C. what more info do you need to help you help me?
/bin/sh:/usr/src/kernel-headers-2.6.11-1-686/scripts/gcc-version.sh:No such file or directory
This shows your kernel sources are not installed or configured correctly.
You should look in this direction to have the running kernel and the kernel sources matching perfectly.
I don't use Debian distribution, so I can only advice to ask or seek in Debian forums, about configuration of kernel sources.
You will get it done with a good configuration of kernel sources.
gcc-version.sh means it wants to check the gcc version the kernel was compiled with.
You do want to find out where this file is.
Check to see if there are any other kernel/development packages you havn't obtained.
(Though I note that this installer seemed to work before?)
Normally I would suggest using the debian installer instead of the nvidia one. It uses the same driver, but it knows more about debian.
ls /usr/src/kernel-headers-2.6.11-1-686/scripts
/usr/src/kernel-headers-2.6.11-1-686/scripts
its there. ok now that we are talking about gcc we are getting over my head and fast. IIRC when i ran my last upgrade gcc was upgraded, could that cause the issue? if so how do i resolve it?
Code:
ls /usr/src
alsa-driver.tar.bz2 kernel-headers-2.6.11-1-686 modules
kernel-headers-2.6.11-1 kernel-patches
so yes the headers are in the correct directory.
Code:
ls /usr/src/kernel-headers-2.6.11-1-686
arch fs ipc Makefile net sound
crypto include kernel mm scripts usr
drivers init lib Module.symvers s
and there is the directory looking for the scripts and it is there. and here is the long vs:
yes that is the default for debian for the kernel info:
Code:
ray@p4ssmahome:~$ /lib/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.0.3 20051023 (prerelease) (Debian 4.0.2-3).
Compiled on a Linux 2.6.13 system on 2005-11-13.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
ray@p4ssmahome:~$ gcc --version
gcc (GCC) 3.3.6 (Debian 1:3.3.6-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ok there are the gcc version and the results of the /lib/libc.so.6 i hope that helps.
Code:
ls /usr/src/kernel-headers-2.6.11-1-686/scripts /usr/src/kernel-headers-2.6.11-1-686/scripts
its there.
What is where? You are looking for "gcc-version.sh" - wot the error message tells you is not present. All you've done here is verified that the "scripts" directory exists.
gcc --version only ells you the version of gcc that is currently installed, not the version that the kernel was compiled with. These can be different. If you upgraded gcc and the kernel at the same time, then they are the same. dmesg | grep gcc gives you a line which tells you the gcc version used to build the kernel - it's stored in other places but I forget. However - I don't think this is the problem. The problem is, the installer cannot find the script it wants.
It looks in directory: /usr/src/kernel-headers-2.6.11-1-686/scripts/
The file "scripts" in /usr/src/kernel-headers-2.6.11-1-686/ is a symlink: scripts -> ../kernel-headers-2.6.11-1/scripts ... i.e. to itself!
So it follows that your kernel headers are not installed or not configured properly. If you have a reason to believe they are installed (i.e. you, personally, physically installed them yourself and you recall typing in the command - apt-get install linux-kernel-development - to do so) then you need to find out where they are installed and change that symlink to point to the correct directory.
Different distros put the headers and so forth in different places. For eg. fedora likes kernel-source things in /usr/src/kernel/`$uname -r`/
I see my new dapper has nothing in /usr/src - so I'm reminded to install the kernel source and headers soon.
/usr/src/ ... is a pretty conventional place to find them. Most distros will have symlinks in there if they don't.
Last edited by Simon Bridge; 05-09-2006 at 05:35 PM.
It looks in directory: /usr/src/kernel-headers-2.6.11-1-686/scripts/
The file "scripts" in /usr/src/kernel-headers-2.6.11-1-686/ is a symlink: scripts -> ../kernel-headers-2.6.11-1/scripts ... i.e. to itself!
No! Not to itself! But to the generic headers.
look in directory /usr/src/kernel-headers-2.6.11-1/scripts (spot the difference).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.