[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ALSA website



On 26-10-12 21:40, Andrei POPESCU wrote:
On Vi, 26 oct 12, 19:34:36, steef wrote:
On 26-10-12 18:47, Andrei POPESCU wrote:
I think this may be the difference. Can you please post the output of
'ldd your_mplayer'?

here it comes:
steef@squeeze:~/mplayer$ ldd mplayer

[...]

As far as I can tell a lot of these libraries are installed from outside
Debian.

mmmmm: if you compile the sourcecode it starts as you know with a
check put down in a file. in this check_file you can find back all
the possibilities the program, when installed, after make and sudo
make install, will be able to.

Ok, here's what I know about compiling stuff from source (this may or
may not apply to mplayer though):

After unpacking the source tarball you usually only have to run:

     ./configure
     make
     make install

The 'configure' script is analysing your system for installed
*development* libraries and configures the source accordingly[1]. In my
experience the 'configure' script is quite verbose and you can look at
its output to spot disabled features due to missing development
libraries.

[1] usually some features can also be disabled manually, but this is not
relevant here

If my description above is familiar and you are interested in building
mplayer as much as possible with Debian libraries[2] then please post
the output of ./configure (or equivalent).

Or you can just ignore me and wait until you can download the ALSA
sources again ;)

[2] There are advantages in using Debian libraries as much as possible,
but you may have your own reasons to diverge

Kind regards,
Andrei


yes  your description is most familiar.

here the output of the sid machine on which the bij me compiled svn_mplyer as you can see, refuses to recognize the native kernel alsa-driver:

steef@sid:~/mplayer$ ./configure
Already on 'master'
remote: Counting objects: 7436, done.
remote: Compressing objects: 100% (3559/3559), done.
remote: Total 4420 (delta 3567), reused 975 (delta 853)
Receiving objects: 100% (4420/4420), 792.72 KiB | 1.06 MiB/s, done.
Resolving deltas: 100% (3567/3567), completed with 1083 local objects.
>From git://source.ffmpeg.org/ffmpeg
   aaf78e4..5b45b66  master     -> origin/master
   be2dd25..36982b3  release/0.10 -> origin/release/0.10
 * [new tag]         n0.10.6    -> n0.10.6
First, rewinding head to replay your work on top of it...
Fast-forwarded master to 5b45b66220ffdf37619dbd70e41df31651db3f93.
Checking for cc version ... 4.7
Checking for working compiler ... yes
Detected operating system: Linux
Detected host architecture: i386
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:26:5)
Checking for CPU type ...  Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of sse3 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of sse4_1 ... yes
Checking for kernel support of sse4_2 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for relocatable binary ... no
Checking for assembler (as ) ... ok
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for ebx availability ... yes
Checking for yasm ... yasm
Checking for bswap ... yes
Checking for xmm clobbers ... yes
Checking for Linux kernel version ... 3.2.0-4-686-pae, ok
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for cbrtf ... yes
Checking for exp2 ... yes
Checking for exp2f ... yes
Checking for isnan ... yes
Checking for isinf ... yes
Checking for llrint ... yes
Checking for llrintf ... yes
Checking for log2 ... yes
Checking for log2f ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for rint ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for trunc ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... yes
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... no
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for networking ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for SCTP ... no
Checking for sys/poll.h ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... no
Checking for termios ... yes (using termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... no
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for /dev/mga_vid ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... yes
Checking for X11 ... yes
Checking for Xss screensaver extensions ... no
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... no
Checking for XvMC ... no
Checking for Video Decode Acceleration (VDA) ... no
Checking for VDPAU ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... no
Checking for XF86keysym ... yes
Checking for DGA ... no
Checking for xmga ... no
Checking for 3dfx ... no
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... yes
Checking for PNG support ... yes
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG 2000) support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for OpenGL ... no
Checking for MatrixView ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... yes
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for Blu-ray support ... no
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for libcdio ... no
Checking for cdparanoia ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for SSA/ASS support ... yes
Checking for ENCA ... no
Checking for zlib ... yes
Checking for bzlib ... no
Checking for RTC ... yes
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... no
Checking for libspeex (version >= 1.1 required) ... no
Checking for libgsm ... no
Checking for OggTheora support ... no
Checking for mpg123 support ... no
Checking for liba52 support ... no
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... no
Checking for libopus decoding support ... no
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... yes
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for RTMPDump Streaming Media library ... no
Checking for FFmpeg ... yes
Checking for libpostproc ... yes
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for CrystalHD ... no
Checking for Xvid ... no
Checking for Xvid two pass plugin ... no
Checking for x264 ... no (in FFmpeg: no)
Checking for libdirac ... no
Checking for libschroedinger ... no
Checking for libvpx ... no
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in FFmpeg: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... auto
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... auto
Checking for Video 4 Linux Radio interface ... auto
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Checking for XML catalogs ... SGML catalog
Checking for XML chunked stylesheet ... chunk.xsl
Checking for XML monolithic stylesheet ... docbook.xsl
Checking for XML DTD ... docbookx.dtd
Checking for valid XSLT processor ... xsltproc not found
Creating config.mak
Creating config.h

Config files successfully generated by ./configure  !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
Input: dvdnav(internal) ftp pvr tv-v4l2 tv libdvdcss(internal) dvdread(internal) vcd dvb networking
    Codecs: ffmpeg(internal) qtx real xanim win32 libmpeg2(internal)
    Audio output: oss v4l2 mpegpes(dvb)
Video output: v4l2 pnm mpegpes(dvb) fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga

  Disabled optional drivers:
Input: vstream radio tv-v4l1 tv-dshow librtmp live555 nemesi cddb cdda bluray smb Codecs: libvpx libschroedinger libdirac x264 xvid crystalhd libdv libopencore_amrwb libopencore_amrnb libopus faad2 faac musepack libdca liba52 mpg123 libtheora libgsm speex libvorbis toolame twolame libmad liblzo gif OpenJPEG
    Audio output: sun alsa openal jack pulse nas esd arts ivtv dxr2 sdl
Video output: zr zr2 ivtv dxr3 dxr2 matrixview opengl sdl vesa gif89a jpeg mng svga caca aa ggi winvidix 3dfx xmga dga vdpau xvmc xv directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check config.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.


regards,

steef


Reply to: