Can someone help me install CDemu? kernel question
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.
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.
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?
Originally posted by bastupungen 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
I found the solution myself on the Gentoo forums located here:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.