LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2004-7-22 22:38:19 | 显示全部楼层
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.3 version ... not fo und
Checking for gcc-3.2 version ... not fo und
Checking for gcc-3.1 version ... not fo und
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not fo und
Checking for cc version ... not found

*** Please downgrade/upgrade C compiler  to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler.  We do not have the time to make sure
everything works with compilers other t han the ones we use.  Use either the
same compiler as we do, or use --disabl e-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after rec ompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompil e
mplayer and lame (which is used for men coder).  If you get compile errors,
first upgrade to the latest 2.96 releas e (minimum 2.96-85) and try again.
If the problem still exists, try with g cc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE  SUPPORTED BY US !

    *** For details please read DOCS/HT ML/en/users-vs-dev.html ***


Error: Bad gcc version

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

好像缺什么东西是不是啊?
 楼主| 发表于 2004-7-22 22:46:23 | 显示全部楼层
缺少gcc编译器,
或者使用“系统设置--添加/删除应用程序”工具
安装开发--开发工具;
从光盘添加删除软件包,
如果有安装光盘,
按照提示插入光盘;
如果是硬盘安装,
用命令:
# system-config-packages  --isodir=/dir/ (FC2)
# redhat-config-packages --isodir=/dir/  (rh9/FC1)
发表于 2004-7-23 08:20:36 | 显示全部楼层
召唤哈密瓜的新版包。:p :p
发表于 2004-7-23 20:34:54 | 显示全部楼层
我是买过来的FC2,提示我放入第二张安装盘,放进去后老是说不正确,真是气死人了!我有两个光驱,随便放入哪个光驱都不行啊,但是在/mnt/cdrom里可以看到光盘的内容的!
 楼主| 发表于 2004-7-23 22:33:38 | 显示全部楼层
用mount命令挂载安装光盘,
mount -t iso9660 /dev/cdrom /mnt/cdrom
找到libgcc-3.x.rpm,gcc-3.x.rpm,gcc-c++-3.x.rpm,
安装上。
发表于 2004-7-24 00:23:28 | 显示全部楼层
我完全按楼主的教程做的,很成功,但是一个问题是:
不能播放RM……
请请教一下……
 楼主| 发表于 2004-7-24 09:25:16 | 显示全部楼层
1,如果没有安装rp8/rp9win32 解码器
到MPlayer官方网站下载,
直接解压到前面所选的目录下,
如/usr/lib/codecs/

2,播放时指定解码器,
不是随便指定,
先播放rm/rmvb文件,
查看终端信息,
  1. ....
  2. ==========================================================================
  3. 打开视频解码器: [realvid] RealVideo decoder
  4. opening win32 dll 'drv43260.dll'
  5. Called unk__beginthreadex
  6. Selected video codec: [rv40win] vfm:realvid (Win32 RealPlayer 9 RV40 decoder)
  7. ==========================================================================
  8. ...
复制代码

一般情况下,不需要指定解码器,除非使用默认解码器出错。

前面几篇贴子说到了播放不了文件的问题,
请兄弟看一下。
发表于 2004-7-24 16:50:42 | 显示全部楼层

感谢aaccdd兄,已成功安装

十分感谢 aaccdd兄,您的详细的讲解对像我一样的菜鸟来说是太有用处了,但我这里有一个小问题。当在我终端上输入gmplayer后,出现一个警告:New_Face failed Maybe the font path is wrong Please supply the text  font file(~/.mplayer/subfont.ttf)
请问如何解决这个问题?
 楼主| 发表于 2004-7-24 17:42:46 | 显示全部楼层
感谢aaccdd兄,已成功安装

十分感谢 aaccdd兄,您的详细的讲解对像我一样的菜鸟来说是太有用处了,但我这里有一个小问题。当在我终端上输入gmplayer后,出现一个警告: New_Face failed Maybe the font path is wrong Please supply the text font file(~/.mplayer/subfont.ttf)
请问如何解决这个问题?

$ ln -s /usr/share/fonts/zh_CN/TrueType/gbsn00lp.ttf ~/.mplayer/subfont.ttf
上面的gbsn001p.ttfm每个新装的系统一定有,也可以选其它的字体。
发表于 2004-7-24 18:41:52 | 显示全部楼层

十分感谢aaccdd兄,上面问题 已经 解决

aaccdd兄, 播放文件时视频一切正常,但是出现一个提示,NO audio/video stream
or unsupported 于是便没有了声音.我用xmms播放mp3时也没有声音,请问兄长这个问题 如何解决,不胜感激!



下面是我在终端输入相应命后的显示,请问兄长"没有那个文件或目录"是何意?
[root@ytht sound]# gmplayer
MPlayer 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1467 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: 73 audio & 180 video codecs
/usr/share/fonts/zh_CN/TrueType/tahoma.ttf doesn't look like a font description, ignoring
无法加载字体: /usr/share/fonts/zh_CN/TrueType/tahoma.ttf
使用Linux的硬件RTC计时(1024Hz)
Input config file /root/.mplayer/input.conf parsed: 53 binds
/etc/gtk/gtkrc:5: error: unexpected keyword `style', expected character `}'
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'

正在退出... (Exit
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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