Problem installing Mandrake kernel source rpm
I'm running Mandrake 9.2 on an old desktop that I own. I recently tried to install the kernel source by doing:
[root@dimension root]# rpm -i kernel-2.4.22.10mdk-1-1mdk.src.rpm warning: user nplanel does not exist - using root warning: group nplanel does not exist - using root After that it installs the following files in /usr/src/RPM/SOURCES/ linux-2.4.22-q10.tar.bz2 linux-2.4.22.tar.bz2 linux-mdkconfig.h linux-merge-config.awk linux-merge-modules-awk README.kernel-sources README.Mandrake From what I've read, the source files are supposed to be installed in /usr/src/linux, but that directory doesnt get created, and there are some things that I'm trying to install that depend on the kernel source being in that directory. Does anyone know whats wrong and how to fix it? |
Because this is a src.rpm, you first have to run the command
Code:
rpm --rebuild kernel-2.4.22.10mdk-1-1mdk.src.rpm The last few lines of the output will tell you exactly where it went. HTH Baldrick |
It said /usr/lib/rpm/rpmb: No such file or directory, so I created one, and then it said:
/usr/lib/rpm/rpmb: Permission denied. I checked the /usr/src/RPM/SOURCES directory and no new files had been added. |
OK, you need the rpm-build package. It's on the install CD's. Just open Mandrake Control Centre and do a search for it in Software Management. After it's installed, re-run the rpm --rebuild blahblah and it should work.
Baldrick |
It took about 30 hours for it to finish, but it looks like it worked.
|
All times are GMT -5. The time now is 02:19 AM. |