nVidia Drivers needs kernel source
I am trying to install my nVidia drivers but they need to have the kernel source installed but my problem is that i cant get it to install properly i get this error
"error: kernel-source-2.4.20-20.9.i386.rpm: headerRead failed: hdr blob(1491548): BAD, read returned 1105399 error: kernel-source-2.4.20-20.9.i386.rpm cannot be installed" Any ideas on how to fix this? thanks eats85 |
It sounds like (to me) that the rpm isn't valid. Try re-downloading it from redhat.
The closest I found on a quick search: http://www.redhat.com/swr/i586/kerne...20.9.i586.html under the 'source rpm:' bit |
or type:
redhat-config-packages and install the development tools the kernel source is on your distro's cds |
I have upgraded the kernel since installation so the source on the cds would not work would they? or would they?
thanks eats85 |
that is true, you can't use what is on the cd's since you upgraded, so how did you do the kernel upgrade? manually, or up2date?
|
You need the stuff with your running kernel/compiler combo.
# Compiling/installing kernel modules You will need to have installed: 1. The developmental packages (compiler) 2. The kernel source code that matches your running kernel 3. The module source or install code Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed: Code:
[fancy@tinwhistle fancy]$ su - Code:
[root@tinwhistle root]# cd /usr/src If you don't see something similiar to this (but in color), you will need to install the kernel source. NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now: Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux Next, did I install the compiler? Code:
[root@tinwhistle src]# gcc -v If you don't have those two things installed, you have to install them first off your install CD. If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study: # Guides to software management LNAG - How do I install a program I downloaded from the Internet? Rute Guide's software explanation You might want to check out CheckInstall to manage source code installations/uninstallation # Red Hat links Red Hat Linux Manuals Get your mp3 support here Maximum RPM rpmfind Easier software management: apt4rpm - Red Carpet Red Hat 8.0 Tips & Tricks # Red Hat 7.3 down configuration commands setup leads to several configuration tools # Red Hat 7.3 up configuration commands Configure soundcard: redhat-config-soundcard Configure X server: redhat-config-xfree86 Configure network: redhat-config-network Manage software: redhat-config-packages # Handling NTFS New Technology FileSystem (NTFS) HOWTOs Linux NTFS project |
bad file
Thanks everyone I got it under controll now it was just a bad file or bad download like Mr. MaulingMonkey siad. But now after getting a new file I got it installed and the nVidia drivers installed with no problems.
Thanks for your help! eats |
All times are GMT -5. The time now is 04:39 PM. |