Realplay和mplayer的安裝!

tonykorn97發表於2006-07-09

1,Realplay我下載的是RealPlayer10GOLD.bin檔案。

2,安裝

[root@localhost ~]# ./RealPlayer10GOLD.bin
Extracting files for RealPlayer installation........................

Welcome to the RealPlayer (10.0.2.608) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue...

直接按enter開始,按照提示輸入就可以安裝結束。

mplayer 的安裝!


1,mplayer我下載的是: MPlayer-0.93.tar.bz2
2,安裝

[root@localhost ~]# ls
1.rar install.log.old
AdobeReader_chs-7.0.5-1.i386.rpm install.log.syslog
anaconda-ks.cfg LumaQQ
Desktop lumaqq_2004-linux_gtk2_x86_with_jre.tar.gz
gaim-1.5.0.tar.bz2 MPlayer-0.93.tar.bz2
hxsetup rar
install.log RealPlayer10GOLD.bin
[root@localhost ~]# tar -xjf MPlayer-0.93.tar.bz2
[root@localhost ~]# ls
1.rar install.log.syslog
AdobeReader_chs-7.0.5-1.i386.rpm LumaQQ
anaconda-ks.cfg lumaqq_2004-linux_gtk2_x86_with_jre.tar.gz
Desktop MPlayer-0.93
gaim-1.5.0.tar.bz2 MPlayer-0.93.tar.bz2
hxsetup rar
install.log RealPlayer10GOLD.bin
install.log.old
[root@localhost ~]# cd MPlayer-0.93
[root@localhost MPlayer-0.93]# ls
asxparser.c etc m_config.c parser-mpcmd.c
asxparser.h fibmap_mplayer.c m_config.h playtree.c
AUTHORS fifo.c mencoder.c playtree.h
bswap.h find_sub.c mixer.c playtreeparser.c
cfg-common.h get_path.c mixer.h playtreeparser.h
cfg-mencoder.h Gui mmx_defs.h postproc
cfg-mplayer-def.h help mmx.h README
cfg-mplayer.h input m_option.c spudec.c
cfgparser.c liba52 m_option.h spudec.h
cfgparser.h libaf mp3lib sub_cc.c
ChangeLog libao2 mplayer.c sub_cc.h
codec-cfg.c libavcodec mplayer.h subreader.c
codec-cfg.h libdha mplayer_wine.spec subreader.h
configure libmenu mplayer_wine.spec.c TOOLS
cpudetect.c libmpcodecs mp_msg.c TVout
cpudetect.h libmpdemux mp_msg.h unrarlib.c
cputable.h libmpdvdkit2 mp_msg-mencoder.c unrarlib.h
darwinfixlib.sh libmpeg2 m_struct.c version.sh
debian libvo m_struct.h vidix
divx4_vbr.c LICENSE my_profile.c vobsub.c
divx4_vbr.h linux my_profile.h vobsub.h
DOCS loader parser-cfg.c xvid_vbr.c
drivers Makefile parser-mecmd.c xvid_vbr.h
edl.h mangle.h parser-mecmd.h
[root@localhost MPlayer-0.93]# ./configure
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 !

*** For details please read DOCS/users_against_developers.html ***


Error: Bad gcc version

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

3,沒有安裝gcc,重新安裝

[root@localhost ~]# yum install gcc
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna [1/4]
core [2/4]
updates [3/4]
extras [4/4]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--&gt Populating transaction set with selected packages. Please wait.
---&gt Downloading header for gcc to pack into transaction set.
gcc-4.1.1-1.fc5.i386.rpm 100% |=========================| 40 kB 00:01
---&gt Package gcc.i386 0:4.1.1-1.fc5 set to be updated
--&gt Running transaction check
--&gt Processing Dependency: libgomp = 4.1.1-1.fc5 for package: gcc
--&gt Processing Dependency: libgcc >= 4.1.1-1.fc5 for package: gcc
--&gt Processing Dependency: binutils >= 2.16.91.0.3-1 for package: gcc
--&gt Processing Dependency: cpp = 4.1.1-1.fc5 for package: gcc
--&gt Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--&gt Restarting Dependency Resolution with new changes.
--&gt Populating transaction set with selected packages. Please wait.
---&gt Downloading header for libgomp to pack into transaction set.
libgomp-4.1.1-1.fc5.i386. 100% |=========================| 28 kB 00:01
---&gt Package libgomp.i386 0:4.1.1-1.fc5 set to be updated
---&gt Downloading header for libgcc to pack into transaction set.
libgcc-4.1.1-1.fc5.i386.r 100% |=========================| 29 kB 00:01
---&gt Package libgcc.i386 0:4.1.1-1.fc5 set to be updated
---&gt Downloading header for cpp to pack into transaction set.
cpp-4.1.1-1.fc5.i386.rpm 100% |=========================| 32 kB 00:01
---&gt Package cpp.i386 0:4.1.1-1.fc5 set to be updated
---&gt Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.4-8.i386.rp 100% |=========================| 96 kB 00:02
---&gt Package glibc-devel.i386 0:2.4-8 set to be updated
---&gt Downloading header for binutils to pack into transaction set.
binutils-2.16.91.0.6-5.i3 100% |=========================| 46 kB 00:01
---&gt Package binutils.i386 0:2.16.91.0.6-5 set to be updated
--&gt Running transaction check
--&gt Processing Dependency: glibc-headers = 2.4-8 for package: glibc-devel
--&gt Processing Dependency: glibc-headers for package: glibc-devel
--&gt Processing Dependency: glibc = 2.4-8 for package: glibc-devel
--&gt Restarting Dependency Resolution with new changes.
--&gt Populating transaction set with selected packages. Please wait.
---&gt Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.4-8.i386. 100% |=========================| 139 kB 00:02
---&gt Package glibc-headers.i386 0:2.4-8 set to be updated
---&gt Downloading header for glibc to pack into transaction set.
glibc-2.4-8.i686.rpm 100% |=========================| 138 kB 00:02
---&gt Package glibc.i686 0:2.4-8 set to be updated
--&gt Running transaction check
--&gt Processing Dependency: glibc-common = 2.4-8 for package: glibc
--&gt Restarting Dependency Resolution with new changes.
--&gt Populating transaction set with selected packages. Please wait.
---&gt Downloading header for glibc-common to pack into transaction set.
glibc-common-2.4-8.i386.r 100% |=========================| 844 kB 00:06
---&gt Package glibc-common.i386 0:2.4-8 set to be updated
--&gt Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gcc i386 4.1.1-1.fc5 updates 4.6 M
Installing for dependencies:
binutils i386 2.16.91.0.6-5 updates 3.4 M
glibc-devel i386 2.4-8 updates 1.9 M
glibc-headers i386 2.4-8 updates 604 k
libgomp i386 4.1.1-1.fc5 updates 48 k
Updating for dependencies:
cpp i386 4.1.1-1.fc5 updates 2.6 M
glibc i686 2.4-8 updates 4.9 M
glibc-common i386 2.4-8 updates 16 M
libgcc i386 4.1.1-1.fc5 updates 61 k

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 4 Package(s)
Remove 0 Package(s)
Total download size: 34 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): libgomp-4.1.1-1.fc 100% |=========================| 48 kB 00:01
(2/9): glibc-headers-2.4- 100% |=========================| 604 kB 00:04
(3/9): libgcc-4.1.1-1.fc5 100% |=========================| 61 kB 00:01
(4/9): glibc-2.4-8.i686.r 100% |=========================| 4.9 MB 00:55
(5/9): cpp-4.1.1-1.fc5.i3 100% |=========================| 2.6 MB 00:15
(6/9): glibc-devel-2.4-8. 100% |=========================| 1.9 MB 00:10
(7/9): glibc-common-2.4-8 100% |=========================| 16 MB 02:16
(8/9): binutils-2.16.91.0 100% |=========================| 3.4 MB 00:20
(9/9): gcc-4.1.1-1.fc5.i3 100% |=========================| 4.6 MB 00:24
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcc ####################### [ 1/13]
Updating : glibc-common ####################### [ 2/13]
Updating : glibc ####################### [ 3/13]
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
Installing: libgomp ####################### [ 4/13]
Installing: glibc-headers ####################### [ 5/13]
Installing: glibc-devel ####################### [ 6/13]
Updating : cpp ####################### [ 7/13]
Installing: binutils ####################### [ 8/13]
Installing: gcc ####################### [ 9/13]
Cleanup : libgcc ####################### [10/13]
Cleanup : glibc ####################### [11/13]
Cleanup : cpp ####################### [12/13]
Cleanup : glibc-common ####################### [13/13]

Installed: gcc.i386 0:4.1.1-1.fc5
Dependency Installed: binutils.i386 0:2.16.91.0.6-5 glibc-devel.i386 0:2.4-8 glibc-headers.i386 0:2.4-8 libgomp.i386 0:4.1.1-1.fc5
Dependency Updated: cpp.i386 0:4.1.1-1.fc5 glibc.i686 0:2.4-8 glibc-common.i386 0:2.4-8 libgcc.i386 0:4.1.1-1.fc5
Complete!
[root@localhost ~]#
[root@localhost MPlayer-0.93]# rpm -q gcc
gcc-4.1.1-1.fc5

4,nnd,安裝完後還是不行,gcc版本不對!算了,省事一些來吧!

[root@localhost MPlayer-0.93]# yum -y install mplayer mplayer-gui

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-245351/,如需轉載,請註明出處,否則將追究法律責任。

相關文章