LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-23-2006, 05:42 PM   #1
galle
Member
 
Registered: Sep 2003
Location: Bergen, Norway
Distribution: Debian testing
Posts: 69

Rep: Reputation: 16
Mplayer build: configure finds ALSA, but mplayer doesn't[SOLVED]


Hello!

I just built mplayer from source on my amd64 debian testing machine. './configure --enable-gui --enable-menu' outputs (among other things):
Code:
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
and in the end:
Code:
  Enabled optional drivers:
    Input: ftp network tv-v4l2 tv-v4l tv mpdvdkit2 vcd dvb
    Codecs: libavcodec real xanim faad2(internal) libmpeg2 liba52 mp3lib tremor(internal) libmad
    Audio output: alsa jack esd arts oss nas mpegpes(dvb)
    Video output: xvidix cvidix md5sum pnm jpeg png mpegpes(dvb) opengl xv x11 xover tga
    Audio filters:
  Disabled optional drivers:
    Input: vstream tv-bsdbt848 live555 cdda dvdread smb
    Codecs: qtx opendivx x264 xvid libdv amr_wb amr_nb dshow/dmo win32 faac musepack libdts libtheora speex twolame toolame liblzo gif
    Audio output: sgi sun openal polyp dxr2 dsound win32 sdl
    Video output: winvidix bl zr zr2 dxr3 dxr2 directx sdl vesa gif89a fbdev svga caca aa ggi xmga mga dga xvmc directfb tdfx_vid s3fb tdfxfb 3dfx
    Audio filters: ladspa
so everything should be fine concerning ALSA. Then I do the build (using the suggested command 'DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary') and the install of the debian-package without any errors. However the installed mplayer doesn't have ALSA output:
Code:
jorgen@panter:~/dill/mplayer/MPlayer-1.0pre8$ mplayer -ao help
MPlayer 1.0pre7try2-3.4.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


Available audio output drivers:
        mpegpes DVB audio output
        oss     OSS/ioctl audio output
        null    Null audio output
        pcm     RAW PCM/WAVE file writer audio output
Anyone knows what I have to do to get ALSA?

Cheers!

Last edited by galle; 08-24-2006 at 05:36 AM.
 
Old 08-23-2006, 06:14 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Okay this maybe totally unrelated, but an observation:

Are you trying to compile MPlayer 1.0pre8? If so, why would the compile show "MPlayer 1.0pre7try2-3.4.6"?

I'm not sure how builds work in Debian, but I would have run:
# ./mplayer -ao help
from the build directory which would check the local binary.
 
Old 08-24-2006, 04:16 AM   #3
galle
Member
 
Registered: Sep 2003
Location: Bergen, Norway
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 16
Ahh, excellent.

The ./mplayer -ao help in the build directory yielded the expected audio output. I had totally forgotten the old install (not installed in the debian way ). Now I just have to clean that one out...

Thanks for the observation!!
 
Old 10-10-2007, 05:21 PM   #4
LAj
LQ Newbie
 
Registered: Sep 2006
Location: Italy, Napoli
Distribution: Gentoo 2006.1
Posts: 11

Rep: Reputation: 0
Hi all,
I've the same problem with same configure output but ./mplayer -ao help doesn't show alsa output!
Why

Bye Galle, say hello to Bergen: beautiful town.

Last edited by LAj; 10-10-2007 at 05:23 PM.
 
Old 10-10-2007, 07:40 PM   #5
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Can you check if alsa-lib is linked properly using 'ldd' ?

[mirandam@charon MPlayer-1.0rc2]$ ldd ./mplayer | grep asound
libasound.so.2 => /lib/libasound.so.2 (0x0555a000)
 
Old 10-13-2007, 06:14 PM   #6
LAj
LQ Newbie
 
Registered: Sep 2006
Location: Italy, Napoli
Distribution: Gentoo 2006.1
Posts: 11

Rep: Reputation: 0
yes,
I think:

Code:
laj@NeXT:~/Desktop/mplayer-checkout-2007-09-19$ ldd ./mplayer | grep asound
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb71f5000)
laj@NeXT:~/Desktop/mplayer-checkout-2007-09-19$
on Ubuntu
 
  


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
mplayer-plugin from source will not build djinn1973 Mandriva 1 03-28-2005 06:30 AM
mplayer and alsa irfanhab Slackware 3 11-19-2004 04:44 AM
mplayer build drivers? shanenin Linux - Software 4 10-06-2004 07:16 AM
mplayer and alsa tuxgurz Slackware 1 09-19-2004 01:09 PM
Gaim 0.71: pkg-config finds 2.2.3, ./configure finds 2.2.1 GreenPenInc Linux - Software 3 10-23-2003 08:00 PM

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

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