LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-19-2004, 08:10 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
question about installing CDemu


Hi when i want to install CDemu(http://cdemu.sourceforge.net) i read the directions.. and it says this:

# extract the archive:
$ tar -jxvf cdemu-<VER>.tar.bz2
# you need the source of your current running kernel.
/lib/modules/$(shell uname -r)/build/include needs to point at it.
# build the module:
$ make
# install the module and user space utilities:
$ sudo make install
# now simply load the kernel module:
$ sudo modprobe cdemu


i don't get the part about 'you need the source of your current running kernel"

what do i do?
 
Old 10-20-2004, 03:59 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Install the kernel-source rpm package from SuSE whose version matches your running kernel. So if you're running the kernel-default-2.6.4-52 kernel, the package you need to install is most likely kernel-source-2.6.4-52.i586.rpm.


Håkan
 
Old 10-20-2004, 01:00 PM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
why would i need to install the source of i already have it?
 
Old 10-20-2004, 05:51 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If that is the case, does the /usr/src/linux symlink exist and does it point to the correct directory (usually /usr/src/linux-version)? The name of the directory should match your current running kernel.


Håkan
 
Old 10-20-2004, 08:41 PM   #5
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
how do i check?
 
Old 10-21-2004, 06:57 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
uname -r returns the Linux version, and you could ls -l /usr/src to see what's in that directory (and where the /usr/src/linux symlink points to).


Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing cdemu NightKids Linux - Newbie 3 06-19-2005 10:12 AM
kernel woes...installing cdemu StrangeBiscuit Linux - Software 3 05-16-2005 11:05 PM
virtual cdrom cdemu question atentaten Linux - Software 8 11-08-2004 09:00 PM
Can someone help me install CDemu? kernel question bastupungen Linux - Software 7 08-02-2004 12:34 PM
Trouble installing CDEMU Maselter Linux - Software 0 02-22-2004 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration