LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Debentoo Gao

mplayer[VCD | realplayer | mp3]中文版 解决方案---第三版

[复制链接]
发表于 2002-11-3 14:19:09 | 显示全部楼层

我的mplayer怎么没有gmplayer命令

安装没有错误,也加了--enable-gui选项,可以在命令行中播放wma,rm,avi,但就是不能用gui形式
在/usr/binl里面没有gmplayer,而且.mplayer/config也是空的
发表于 2002-11-3 14:24:44 | 显示全部楼层

怎么没人回应呀, 帮帮我,,,,,,,,,,,,,,,,,,,,,,,,

/configure的时候出现这个错误:
Error: the GUI requires GTK (which was not found)
Check configure.log if you do not understand why it failed.

我已经安装了Gtk-perl之类的几个rpm包了


怎么解决阿?

yosiyosi, 你是怎么解决的呀? 我的也有同样的错误。多谢!
发表于 2002-11-3 15:16:40 | 显示全部楼层

Re: zjshen 是因为你没有装XFree86-devel

最初由 ltkun 发布
Re: zjshen 是因为你没有装XFree86-devel
    果真如此!ltkun兄的指教真的帮了不少人。我装了XFree86-devel包后还提示少了GTK文件,于是再补上GTK+-devel和glib-devel安装包(GTK的依赖包)后,终于装上了mplayer。只是在gmplayer中播放某些mpeg文件时提示我的机器太慢,而用mplayer命令模式播放却又一切正常。我的机器可是p3 733和G400的显卡啊,期待mplayer的继续完善。

     顶楼的问题可补上GTK+-devel和glib-devel试试看。
发表于 2002-11-3 15:47:58 | 显示全部楼层

哈密瓜大侠看过来-mplayer的安装问题

按照你的方法安装
在 configure 时报错
Error: X11 support required for GUI compilation

看了半天configure的脚本,也没明白怎么回事。
用的redhat 8.0
X当然装了

似乎有很多人问这个问题,可否集中解决一下。多谢!
发表于 2002-11-3 16:13:30 | 显示全部楼层

其实在前一贴中已有了解决办法:

http://www.linuxsir.cn/forum.php ... 47&pagenumber=2

如果当初在安装linux时没把所有的包全都装上的话,往往在以后编译过程中会出很多麻烦。因为采用默认的安装方式有许多软件是没被选择安装的。因此建议在安装linux时选择全部安装。
发表于 2002-11-3 16:21:48 | 显示全部楼层
PRE8 is good!
我已经缷掉了PRE9,用上了PRE8,PRE8的mplayer图形界面播放十分流畅。
发表于 2002-11-3 16:21:59 | 显示全部楼层
多谢!
虽然我不赞同把什么都装上
发表于 2002-11-4 00:01:28 | 显示全部楼层
做一个符号链接到/usr/bin下:
ln -s /usr/local/bin/mplayer /usr/bin/gmplayer
发表于 2002-11-4 00:56:06 | 显示全部楼层

rh8下(mplayer)能否将显示输出 到电视?

1
发表于 2002-11-4 01:01:06 | 显示全部楼层

麻烦哈密瓜大哥,你来看看装mplayer的问题是怎么

我现在用的是red hat8.0,(在安装的时候,类型选的是默认的安装,好像是以工作站形式的安装,在选择软件包的时候是选的,everthing,,大约用了5G的空间,这应该是完全安装了巴)我是按照哈密瓜大哥整理的教程一步一步做的,出现这种情况,如下、:
[root@localhost MPlayer-0.90pre9]# ./configure --enable-gui --disable-gcc-checking --with-reallibdir=/usr/lib/real --language=zh
Detected operating system: Linux
Detected host architecture: i386

******************************************************************************

Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler?
Ok. You know. Do it. Did you already read DOCS/users_against_developers.html???

DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault!
Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY!
Lame which is used by mencoder produces weird errors, too.

If you have any problem, install a GCC 2.95.x or 3.x version and try again.
If the problem _still_ exists, then read DOCS/bugreports.html !

  *** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***

******************************************************************************


Checking for CPU vendor ... AuthenticAMD (6:4:2)
Checking for CPU type ...  AMD Athlon(tm) processor
Checking for GCC & CPU optimization abilities ... athlon-tbird
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.2) ... ok
Checking for Linux kernel version ... 2.4.18-14, 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 zh
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 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 ... yes (using /usr/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
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 ... yes
Checking for GIF89a support ... yes
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
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 lzo 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 ... yes
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 GUI ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
Checking for ftello() ... yes
Checking for vidix ... yes
Checking for joystick ... no
Checking for lirc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h
Adding untranslated messages to help_mp.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: athlon-tbird mmx mmx2 3dnow 3dnowex mtrr
    Enabled optional drivers:
    Input: network tv-v4l tv mpdvdkit2 vcd
    Codecs: libavcodec real directshow win32 libvorbis
    Audio output: arts oss sdl mpegpes(file)
    Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev opengl dga xv x11
  Disabled optional drivers:
    Input: tv-bsdbt848 cdda dvdnav dvdread dvdcss
    Codecs: opendivx xvid libdv xanim libmad lzo
    Audio output: sgi sun alsa dxr2 nas
    Video output: bl zr dxr3 dxr2 directx svga aa ggi xmga mga directfb tdfxfb 3dfx
'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/video.html#mtrr)
Check configure.log if you wonder why an autodetection failed (check whether thedevelopment headers/packages are installed).

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

然后我又用make这个命令,出现了这种情况,,,
[root@localhost MPlayer-0.90pre9]# make
make: *** Warning: File `Makefile' has modification time in the future (2002-10-23 13:20:59 > 2001-11-04 00:35:37)
############################################################
####### Please run ./configure again - it's changed! #######
############################################################
make: *** [config.h] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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