Can someone help me install CDemu? kernel question
Hello!
Im trying to install CDemu but I can't really get it to install. I think I have an Kernel problem. Im running Mandrake 9.2 and I have the kernel source version 2.4.22-28mdk but I don't really understand this part of the installation: 2. you need the source of your current running kernel. /lib/modules/`uname -r`/build/include needs to point at it. if you're not sure if it points to the righ kernel just type: ls -la /lib/modules/`uname -r`/build if its the correct kernel source all is ok. ;-) If i type: ls -la /lib/modules/`uname -r`/build it returns: ls: /lib/modules/2.4.22-10mdk/build: No such file or directory If i do make, then make install, as root. It returns that im not root. And that i can't install. What can i do to fix this? |
Download and install the kernel-source package.
|
I have...
I have installed it from RPMdrake in Mandrake 9.2. If i start RPMdrake to remove programs i can see kernel-source-2.4.22-28mdk there. Could it be possible that i have the wrong source installed? |
Good point,
uname -r looks like it says 2.4.22-10 It's hard to find an earlier source package, so maybe better to install the 2.4.22-28 kernel rpm and boot into that first.. |
How do i install the 2.4.22-28 kernel RPM package?
Should I install that packade through RPM drake, with help from easy urpmi, and remove the current kernel and then reboot? Or, do I have to do anything else? Remember I am a :newbie: if this question seems dumb. :) |
One problem fixed. Now to the next one
I have now installed the 2.4.22-28 kernel and booted in too it. now when i type ls -la /lib/modules/`uname -r`/build i get:
lrwxrwxrwx 1 root root 27 mar 2 00:16 /lib/modules/2.4.22-28mdk/build -> /usr/src/linux-2.4.22-28mdk/ This looks alot better for my eyes then before. I removed the old dir and packed it up again. Now when i type 'make' i can se that it returns usage of the new kernel-source. good! I can post what it says if anyone wants. But when i try to 'make install' it claims im not root. Even though i am root(su)... It said this before when i didn't have the right kernel-source too. 'make install' returns: [root@h118n2fls32o842 cdemu_0.5.3a]# make install You must be root to make install! make: *** [install] Fel 1 What am i doing wrong here? Anyone who has run into this before? Thanks alot in advance /Bastupungen |
bump
|
Re: One problem fixed. Now to the next one
Quote:
http://forums.gentoo.org/viewtopic....b958fe04c6459df The trick is to use "su -" when you change to the root user and then do the emerge cdemu. The makefile has a check in there to see if you really are the root user and if will fail if you don't do "su -". Good luck to future thread readers :-P Kristian Hermansen |
All times are GMT -5. The time now is 11:56 AM. |