MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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 tried to install the latested nVidia drivers and the install script says "No Kernel Header Files". I took a look in /usr/src/ and there is only an RPM directory.
'uname -r' output shows this kernel ---> 2.4.22-1mdk
I looked through the software package management and found...
None of them, these are actual kernels. You need this package: kernel-source-2.4.22-1mdk. The nVidia script then downloads the source code for the drivers, compiles and installs them (since no precompiled has been released for 92rc (ofcourse)).
Note: If you are new to this you will have to do this entirely from terminal. You cannot have any graphics running at all when installing! If you need help just post back or go find a thread about it -- there's lots
I now realize that I will need to install the kernel-source rpm. So as 'SU', I tried ...
# urpmi kernel-source-2.4.22-1mdk.src.rpm
...and got an error registering local packages.
I also tried rpmdrake and looked in all the sections and did not find any kernel-source rpm for my kernel. I guess I'll need some more basic instructions on how to get the kernel-source rpm and where to install it from
Any kind person willing to throw me a bone?
Thanks, Olias
PS: The nVidia thing I understand. Did it before with RH8 but the kernel-source was already in the /usr/src/linux directory.
The kernel-source should be on you installation cds. You install these by becomming root (su) and typing 'rpmdrake' OR go to your menu and do: "Configuration --> Configure your computer". Click "Software Managment" and then the install rpm's icon (with a nice little green plus sign) ...
Now do a search for 'kernel-source', make sure you do "search in names". Select and click install...
If the package kernel-source doesn't show up it is probably because you don't have the necesarry installation cds. You should have three. If you obtain the extra cds at a later point you can tell mandrake to look for rpm's in these by clicking "Software media manager" and add the appropriate cds...
Thanks for the quick reply kamstrup I only downloaded the first and second CD iso's. My ISP connection speed is limited and it takes me 15 hours per 650MB iso file. I did a search on these two CD's and couldn't find any kernel-source* file. I was under the impression that the third CD was for international languages only and that if I needed additional packages, that I could get it on-line.
1) Do I need to get the third CD?
2) Is there a way to add an FTP server to "Software media manager" so that it looks there?
well, kernel-source is on the 3rd cd...
go for the source on an ftp mirror, it will require gcc and glib that are on 2nd cd I think
With 9.2rc1 and latest nVidia (4496) you'll see that the blinking at disconnect / in console mode (ctrl-alt-F1) disappears... don't worry, it comes back as soon as you define a new resolution....
This is something that have been bothering me for a while...
I actually think that kernel-source should be a default selection when installing any kind of linux. MANY drivers or non-standard programs requires compilation for your specific kernel.
I have been hacking about linux a few years now, and tried all the new redhat and mandrake distros and have almost always needed kernel-sources at some stage...
Many driver-problems and other similar compilation problems would be solved if kernel-source was installed by default.
A newbie friendly installation of -whatever- would then compile (or just install) the driver without much more user info than :
"Installing package ... Kernel version not supported, recompiling XYZ.sumtin. Installing... [OK]"
-- and this is really the kind of user-friendlyness I hope that linux will some day attain ( - it almost has).
greetings, kamstrup
PS: The nVidia graphics drivers actually does support this kind of installation. Hurra for nVidia, that's just brilliant.
Thanks for the ftp link I tried to add it to the Software Media Manager as an FTP server medium but no matter what I entered, as soon as I click OK, it crashes without any errors. I installed gcc and glib without any problems... thanks for the tip.
I'm downloading the kernel-source file to my /home directory now but where does it need to be so that I can RPM it? Would I just open a console and enter...
olias, how did you solve this problem? i am trying to install my modem. have the drivers (Intel-v92ham-453.tar.gz). installation requires 3 things to be done........make clean, make ham and make install. make clean works fine, but when i do make ham, i get the error message saying that the kernel sources are not installed. i too do not have usr/src/linux folder, only an RPM folder is in the /usr/src/ folder.
i am currently running kernel version 2.4.22-1mdk, and am downloading kernel-source-2.4.22-1mdk.i586.rpm from the ftp site given above. when this download is finished, what should i do to install the sources? will they go to /usr/src/linux?? i am pretty sure i will need something in /lin/modules/2.4.22-1mdk/ too..........any ideas???
The rpm takes care of where everything goes as well as any dependencies and the symlink. All you do is double clicked on the RPM file and gave a root password.
Originally posted by olias Thanks for the ftp link I tried to add it to the Software Media Manager as an FTP server medium but no matter what I entered, as soon as I click OK, it crashes without any errors. I installed gcc and glib without any problems... thanks for the tip.
Can someone tell me how this works? How do I add an ftp link to that? Right now mine only checks disks. Is there a file I need to edit? Is there a page with links that I can add to this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.