Looking for help about configuring MPlayer

Totem,mplayer,sopcast,realplayer,bmp
回复
头像
Rerven
帖子: 75
注册时间: 2005-04-22 16:46
送出感谢: 0
接收感谢: 0

Looking for help about configuring MPlayer

#1

帖子 Rerven » 2005-11-11 12:26

somebody could help me...I just downloaded MPlayer-1.07-pre... I did as readme said...i installed gcc 3.4...and then i configure it sth happened just like below :

代码: 全选

$ sudo ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.2, bad
Checking for gcc version ... 4.0.2, bad
Checking for gcc-3.4 version ... 3.4.5, ok
Checking for host cc ... gcc-3.4
Checking for CPU vendor ... GenuineIntel (15:2:4)
Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 1.60GHz
Checking for GCC & CPU optimization abilities ... Your gcc-3.4 does not even support "i386" for '-march' and '-mtune'.
error
Checking for kernel support of mmx ... failed
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmx2 ... failed
It seems that your kernel does not correctly support mmx2.
To use mmx2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse ... failed
It seems that your kernel does not correctly support sse.
To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse2 ... failed
It seems that your kernel does not correctly support sse2.
To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... no
Checking for assembler (as 2.16.1) ... ok
Checking for Linux kernel version ... 2.6.12-9-386, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... no
Checking for i18n ... no
Checking for iconv ... no
Checking for langinfo ... no
Checking for language ... using en (man pages:  en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for __builtin_expect ... no
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (=> i'll try inet_aton next)
Checking for inet_aton() ... no (=> network support disabled)
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).

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


any great guy can help me out !! I'd appreciate it soooooooo much..
头像
oneleaf
论坛管理员
帖子: 10208
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 99 次

#2

帖子 oneleaf » 2005-11-11 14:37

http://www.ubuntu.org.cn/support/docume ... howto_view

一:
$ sudo apt-get install manpages-dev
$ sudo apt-get install autoconf
$ sudo apt-get install automake
$ sudo apt-get install libtool
$ sudo apt-get install flex
$ sudo apt-get install bison
$ sudo apt-get install gcc-doc
$ sudo apt-get install g++
$ sudo apt-get install x-window-system-dev
$ sudo apt-get install libgtk1.2-dev
$ sudo apt-get install libpng-dev

二:
$ mkdir /usr/local/bin/mplayer_install
$ cd /usr/local/bin/mplayer_install

三:
$ wget http://www1.mplayerhq.hu/MPlayer/releas ... y2.tar.bz2
$ wget http://www1.mplayerhq.hu/MPlayer/releas ... 12.tar.bz2
$ wget http://www1.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2

四:
$ tar -xjf essential-20050412.tar.bz2
$ sudo mkdir -p /usr/local/lib/codecs
$ sudo cp essential-20050412/* /usr/local/lib/codecs/
$ tar -xjf MPlayer-1.0pre7try2.tar.bz2
$ cd MPlayer-1.0pre7try2
$ ./configure --enable-gui
$ make
$ sudo make install
$ tar -xjf Blue-1.4.tar.bz2
$ sudo mkdir -p /usr/local/share/mplayer/Skin/default
$ sudo cp -r Blue/* /usr/local/share/mplayer/Skin/default/
$ sudo cp MPlayer-1.0pre7try2/etc/* /usr/local/etc/mplayer/

五:
$ vim ~/.mplayer/config

代码: 全选

######
## Audio drivers

## Ubuntu uses esd by default.
ao=esd

## These are only mentioned for the sake of completion.
#ao=oss
#ao=alsa
#ao=arts

######
头像
Rerven
帖子: 75
注册时间: 2005-04-22 16:46
送出感谢: 0
接收感谢: 0

#3

帖子 Rerven » 2005-11-12 14:25

非常感谢。没想到在synaptic里面找到了。呵呵。。
头像
Rerven
帖子: 75
注册时间: 2005-04-22 16:46
送出感谢: 0
接收感谢: 0

#4

帖子 Rerven » 2005-11-12 14:30

再请问一下,哪有w32codecs下载,下次重装系统就不要再去网上搞了,有的话就下载下来好多了。
回复

回到 “影音多媒体”