当前位置: 技术问答>linux和unix
用LINux装MPLAYER总是出现,本人菜鸟,求解
来源: 互联网 发布时间:2016-12-19
本文导语: [root@FanLuoCheng MPlayer-1.0rc1]# ./configure --prefix=/usr/local/mplayer Detected operating system: Linux Detected host architecture: i386 Checking for cc version ... not found Checking for gcc version ... not found Checking for gcc-3.4 version ... not fou...
[root@FanLuoCheng MPlayer-1.0rc1]# ./configure --prefix=/usr/local/mplayer
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.4 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, 3.x or 4.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-check but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3/4.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的问题,但具体怎么做才能编译好,需要那些安装包呢 ,最好能给地址或者发到邮箱里 tory.van@163.com
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.4 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, 3.x or 4.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-check but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3/4.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的问题,但具体怎么做才能编译好,需要那些安装包呢 ,最好能给地址或者发到邮箱里 tory.van@163.com
|
你去那网站下载的话 是rpm包 安装的时候肯定一堆依赖的问题。
你什么系统啊? 直接用包管理工具比如yum apt-get之类的直接安装 会自动解决依赖!
|
感觉LZ你没有搞懂yum的用法以及RPM包安装,首先你用的是redhat的系统,那么你想用yum的话就要搭建个本地源的,你直接用yum的话它会连接到红帽的官方去下载那些包来安装的,但是这样的话就是要钱的,所以你要用红帽的安装光盘里的文件搭建个本地源来用。
搭建好了后再执行
#yum -y install gcc gcc-c++
来安装。安装好了gcc之后再安装Mplayer。
yum只能安装红帽系统的安装光盘里的包的,你下的那个Mplayer的RPM包直接执行
#rpm -ivh MplayerXXXXXXXX.rpm
来安装