QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: cnhnln

手把手教你编译安装MPlayer-1.0pre5转贴

[复制链接]
发表于 2006-3-25 14:46:06 | 显示全部楼层

help

按照写的一步一步装好之后,
输入gmplayer命令显示:
bash: mplayer: command not found
怎么事啊?
回复

使用道具 举报

发表于 2006-3-25 19:57:01 | 显示全部楼层
配置时出错:

heshaohua:/home/Ddisk/down/MPlayer-1.0pre5/MPlayer-1.0pre7try2# ./configure --enable-gui --with-codecsdir=/usr/lib/codecs --with-win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --with-xanimlibdir=/usr/lib/codecs --disable-inet6 --language=zh_CN
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.3, bad
Checking for gcc version ... 4.0.3, bad
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... 3.3.6, ok
Checking for host cc ... gcc-3.3
Checking for CPU vendor ... GenuineIntel (6:11:4)
Checking for CPU type ...  Intel(R) Celeron(TM) CPU                1200MHz
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 support of -pipe option ... yes
Checking for assembler (as 2.16.91) ... ok
Checking for Linux kernel version ... 2.6.8-2-386, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for i18n ... yes
Checking for iconv ... yes
Checking for langinfo ... yes
Checking for language ... using zh_CN (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 nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
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 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 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 sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
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 XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... auto
Checking for XF86keysym ... 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 CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... no
Checking for PNM support ... yes
Checking for md5sum support ... yes
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 Polyp ... no
Checking for JACK ... 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 (libdvdread) ... disabled by libmpdvdkit2
Checking for cdparanoia ... no
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for Matroska support ... yes
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/lib/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/lib/codecs)
Checking for RealPlayer DLL ... yes (using /usr/lib/codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for amr narrowband ... no
Checking for amr narrowband, fixed point ... no
Checking for amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... 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 ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... no
Checking for gethostbyname2 ... yes
Checking for GUI ... yes

Error: X11 support required for GUI compilation

Check "configure.log" if you do not understand why it failed.
heshaohua:/home/Ddisk/down/MPlayer-1.0pre5/MPlayer-1.0pre7try2#


怎样解决啊?
回复

使用道具 举报

发表于 2006-3-25 20:31:17 | 显示全部楼层
楼上的问题应该这个帖子就有回答。
回复

使用道具 举报

发表于 2006-3-25 23:52:28 | 显示全部楼层
可是我看完整个帖子都没看到啊?
原来是:
Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

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

于是我安装libpng-dev 再./configure....

就成这样:Error: X11 support required for GUI compilation
回复

使用道具 举报

发表于 2006-3-26 01:16:27 | 显示全部楼层

求助!FC5装Mplayer

大虾!我新装的FC5,gcc是4.1,configure时出现以下错误Bad gcc version:若不改变gcc版本而安装Mplayer该怎么办阿?
Checking for cc version ... 4.1.0, bad
Checking for gcc version ... 4.1.0, bad
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.1.0,
回复

使用道具 举报

发表于 2006-3-26 10:12:17 | 显示全部楼层

Re: 求助!FC5装Mplayer

[quote:69e55ccf14="linuxczf"]可是我看完整个帖子都没看到啊?
原来是:
Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

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

于是我安装libpng-dev 再./configure....

就成这样:Error: X11 support required for GUI compilation[/quote]
gtk+-devel
[quote:69e55ccf14="xl6668"]大虾!我新装的FC5,gcc是4.1,configure时出现以下错误Bad gcc version:若不改变gcc版本而安装Mplayer该怎么办阿?
Checking for cc version ... 4.1.0, bad
Checking for gcc version ... 4.1.0, bad
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.1.0,[/quote]
搜旧贴
有两个选择:
1、加 patch ,让 mplayer 的代码支持 gcc4
2、使用最新的 CVS 版本代码
回复

使用道具 举报

发表于 2006-3-26 18:18:25 | 显示全部楼层
thank you !
我试下。
回复

使用道具 举报

发表于 2008-3-26 11:09:43 | 显示全部楼层

re:求助 fedora4

我在vmware下,装了vmware tools,装了fedora4 ,装mplayer-1。0.pre8.tar.blue-1.4.tar;gb2312-ming.tar;all-20061022.tar;windows-all-20061022;编译都没报错。最后运行mplayer报:mplayer: command not found。请帮忙指导
回复

使用道具 举报

发表于 2008-3-26 19:35:27 | 显示全部楼层
原帖由 zhangrming 于 2008-3-26 11:09 AM 发表
我在vmware下,装了vmware tools,装了fedora4 ,装mplayer-1。0.pre8.tar.blue-1.4.tar;gb2312-ming.tar;all-20061022.tar;windows-all-20061022;编译都没报错。最后运行mplayer报:mplayer: command not foun ...

又一个完全照抄教程的。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-20 02:26 , Processed in 0.073967 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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