Hei!
Yritän asentaa MPlayeriä Mandrake 9.1:een. Konffaus antaa kuitenkin tällaisen virheen: X11 support required for GUI compilation.
Yritän siis saada GUI:n mukaan. Muu käännöksen aikainen info on seuraavanlaista:
./configure --with-codecsdir=/usr/local/MPlayer/codecs
--enable-gui --with-x11libdir=/usr/X11R6/lib --with-x11incdir=/usr/X11R6/include
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2.2, ok
Checking for CPU vendor ... GenuineIntel (6:3:4)
Checking for CPU type ... Pentium II (Klamath)
Checking for GCC & CPU optimization abilities ... pentium2
Checking for kernel support of mmx ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.18) ... ok
Checking for Linux kernel version ... 2.4.21-0.13mdk, ok
Checking for awk ... mawk
Checking for extra headers ... -I/ost
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... 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 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 BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... no
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 vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using -I/usr/X11R6/include)
Checking for X11 libs presence ... yes (using -L/usr/X11R6/lib)
Checking for X11 ... no
Checking for DPMS ... no
Checking for Xv ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for DGA ... no
Checking for OpenGL ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... no
Checking for GIF support ... no
Checking for VESA support ... yes
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit2
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... no
Checking for freetype >= 2.0.9 ... no
Checking for fribidi with charsets ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for faad2 (AAC) support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/MPlayer/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/local/MPlayer/codecs)
Checking for RealPlayer DLL ... yes (using /usr/local/MPlayer/codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5 ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (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 EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... yes
Error: X11 support required for GUI compilation
Yritän asentaa MPlayeriä Mandrake 9.1:een. Konffaus antaa kuitenkin tällaisen virheen: X11 support required for GUI compilation.
Yritän siis saada GUI:n mukaan. Muu käännöksen aikainen info on seuraavanlaista:
./configure --with-codecsdir=/usr/local/MPlayer/codecs
--enable-gui --with-x11libdir=/usr/X11R6/lib --with-x11incdir=/usr/X11R6/include
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2.2, ok
Checking for CPU vendor ... GenuineIntel (6:3:4)
Checking for CPU type ... Pentium II (Klamath)
Checking for GCC & CPU optimization abilities ... pentium2
Checking for kernel support of mmx ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.18) ... ok
Checking for Linux kernel version ... 2.4.21-0.13mdk, ok
Checking for awk ... mawk
Checking for extra headers ... -I/ost
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... 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 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 BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... no
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 vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using -I/usr/X11R6/include)
Checking for X11 libs presence ... yes (using -L/usr/X11R6/lib)
Checking for X11 ... no
Checking for DPMS ... no
Checking for Xv ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for DGA ... no
Checking for OpenGL ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... no
Checking for GIF support ... no
Checking for VESA support ... yes
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit2
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... no
Checking for freetype >= 2.0.9 ... no
Checking for fribidi with charsets ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for faad2 (AAC) support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/MPlayer/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/local/MPlayer/codecs)
Checking for RealPlayer DLL ... yes (using /usr/local/MPlayer/codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5 ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (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 EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... yes
Error: X11 support required for GUI compilation
Vastaukset 5
Vanhimmat
Opettele käyttämään googlea.
http://mplayerhq.hu/pipermail/mplayer-users/2002-June/016098.html
Miksi kääntää MPlayer, koska se löytyy rpm-pakettina Mandrake 9.1 asennuslevyltä ja Mandraken paketinhallinta ohjelma osaa asentaa sen ilman kommervenkkejä?
Esimerkiksi koska käännöksessä mplayer tulee optimoitua prosessoriarkkitehtuurin mukaan. Valmiiksi käännetyssä binäärissä ei optimointeja ole mukana.
Kirjoittanut: aaa, 27.10.2003 klo 15.32
"Esimerkiksi koska käännöksessä mplayer tulee optimoitua prosessoriarkkitehtuurin mukaan."
Heh... Joo... Mutta nuo optimoinnit eivät ole aloittelijoiden touhuja - kuten todettu mm. tällä palstalla esitettyjen kysymysten perusteella.
Tosin hyötykin voi olla suht' vähäinen tai jopa täysin marginaalinen.
Eipä se nyt niin vaikeaa ole antaa mplayerin lähdekoodipaketin configuren antaa itse etsiä sopivat käännösoptiot. Jos välttämättä haluaa hienosäätää, voi configurelle antaa itse --enable-mmx/3dnow/sse jne. optiota.