[MPlayer-users] problem with configuring mplayer

Juraj Buliscak durec at durec.info
Tue Jan 23 21:58:34 CET 2007


Hi all,

I have latest mplayer source, and latest compiled LIVE555 libs
in /usr/local/lib/live on my Ubuntu 6.06 system.

When I run ./configure --enable-live --enable-gui --enable-menu
it fails on:
XShape extension ...
Error: The GUI requires the X11 extension XShape (which was not found).

here is complete listing:

durec at nezabudka:~/install/Mplayer/mplayer$ ./configure --enable-live
--enable-gui --enable-menu --language=sk
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.3, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (6:10:0)
Checking for CPU type ...  AMD Athlon(tm) XP 2500+
Checking for GCC & CPU optimization abilities ... athlon-xp
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as 2.16.91) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.16.20, ok
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using sk (man pages: 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 posix4 ... no
Checking for lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
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 sys/soundcard.h ... yes
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 ... yes (using -lncurses)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB ... yes (0.9.22)
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... 2 (using DGA 2.0)
Checking for OpenGL ... no
Checking for /dev/mga_vid ... yes
Checking for xmga ... yes
Checking for GGI ... yes
Checking for GGI extension: libggiwmh ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... no
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... no
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... yes
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... yes
Checking for JACK ... yes
Checking for OpenAL ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for DVD support (libdvdnav) ... yes
Checking for dvdread ... yes
Checking for internal libdvdcss ... no
Checking for cdparanoia ... yes
Checking for libcdio ... auto (using cdparanoia)
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... yes
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... yes
Checking for mad support ... yes
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes
Checking for OggTheora support ... yes
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... yes
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... yes
Checking for FAAC (AAC encoder) support ... yes (in libavcodec: yes)
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for Win32 codecs ... yes (using /usr/local/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for LIVE555 Streaming Media libraries ... yes (using )
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for md5sum support ... yes
Checking for AMR narrowband ... yes
Checking for AMR narrowband, fixed point ... no (disabled by amr_nb)
Checking for AMR wideband ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... no (in libavcodec: no)
Checking for nut ... no
Checking for libmp3lame (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... failed to autodetect byte order, defaulting
to little-endian
Checking for OSD menu ... yes
Checking for QuickTime codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... no
Checking for gethostbyname2 ... no
Checking for GUI ... yes
Checking for XShape extension ...
Error: The GUI requires the X11 extension XShape (which was not found).

Check "configure.log" if you do not understand why it failed.







configure.log is also attached. Here is few last lines:


============ Checking for XShape extension ============
#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
#include <stdlib.h>
int main(void) {
  char *name = ":0.0";
  Display *wsDisplay;
  int exitvar = 0;
  int eventbase, errorbase;
  if (getenv("DISPLAY"))
    name=getenv("DISPLAY");
  wsDisplay=XOpenDisplay(name);
  if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase))
    exitvar=1;
  XCloseDisplay(wsDisplay);
  return exitvar;
}

cc -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math
-fomit-frame-pointer  -I/usr/include/directfb -I/usr/include
-I/usr/include/  -I/usr/include/SDL -D_REENTRANT
-I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -D_REENTRANT   -I/usr/include
-I/usr/include/dvdnav  -I/usr/include/freetype2 -I/usr/include
-I/liveMedia/include              -I/UsageEnvironment/include
-I/BasicUsageEnvironment/include              -I/groupsock/include
-lncurses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread
-L/usr/lib -ldvdnav -lpthread -lcdda_interface -lcdda_paranoia
-lfreetype -lz -lfontconfig  -L/usr/lib -lfribidi -lz -llzo -lmad
-lspeex  -ltheora -logg   -ldts
-lmpcdec /liveMedia/libliveMedia.a            /groupsock/libgroupsock.a            /UsageEnvironment/libUsageEnvironment.a            /BasicUsageEnvironment/libBasicUsageEnvironment.a            -lstdc++   -ldirectfb  -lXext -lX11  -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lggi -laa -L/usr/lib -lcaca -lslang -lX11 -L/usr/X11R6/lib -lncurses -lncurses -lvga -L/usr/lib -lSDL -lpthread -laudio -lXt -L/usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -lpolyp-0.8 -lpolyp-error-0.8 -lpolyp-mainloop-0.8   -ljack -lfaac  -lfaac -o /tmp/mplayer-conf-27113-25591.o /tmp/mplayer-conf-19189-25591.c
cc: /liveMedia/libliveMedia.a: No such file or directory
cc: /groupsock/libgroupsock.a: No such file or directory
cc: /UsageEnvironment/libUsageEnvironment.a: No such file or directory
cc: /BasicUsageEnvironment/libBasicUsageEnvironment.a: No such file or
directory

ldd /tmp/mplayer-conf-27113-25591.o
ldd: /tmp/mplayer-conf-27113-25591.o: No such file or directory


It seems like live directory cannot be found, but why? These files
exists. It is in the default location /usr/local/lib/live.
Option "--with-livelibdir" not supported anymore.

Could someone help?

Thank you.
durec
-- 
http://durec.info
http://foto.durec.info
http://tatry.durec.info




More information about the MPlayer-users mailing list