安裝這個軟件真的遇到太多太多的部題了!~~~~ linux 下的軟件還真的不是那麼好搞定,現在我正在聽着劉德華的演唱會寫這篇文章!
問題:
Checking for GUI ... yes
Error: The GUI requires libavcodec with PNG support (needs zlib).
解決:
下載:zlib-1.2.3.tar.gz包,
解壓並安裝:[llhtiger@localhost download]$ tar -xvf zlib-1.2.3.tar.gz
[llhtiger@localhost zlib-1.2.3]$ ./configure
[llhtiger@localhost zlib-1.2.3]$ make install
cp zlib.h zconf.h /usr/local/include
cp: 無法創建普通文件“/usr/local/include/zlib.h”: 權限不夠
cp: 無法創建普通文件“/usr/local/include/zconf.h”: 權限不夠
make: *** [install] 錯誤 1
[llhtiger@localhost zlib-1.2.3]$ su root
密碼:
[root@localhost zlib-1.2.3]# make install #make clean #make test 好了到這兒下載的包已經安裝好了!下面問題又來了。
問題:
[root@localhost MPlayer-1.0rc2]# ./configure --enable-gui --win32codecsdir=/usr/lib/win32 --codecsdir=/usr/lib/codecs --language=zh_CN
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.3.0, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (15:4:9)
Checking for CPU type ... Intel(R) Celeron(R) CPU 2.66GHz
Checking for kernel support of mmx ... yes
、、、、、、
、、、、、、
、、、、、、
Checking for GUI ... yes
Error: X11 support required for GUI compilation.
Check "configure.log" if you do not understand why it failed.
到此,我真的很鬱悶,哪來的那麼多問題啊?!~~~沒辦法,再繼續擺弄唄!後來我在網上“扒“了半天,最後試了下面的命令,結果安裝上了,不過好像還有點問題,繼續努力!!!!!!!!!!!
[root@localhost MPlayer-1.0rc2]# yum install mplayer
載入插件: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* livna: ftp-stud.fht-esslingen.de
* fedora: fedora.mirrors.firstnetcom.com
* rpmfusion-free-updates: ftp.upjs.sk
* rpmfusion-nonfree-updates: ftp.upjs.sk
* rpmfusion-free: ftp.upjs.sk
* updates-newkey: ftp.twaren.net
* updates: ftp.twaren.net
* rpmfusion-nonfree: ftp.upjs.sk
livna | 2.1 kB 00:00
fedora | 2.4 kB 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
rpmfusion-free | 951 B 00:00
updates-newkey | 2.3 kB 00:00
primary.sqlite.bz2 | 3.2 MB 01:14
updates | 2.6 kB 00:00
rpmfusion-nonfree | 951 B 00:00
設置安裝進程
分析安裝參數的語法
包 mplayer-1.0-0.98.20080903svn.fc9.i386 已安裝並且是最新版本
無事可做
搞定mplayer
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.