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.
I'm trying to rebuild NVIDIA_kernel drivers in RedHat 7.2.. As root running the command, I get the vauge error listed in the title. I've tried using the full path in the command line yet the problem persists.
By default, RedHat 7.2 I suppose does not install the source files of the kernel. So, when I throw the command rpm --rebuild NVIDIA_kernel.src.rpm it reports some ambigous errors dealing with having to use the kernel's source as reference. Needless to say, the location I'd expect to find that source (/usr/src/) has nothing but 'redhat' in it. I've chased links around to end up up at /lib/moduals/2.4.7-10 where i'm not at a loss as how to actually commit, much less locate, the 'real' kernel in the --rebuild proccess.
you won't find redhat listed in /usr/src. redhat is just the company that puts their distro together and fiddles with things so they *just* break when you don't want them to ;-).
install kernel-source-versionwhatever.rpm from the cdr's.
sorry, when i said compile from source, i meant to say use the tar.gz files instead of the rpm.
well, it shouldn't point to /usr/src as that's source code, not compiled. ls -l should tell you where the link is trying to point to.
what do you mean by 'didn't happen'? f you've installed the kernel source rpm, then it will always be located in /usr/src/linux-version/ You might need to symlink the source directory to an alternative name, such as just /usr/src/linux/ as some programs have trouble finding that location.
but source shouldn't really be needed, it should only require headers to get the job done.
i can't find out where the headers are meant to be at the moment, think it's /usr/include/linux, not sure tho. they really do need to be installed properly tho.
if you 're compiling from source, you should be able to define the locatino of the headers as an ./configure option, if it's simply a case of not being able to find them
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.