LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-04-2012, 03:42 AM   #1
openmind
Member
 
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

Rep: Reputation: 16
Lightbulb Getting mplayer to work in /tools


Hi guys!

I'm building LFS system, entered chroot environment(part III)
I've installed mplayer and ffmpeg in tools directory so that I can run something like this
Code:
make && mplayer <soundfile>
it makes life a lot more easier
To be honest I'm not very familiar how sound system works on linux in general, but mplayer giving me this
Code:
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
I don't have this device on my system I can guess it's some sound device, I don't really know.
So my question is what else audio device can i try from /dev directory?
How else can I play audio on LFS chroot environment?
 
Old 02-04-2012, 03:52 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Installing mplayer isn't part of LFS and I really doubt if you can install it in the chrooted environment at this point. Chapter 6 still uses the kernel from your host.

Mplayer is part of BLFS, have a look here: BLFS - MPlayer-1.0rc1

I would suggest finishing LFS and then have a look at BLFS. You might go straight to the Mplayer page, but I would first do chapters 1 to 3 and possibly some of the more useful optional dependencies that mplayer needs.

Hope this helps.
 
Old 02-04-2012, 04:34 AM   #3
openmind
Member
 
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

Original Poster
Rep: Reputation: 16
Cool

I know that mplayer isn't a part of LFS, but it doesn't change that i need it to work. It's just can't find a right device and i can't point Mplayer into it. Mplayer is installed and playing audio(/dev/null) it just can't find a right device.

*Maybe, I posted it in wrong part of the forum.
To MODERATOR: can it be moved to Software forum?*

Basically what I'm asking, what other device should I use instead of /dev/dsp?


created /dev/dsp all works

Last edited by openmind; 02-04-2012 at 04:47 AM. Reason: solved
 
  


Reply



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
LXer: Best Tools to Get Your Work Done in Linux LXer Syndicated Linux News 0 07-06-2008 06:11 AM
Printer tools not work with CUPS LinLove Linux - Software 1 12-28-2007 09:10 PM
CD buring with GUI tools does not work in SuSE 10.3 GeeBee Linux - Newbie 3 12-21-2007 12:14 PM
Where can I find tools to open and work on harddrives? abefroman General 64 08-20-2005 05:12 AM
Mozilla tools don't work spotslayer Linux - Software 2 02-28-2005 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:18 AM.

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