QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2461|回复: 6

安装mplayer提示我这个错误该怎么解决?

[复制链接]
发表于 2002-12-18 14:35:12 | 显示全部楼层 |阅读模式
Error: X11 support required for GUI compilation

求教各位专家,谢谢了.

下面是./configure --enable-gui的输出内容

[root@KevinLinux MPlayer-0.90pre10]# ./configure --enable-gui
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2, ok
Checking for CPU vendor ... GenuineIntel (6:11:1)
Checking for CPU type ...  Intel(R) Pentium(R) III Mobile CPU      1000MHz
Checking for GCC & CPU optimization abilities ... pentium3
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.2) ... ok
Checking for Linux kernel version ... 2.4.20, ok
Checking for awk ... gawk
Checking for extra headers ... none
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 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 ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... not found (check if the dev(el) packages are installed)
Checking for X11 libs presence ... not found (check if the dev(el) packages are installed)
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 ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... no
Checking for GIF89a 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 ... yes
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 zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... yes
Checking for FAAD (AAC) support ... no
Checking for Win32 DLL support ... yes (using /usr/lib/win32)
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (no suitable directory found - see DOCS/codecs.html)
Checking for RealPlayer DLL ... no (no suitable directory found - see DOCS/codecs.html)
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 XviD/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 *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for GUI ... yes

Error: X11 support required for GUI compilation

Check configure.log if you do not understand why it failed.
发表于 2002-12-18 14:42:42 | 显示全部楼层
安装XFree86-devel
回复

使用道具 举报

 楼主| 发表于 2002-12-18 15:13:12 | 显示全部楼层
谢谢老大亲自回答,现在上面问题没有了,出现新问题.

关于gtk,rpmfind找到的那个安装会有错误.

[root@KevinLinux download]# rpm -ivh gtk.rpm
warning: only V3 signatures can be verified, skipping V4 signature
Preparing...                ########################################### [100%]
        file /etc/gtk/gtkrc.bg_BG.iso88595 from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.cs from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.cy from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.et from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.ga from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.hr from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.hu from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.lt from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.lv from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.mi from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.mk from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.pl from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.ro from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.ru from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.ru_RU.iso88595 from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.sk from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.sl from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.sp from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.sq from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.sr from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /etc/gtk/gtkrc.uk from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /usr/lib/libgdk-1.2.so.0.9.1 from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
        file /usr/lib/libgtk-1.2.so.0.9.1 from install of gtk-1.2.10-0 conflicts with file from package gtk+-1.2.10-22
回复

使用道具 举报

 楼主| 发表于 2002-12-18 15:55:29 | 显示全部楼层
装了gtk+-devel后好了

不过编译安装好运行gmplayer出错,提示我用--enable-debug重新编译,嘿嘿又有活干了.
回复

使用道具 举报

发表于 2002-12-18 16:26:18 | 显示全部楼层
请问如果用的是rpm安装mplayer,那个win32 codec有什么用??
回复

使用道具 举报

 楼主| 发表于 2002-12-18 16:27:25 | 显示全部楼层
我是自给编译的,不知道rpm怎么样
回复

使用道具 举报

发表于 2002-12-18 17:30:50 | 显示全部楼层
win32 codec是一些win下面媒体的解码器,如果安装了它再编译mplayer能自动加入支持,用rpm包的话得看作者做rpm包时有没有加入这个支持
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-5 05:07 , Processed in 0.059140 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表