LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 880|回复: 10

再次问一下mplayer安装问题~~~~~~

[复制链接]
发表于 2004-11-20 23:35:29 | 显示全部楼层 |阅读模式
那篇贴子我看了14页了,没解决~~~~


到这步出问题了:

[root@localhost MPlayer-1.0pre5]# ./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 ... not found
Checking for gcc 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 ... 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 than the ones we use. Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder). If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 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/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

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

后来aaccdd班主说缺东西,又用这个命令:

[root@localhost MPlayer-1.0pre5]# redhat-config-packages --isodir=/dir/
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 160, in ?
im = get_method(args)
File "/usr/share/redhat-config-packages/config.py", line 53, in get_method
return method.LoopbackIsoInstallMethod(isodir)
File "/usr/share/redhat-config-packages/method.py", line 323, in __init__
self.discImages = findIsoImages(tree)
File "/usr/share/redhat-config-packages/method.py", line 792, in findIsoImages files = os.listdir(path)
OSError: [Errno 2] 没有那个文件或目录: '/dir/'
我的硬盘上有系统盘呀,
这是哪个地方错了?

老大,帮我呀!!!
发表于 2004-11-21 00:15:24 | 显示全部楼层
我直接把那些解码的放到/usr/lib/win32里。
 楼主| 发表于 2004-11-21 00:25:49 | 显示全部楼层
关键问题是编译出错了
安不上了
怎么办呢?
太平洋里的水 该用户已被删除
发表于 2004-11-21 02:50:51 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2004-11-21 08:07:59 | 显示全部楼层
redhat-config-packages --isodir=/dir应该不会有问题的,
可能是你的目录没有设对吧??dir是你自己的ISO 文件的目录。


应该是你没有安装gcc的原因吧!!
 楼主| 发表于 2004-11-21 12:56:43 | 显示全部楼层
gcc安装上了,
但是在编译libpng-1.2.5的时候又出错了:

[root@localhost libpng-1.2.5]# ./configure

  There is no "configure" script for Libpng-1.2.5.  Instead, please
  copy the appropriate makefile for your system from the "scripts"
  directory.  Read the INSTALL file for more details.

[root@localhost libpng-1.2.5]#

aaccdd班主说是要copy东西,是从哪个目录复制到哪个目录呀?
卡在这里了,帮我~~~~~~~~~~~~~~~~`
发表于 2004-11-21 13:02:15 | 显示全部楼层

回复: 再次问一下mplayer安装问题~~~~~~

编译安装mplayer是最麻烦不过的事情,即便成功也没有可再现性的保证。还是用自动安装的包管理比较好。
原先我也编译安装,费了一天才解决,最后还是不很稳定。唉,谁叫mplayer需要那么多库文件支持?凡事一复杂,出错概率就大。我后来虽然aptget装了,但是也不怎么用mplayer了。万一习惯了,以后重装系统还要再来,烦死人了。更何况从mplayer的编译安装中所学到的不具有创新含量,不值得耗费精力。
最初由 客客 发表
那篇贴子我看了14页了,没解决~~~~


到这步出问题了:

[root@localhost MPlayer-1.0pre5]# ./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 ... not found
Checking for gcc 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 ... 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 than the ones we use. Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder). If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 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/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

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

后来aaccdd班主说缺东西,又用这个命令:

[root@localhost MPlayer-1.0pre5]# redhat-config-packages --isodir=/dir/
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 160, in ?
im = get_method(args)
File "/usr/share/redhat-config-packages/config.py", line 53, in get_method
return method.LoopbackIsoInstallMethod(isodir)
File "/usr/share/redhat-config-packages/method.py", line 323, in __init__
self.discImages = findIsoImages(tree)
File "/usr/share/redhat-config-packages/method.py", line 792, in findIsoImages files = os.listdir(path)
OSError: [Errno 2] 没有那个文件或目录: '/dir/'
我的硬盘上有系统盘呀,
这是哪个地方错了?

老大,帮我呀!!!
发表于 2004-11-21 13:03:15 | 显示全部楼层
如果你是redhat下,用apt for rpm也可以,只要找到相关mirror站点
 楼主| 发表于 2004-11-21 13:21:02 | 显示全部楼层
老哥,我的真是redhat9.0
你说的apt for rpm是个软件吗?'
在哪里有下载?

谢谢你了~~~~~~~~老大!
发表于 2004-11-21 22:15:19 | 显示全部楼层
Error: Bad gcc version
找个新一点的版本/试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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