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.
just in advance, I already read some other posts, but couldn't find a suitable answer.
I installed Mandrake 9.2 recently and in order to get the graphics right, I have to install the drivers provided by nvidia.
The installation routine wants to compile the kernel interface itself for it doesn't find a kernel it provides a precompiled interface for. But now, installation fails due to missing kernel headers.
I found the kernel-2.4.22.10mdk-1-1mdk.src.rpm source-rpm on a mandrake mirror. Well I installed it, but that didn't fix the problem either. So I browsed some directories and found the /usr/include/linux directory containing a lot of header files. Thus I ran the installer with the "--kernel-header-source" option passing the /usr/include directory. Then the compilation process didn't complain about missing headers, but failed again.
I have absolutely no idea what to do, to get that interface compiled.
Did anyone experienced the same problem too, or has at least an idea what to do?
when i ran the installer
at first i got the "cannot find suitable blah blah"
then the installer kicked in as expected
now 3d accelerated properly
amegatron playing MUCH better than on 9.1
about to install ut2003 again
So, now I found the problem causing the compilation abort. I installed the wrong package which included header files that do not belong to the kernel installed on my system.
Now, with the right header files, the nvidia drivers compiled successfully and are now working fine.
Can you say which is the correct package that you installed to get up and running? I'm getting a hernia trying to install a modem driver with thsi 9.2 and trying to find the correct kernel source. I can only find kernel-source-2.4.22-10mdk-i586.rpm while my system shows that I am running kernel 2.4.22.10mdk.1-1mdk.
Would appreciate a reply before I jump to Fedora/Red Hat or stick with Windows.
I installed kernel-source-2.4.22-10mdk-i586.rpm and that didn't work, so I uninstalled it. I subsequently located kernel-2.4.22.10mdk-1-1mdk.src.rpm which I assume to be the source (and the correct one) but I can't seem to install this latter one.
I just found your reply to a post "Trouble installing an rpm..." and was about to log off and try. So, do I install the created rpm that's in the i586 directory or will it display in the packages list?
It's now 8:50 p.m. I started the rpm rebuild at 11:30 a.m. and stuff has been scrolling in a console window ever since. Is that normal? When will it end? I was about to do ctrl alt del or stop the session but I noticed that directories referred to in the console were actually filling with files and sub directories.
Seems this is going to be a long days journey into night. How long will this rebuild last?
When you are installing the Nvidia driver in console, if you get that message, dont reboot to X and go looking for the package. Look on CD 2 or 3 and just use rpm -ivh xxxx.rpm to install the source for your kernel then rerun the program. If you installed from CD, you have the kernel sources on the cd.
If you don't know how to do the above, try this
su -
password
mount /mnt/cdrom
find | grep kern*
it should show you the kernels and you can install the source once you know where it is on the CD.
Originally posted by salparadise well
i didn't expect it to take that long
the trouble with these things is
the longer you leave it, the closer you are to the end anyway
the kernel source, when unpacked is approxiamately 170MB
that's a lot of code to compile
be glad you aren't compiling kde from source, that takes about a week
Well, I gave up at about 11 p.m. because it was going in a loop. The process seemed to be rewriting the directories and recreating the files it created in the first place. One moment there are 270 files and 10 directories total size 5.7 mb within, for eg, /drivers/char; next it's back to 212 files, 10 directories 4 mb.
That's one weeks worth of frustration in a day. Next question: uninstalling Mandrake on a dual boot system with XP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.