QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1528|回复: 9

gcc3.2.3的安装/更新问题(for mplayer)

[复制链接]
发表于 2003-7-3 09:22:01 | 显示全部楼层 |阅读模式
我现在在用RH9
硬件是compaq n800v laptop  (P4 1.7G  Radeon7500)

想安装mplayer 0.90cr5
所有应该有的软件都有了
可是说我的gcc是2.96 必需升级到3.0以上
但是 我下载的gcc3.2.3 却不能./configure 和 make
总显示 不能升级
屏幕输出如下:
[root@jibinzh02 gcc-3.2.3]# ./configure
configuring for a i686-pc-linux-gnu host.
created "makefile" in /root/gcc-3.2.3 using "mt-frag"
./configure: line 7: cc: command not found
*** the command 'cc -o conftest -g conftest.c' failed.
*** you must set the environment variable cc to a working compiler.
[root@jibinzh02 gcc-3.2.3]# make
configuring in ./libiberty
loading cache ./config.cache
checking whether to enable maintainer-specific portions of makefiles... no
checking for makeinfo... no
checking for perl... perl
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $path
make: *** [configure-target-libiberty] error 1
[root@jibinzh02 gcc-3.2.3]# make install
/bin/sh ./mkinstalldirs /usr/local /usr/local
[root@jibinzh02 gcc-3.2.3]#

而且我发现找遍整个硬盘就是没有 gcc,gcc2目录
不知道谁能解释 我都快crash了(折腾了好几通宵)

以下是安装mplayer的屏幕输出:
?b?bbinzh02 root]# cd mplayer-0.90rc5
[root@jibinzh02 mplayer-0.90rc5]# install -d /usr/lib/win32 &&
> tar -xvf ../win32codecs.tar -c /usr/lib/win32 &&
> tar -xvf ../qt5dlls.tar -c /usr/lib/win32 &&
> tar -xvf ../qt6dlls.tar -c /usr/lib/win32 &&
> tar -xvf ../qtextras.tar -c /usr/lib/win32 &&
> tar -xvf ../rp9codecs.tar -c /usr/lib/win32 &&
> ./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
> --enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
> --enable-vorbis --with-reallibdir=/usr/lib/win32/rp9codecs \
> --enable-freetype --enable-shared-pp &&
> make &&
> make install
win32codecs/
win32codecs/wmv8ds32.ax
win32codecs/avimszh.dll
win32codecs/m3jpeg32.dll
win32codecs/msnaudio.acm
win32codecs/tssoft32.acm
win32codecs/imc32.acm
win32codecs/asusasv2.dll
win32codecs/asusasvd.dll
win32codecs/mcdvd_32.dll
win32codecs/lhacm.acm
win32codecs/msms001.vwp
win32codecs/mvoiced.vwp
win32codecs/divx.dll
win32codecs/l3codeca.acm
win32codecs/lcodccmp.dll
win32codecs/msh261.drv
win32codecs/msg711.acm
win32codecs/ir50_32.dll
win32codecs/divxa32.acm
win32codecs/atrac3.acm
win32codecs/l3codecx.ax
win32codecs/ir41_32.dll
win32codecs/msvidc32.dll
win32codecs/ativcr2.dll
win32codecs/vivog723.acm
win32codecs/ir32_32.dll
win32codecs/tm20dec.ax
win32codecs/icmw_32.dll
win32codecs/rt32dcmp.dll
win32codecs/ivvideo.dll
win32codecs/i263_32.drv
win32codecs/mpg4ds32.ax
win32codecs/sp5x_32.dll
win32codecs/mpg4c32.dll
win32codecs/msscds32.ax
win32codecs/qpeg32.dll
win32codecs/acelpdec.ax
win32codecs/avizlib.dll
win32codecs/clrviddd.dll
win32codecs/ctwbjpg.dll
win32codecs/divxdec.ax
win32codecs/pclepim1.dll
win32codecs/ubvmp4d.dll
win32codecs/ubv263d+.ax
win32codecs/msrle32.dll
win32codecs/divxc32.dll
win32codecs/m3jpegdec.ax
win32codecs/alf2cd.acm
win32codecs/msadp32.acm
win32codecs/divx_c32.ax
win32codecs/msgsm32.acm
win32codecs/imaadp32.acm
win32codecs/iccvid.dll
win32codecs/vgpix32d.dll
win32codecs/huffyuv.dll
win32codecs/voxmsdec.ax
win32codecs/clrviddc.dll
win32codecs/qdv.dll
win32codecs/mcmjpg32.dll
win32codecs/nsrt2432.acm
win32codecs/vp31vfw.dll
win32codecs/tsccvid.dll
win32codecs/wmvds32.ax
win32codecs/jp2avi.dll
win32codecs/m3jp2k32.dll
win32codecs/wma9dmod.dll
win32codecs/wmadmod.dll
win32codecs/wmspdmod.dll
win32codecs/wmv9dmod.dll
win32codecs/wmvdmod.dll
qt5dlls/
qt5dlls/quicktime.qts.htcfg
qt5dlls/quicktimeessentials.qtx
qt5dlls/quicktime.qts
qt5dlls/quicktimeinternetextras.qtx
qt5dlls/qtmlclient.dll
qt6dlls/
qt6dlls/quicktimeessentials.qtx
qt6dlls/quicktime.qts
qt6dlls/quicktimeinternetextras.qtx
qt6dlls/qtmlclient.dll
qtextras/
qtextras/behereivideo.qtx
qtextras/indeo4.qtx
qtextras/on2_vp3.qtx
qtextras/zygovideo.qtx
qtextras/3ivx.qtx
rp9codecs/
rp9codecs/dnet.so.6.0
rp9codecs/drv2.so.6.0
rp9codecs/tokr.so.6.0
rp9codecs/drv4.so.6.0
rp9codecs/dspr.so.6.0
rp9codecs/atrc.so.6.0
rp9codecs/drv3.so.6.0
rp9codecs/ddnt.so.6.0
rp9codecs/cook.so.6.0
rp9codecs/sipr.so.6.0
rp9codecs/tokf.so.6.0
detected operating system: linux
detected host architecture: i386
checking for gcc 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 !

请达人综合分析!


[root@jibinzh02 gcc-3.2.3]#
发表于 2003-7-3 09:29:09 | 显示全部楼层
你没装gcc,不用自己编译,rh9盘上就有
回复

使用道具 举报

 楼主| 发表于 2003-7-3 09:45:46 | 显示全部楼层
how can i get gcc installed?

thanks
回复

使用道具 举报

 楼主| 发表于 2003-7-3 10:16:44 | 显示全部楼层
mozilla 版主
我如何才能装上我RH盘上的GCC?
请告之方法

本人菜鸟 不懂如何操作
回复

使用道具 举报

发表于 2003-7-3 10:19:41 | 显示全部楼层
简单,在软件包管理中找到GCC的RPM包,装上即可
回复

使用道具 举报

发表于 2003-7-3 10:26:30 | 显示全部楼层
简单,在软件包管理中找到GCC的RPM包,装上即可
回复

使用道具 举报

发表于 2003-7-3 10:43:00 | 显示全部楼层
RH9:
安装新软件==》开发工具==》GCC
回复

使用道具 举报

 楼主| 发表于 2003-7-3 14:37:33 | 显示全部楼层
谢谢各位
我已经装上了

还有一个问题
为什么GUI的mplayer需要libpng和libpng-dev?
我装上他们以后 系统还是说必需要这两个东东 FAINT!@#$(^%*&

狂晕哈- 又是一个通宵
回复

使用道具 举报

 楼主| 发表于 2003-7-3 14:39:10 | 显示全部楼层
现去吃早饭 bacon & eggs
然后睡一下
下午在来
回复

使用道具 举报

发表于 2003-7-3 14:56:49 | 显示全部楼层
libpng可能是用来解析png图片的
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-1 21:28 , Processed in 0.050927 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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