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 07-09-2003, 09:12 PM   #1
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
recompiling software


Well I am trying to use cdp in redhat 9 to play audio cds. My cdrom is located in /dev/cdrom1. The man page for cdp says that it will play from the directory /dev/cdrom only unless you soft link your current cdrom directory to that or you can change it in hardware.c . My question is this, how can I recompile after I change that line in hardware.c? Also this command was installed with the distro. Thanks for any help!

P.S. I know the soft link is probably easier but I want some practice recompiling existing programs...
 
Old 07-09-2003, 09:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You'll want to get the RH source rpm for the program,
I'd say, otherwise your rpm database would be out
of sync...

man rpm
for what to do once you have it :}


Cheers,
Tink
 
Old 07-09-2003, 10:45 PM   #3
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Ok well I installed and did all the source rpm stuff. I also changed the line in hardware.c so that it looks for /dev/cdrom1 and when I type cdp at the command line nothing happens I just get another prompt. What is wrong now? Thanks
 
  


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
Help Recompiling the Kernel dedric Linux - Newbie 4 09-13-2004 01:23 AM
recompiling the kernel help SonKun Linux - General 3 09-01-2003 04:40 PM
Recompiling the kernel AMDPwred Linux - Software 3 06-21-2003 06:08 PM
Kernel Recompiling wonderpun Slackware 7 08-24-2002 04:55 AM
Recompiling Kernel dai Linux - General 3 08-05-2002 04:24 AM


All times are GMT -5. The time now is 11:56 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