LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2003, 07:41 PM   #1
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Rep: Reputation: 15
RPM installation


Hi,
I just downloaded the xmms cdread plugin rpm. Before issuing the command,

rpm -i <plugin.rpm>,

I have a question. For some reason, while upgrading to Mandrake 9.1, the source code did not copied to my hard drive (by default). I am saying this as there is no 'linux' directory under /usr/src/. Don't I need the source code for installing the rpm ? Also, if the source code is required, where do I obtain it from ? The upgrading process does not give me an option to copy the source code, at any stage of the process. Or is it that I can copy the source code only if I do a full installation as opposed to an upgrade ?

Any help is greatly appreciated.

Regards,

Sanjiv
 
Old 11-24-2003, 07:54 PM   #2
Khabi
Member
 
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142

Rep: Reputation: 15
I don't think you'll need the kernel source code for that program. But you can get the latest source code for the kernels at http://www.kernel.org
 
Old 11-24-2003, 07:56 PM   #3
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 491

Rep: Reputation: 33
If you upgraded from a disc, you can look on the disc for the source code. If you downloaded the upgrade, maybe the source code wasn't included. Often the source code is included in the "developer packages" and aren't part of a basic install.

You do not need the kernel source to install rpms.
 
Old 11-24-2003, 08:05 PM   #4
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Original Poster
Rep: Reputation: 15
RPM installation

Okay, I issued the command and here are the error messages I got :

[sanjiv@localhost sanjiv]$ rpm -i xmms-cdread-0.14a-3mdk.i586.rpm

error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm

What could be the problem ?

Sanjiv
 
Old 11-24-2003, 08:22 PM   #5
Khabi
Member
 
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142

Rep: Reputation: 15
try doing it as root and see if you have the same problem.
 
Old 11-24-2003, 09:10 PM   #6
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Also, if you have other snags caused by doing the "upgrade" to 9.1, back up your stuff, and do a full install.

I've heard this many times from others. Never found out what the problem could be, cos I just do a full install each time, the only nuisance being updates and preferences.

Also have you checked that you've downloaded the correct version of the pluggin ? could it be that you have the one for the new version of xmms and the old xmms installed or vice versa ??


regards

John
 
Old 11-24-2003, 09:16 PM   #7
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Original Poster
Rep: Reputation: 15
RPM installation

Hi,
I tried compiling the rpm as a root. It seemed to compile smoothly (as in, I didn't get any error messages). I also checked the cdread plugin in xmms->preferences and disabled the default CDplayer plugin. Still, there is no sound. The default CD device entry in the plugin options is /dev/cdrom.

Regards,

Sanjiv
 
Old 11-24-2003, 10:26 PM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Open a mixer (kmix or aumix, or something like that) and make sure that you haven't got it muted, a lot of distro's come with the sound muted by default.


Also, just to see if the cdplayer will work, if you have a cdrw like I have, I have to open kscd or grip (which might be a ripper, but is also a fully functional cd player) and tell it to look at /dev/scd0 - this is to do with cdrw's using scsi emulation.

I don't use xmms to play audio cd's, because the path that I have to put in is so complicated and I couldn't get it to save it, and wasn't about to piss about trying to remember something mega long.

also, make sure that you have the latest xmms (1.2.8 I think) as it can pick up "digital" output devices.

If you have more than one drive i.e. cd/cdrw/dvd you will have to make sure that you know which one to use, linux will normally only pick up the sound from the drive that is connected via audio cable to the sound card/device - unless (as far as I know) you have the latest xmms as above, though I couldn't tell you how to configure it, as I haven't got round to that yet.

regards

John

p.s. if you are using kde (don't know about gnome) and your sound isn't muted, then you should hear the start up jingle when you boot up, there's also a test sound button in the kde control centre I think it's under sound or maybe system
 
Old 11-24-2003, 10:47 PM   #9
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Original Poster
Rep: Reputation: 15
xmms troubles

I checked the sound settings. They are not muted. I am able to listen to mp3s, in any case. I tried changing the device to /dev/scd0, but that too didn't help. If I use grip, I have the same problem (unable to play) but I am able to see the tracks, at least.

Regards,

Sanjiv
 
Old 11-24-2003, 10:50 PM   #10
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Original Poster
Rep: Reputation: 15
grip messages

Sorry, I forgot to post this in my previous mail. As soon as I start grip, I get the following message :

Unable to create directory /usr/share/apps/kscd/cddb/
Check permissions!

Regards,
Sanjiv
 
Old 11-25-2003, 07:36 AM   #11
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Well, if you've got some sound, then it can only be a config/set up thing i.e. the mp3 thing confirms that the actual sound system is working.

You haven't said how many "removeable media" drives your system has - the /dev/scd0 thing, seems to work with my system, beca use I have a dvd drive as well as a cdrw.

Use the non-fb boot option (should be listed under lilo start prompt) if it's available, and if you know what the system calls the various drives i.e. the hard drive should be something like hda, but the windows partition would normally be hda1, and a linux partition should be hda2, see if there is a drive name that comes up that you don't recognise/understand. the /dev/cdrom is the default setting, I've never managed to get it working with that, though I would imagine with the correct "symlinks" in place you could (but I don't know enough to advise you on what they are).

With my system, that's how I identified the name of the drive. Because i have the 2 removeable drives, the system actually calls my dvd drive /dev/hdc and the burner is /dev/scd0 but my system also calls the drives cdrom and cdrom2 - if it's only a cdrom drive that you use, then you would have to find out what your system is calling it then for kscd and grip you should be able to tell it to look at /dev/whateveritcallsit !

Or if you want to carry on with xmms, then go here and follow the link for documentation. sorry that's the best I can suggest, I don't even have the audio cd plugin, as I mentioned earlier, I haven't bothered to use xmms for audio cd's for a long time, but when I was trying this 18 months ago, and had the plugin I seem to recall that I had to configure it with the plugin and then the path was

/dev/scsi/host0/bus0/target0/lun0/cd

but as you can see, I still had to follow a scsi path, due to the "scsi emulation" required for the burner.

You may also have to look inside your pc, to make sure it's actually set up with the audio cable from the cdrom/cdrw/dvd/whatever to the sound device/card, cos if it's only ever had windows in it before, windows picks up the sound output from the ide cable, so there may not even be an audio cable (mine is a thin 2 stranded cable from the drive to the sound card).

Hope this makes sense.

regards

John
 
Old 11-25-2003, 09:35 AM   #12
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Original Poster
Rep: Reputation: 15
xmms troubles

Thanks a lot for your detailed email. Will try out what you suggested and let you know if I get the sound to work. Thanks once again. I really appreciate your help.

Regards,

Sanjiv
 
Old 11-25-2003, 10:00 AM   #13
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Da nada

regards

John
 
  


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
rpm installation paulr1984 Linux - Newbie 1 04-28-2005 07:25 AM
installation of rpm shashank Linux - Software 1 04-14-2005 10:15 PM
rpm installation?!? Computergirl24 Mandriva 6 01-09-2004 12:10 PM
RPM installation patz Slackware 6 07-24-2003 08:52 PM
RPM installation rheza Slackware 8 04-04-2003 11:45 PM


All times are GMT -5. The time now is 03:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration