[MPlayer-users] building from source

Geoffrey Leach geoff at hughes.net
Sat May 2 22:24:48 CEST 2009


On 04/24/2009 01:26:34 AM, Axel Thimm wrote:
> On Thu, Apr 23, 2009 at 08:00:10PM -0700, Geoffrey Leach wrote:
> > On 04/23/2009 06:24:29 PM, The Wanderer wrote:
> > > Geoffrey Leach wrote:
> > > > I build a default-configuration mplayer from the current 
> source.
> > > > Works fine, except that there is no sound. Distribution version
> > > > works fine.
> > > > 
> > > > What am I missing?
> > > 
> > > At a guess, you're probably missing the development headers for
> the
> > > various audio-output libraries which MPlayer can be compiled to
> use.
> > > What does 'mplayer -ao help' on the compiled version say?
> > 
> > Well, there's certainly a difference :-) As I'm running alsa, and
> its 
> > missing from the locally-compiled version, that's probably what the 
> > problem is. So how do I correct it?
> 
> You need to install the alsa-lib-devel package.
> 
> On Thu, Apr 23, 2009 at 08:02:34PM -0700, Geoffrey Leach wrote:
> > > Can I ask which distro?
> > 
> > Of course :-)
> > # rpm -qi mplayer
> > Version     : 1.0                               Vendor: ATrpms.net
> > Release     : 64_snap20081116.fc10          Build Date: Thu 27 Nov
> 2008 
> 
> There is a newer package available (1.0-68_snap20090419.fc10).
> 
> Try
> 
> yum-builddep mplayer
> 
> so your system installs all of the required build dependencies needed
> for mplayer, then try again building from source. yum-builddep is 
> part
> of yum-utils, if it isn't installed on your system.
> -- 
> Axel.Thimm at ATrpms.net
> 

Sorry, no joy. PVR was offline for memory replacement, but now its 
back.

./mplayer -ao help

MPlayer SVN-r29205-4.3.2 (C) 2000-2009 MPlayer Team
Available audio output drivers:
	oss	OSS/ioctl audio output
	alsa	ALSA-0.9.x-1.x audio output
	mpegpes	DVB audio output
	v4l2	V4L2 MPEG Audio Decoder output
	null	Null audio output
	pcm	RAW PCM/WAVE file writer audio output

versus

/usr/bin/mplayer -ao help
MPlayer SVN-r27937 (C) 2000-2007 MPlayer Team

Available audio output drivers:
	oss	OSS/ioctl audio output
	alsa	ALSA-0.9.x-1.x audio output
	arts	aRts audio output
	esd	EsounD audio output
	pulse	PulseAudio audio output
	jack	JACK audio output
	sdl	SDLlib audio output
	mpegpes	DVB audio output
	v4l2	V4L2 MPEG Audio Decoder output
	null	Null audio output
	pcm	RAW PCM/WAVE file writer audio output

Are there cross-dependencies? In particular, I don't have PulseAudio 
running, which might be a bit unusual.

Axel, thanks for the suggestion of yum-builddep. My repo does not have 
atrpms-source, so I need to go looking for that.




More information about the MPlayer-users mailing list