红联Linux门户
Linux帮助

安装 mplayer 时,配置configuer出现的问题,请教解决方法及原因。

发布时间:2009-11-30 14:51:52来源:红联作者:anlazs
[i=s] 本帖最后由 anlazs 于 2009-11-30 15:20 编辑 [/i]

http://blog.china.com/u/090320/302661/200903/4547385.html附安装参考教程。
在安装mplayer时,解码器配置完了,运行
[root@an MPlayer-1.0pre5]# ./configure --prefix=/usr/local/mplayer/ --enable-gui --with-codecsdir=/usr/lib/codecs/ --with-win32libdir=/usr/lib/wincodecs/Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.4.1, bad
Checking for gcc version ... 4.4.1, bad
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.4.1, bad

*** 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.

请问是gcc安装有问题吗?是不是版本不能,应该安装哪个?谢谢啦。
文章评论

共有 5 条评论

  1. anlazs 于 2009-12-02 09:24:51发表:

    5# shiyouming


    我用的是gcc 4.1.0 应该是最新版,难道说新版不兼容旧版?

  2. shiyouming 于 2009-12-01 17:48:03发表:

    要求gcc编译器2.95以上版本

  3. soyma 于 2009-12-01 12:13:26发表:

    GCC也不太好装,也需要CONFIG一

  4. 01382140 于 2009-12-01 11:49:22发表:

    是GCC的问题。用GCC3版本

  5. jallyx 于 2009-12-01 10:49:21发表:

    奇怪,我用的fedora12都没有问题啊。
    配置命令不要太长了,
    ./configure --enable-gui --enable-menu
    把这个拿去试试!