runningwater 发表于 2006-7-16 21:37:59

FC5中gcc的问题,求助……

我使用的是FC5下载了MPlayer,想安装,下载的是gz格式的,解压后使用"./configure"弹出如下错误信息:

Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 4.1.1, bad
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.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/users_against_developers.html ***


Error: Bad gcc version

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

首先就是GCC版本不对,我怎么才能安装上GCC呢?我在Add/Remove software中把软件开发中的所有gcc都选中安装了,也是这样。

高手帮忙啊~

love_eva 发表于 2006-7-17 08:51:13

用yun安装吧..很方便的..运行一个命令后所有的缺少的包都帮你安装好~

具体内容看
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=160794&postdays=0&postorder=asc&start=45

这个帖子吧.

yun真是个实用的软件..方便快捷..很好安装的~

fox_eagle2003 发表于 2006-7-17 11:44:07

gcc等开发工具没有安装或是版本太低了

潇湘馆主 发表于 2006-7-17 12:23:23

安装盘里有,不喜欢上网yum自己找一下也行 :mrgreen::mrgreen:

runningwater 发表于 2006-7-17 13:51:17

谢谢大家,我的gcc是4.X的版本绝对不会比它提示的老,使用YUM也无法安装MPLAYER,因为软件仓库中没有,我下载了YUMEX,并且将LIVNA加入到仓库中,安装成功了。谢谢大家。

潇湘馆主 发表于 2006-7-17 14:01:52

某些情况下,需要gcc-3,不妨装一个,一开始gcc-3和gcc-4也是并行的,不过gcc4逐渐稳定,即将取代3了

love_eva 发表于 2006-7-17 14:15:13

对了。。帖子里面的安装MPLAYER的命令是错的。。

yum install MPLAYER

这个是安装MPLAYER的命令。。帖子里的是错误的~

我也上当了。。

潇湘馆主 发表于 2006-7-17 14:24:06

我没校对过 :mrgreen::mrgreen:
反正软件名就是了

虽然工具简单,但总是改不了自己找的习惯,想当年,RH9上KDE3.3.1,FC2上KDE3.4.1……

jozhu 发表于 2006-7-17 18:49:37

呵呵,mplayer需要用gcc 3系列才能编译安装的

runningwater 发表于 2006-7-19 14:33:56

谢谢大家的帮助~
页: [1]
查看完整版本: FC5中gcc的问题,求助……