导航新进会员
在线用户目前共有 1 位用户和 23 位游客在线。
在线用户
|
linux下媒体播放器MPlayer-1.0pre7的安装关键词: mplayer 1. 安装code tar xjvf all-20050412.tar.bz2 mv all-20050412 /usr/lib/codes chmod 644 /usr/lib/codes/* chown root.root /usr/lib/codes/* unzip windows-all-20050115.zip //or tar xjvf essential-20050412.tar.bz2 chmod 644 /usr/lib/wincodes/* chown root.root /usr/lib/wincodes/* 2.安装MPlayer tar vjxf MPlayer-1.0pre7.tar.bz2 cd MPlayer-1.0pre7 ./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/ 参数说明: ./configure \ #详细说明见./configure --help --prefix=/usr/local/mplayer/ \ #安装路径 --enable-gui \ #如果你只在命令下用可以不要这个,相信是不会的 \ #方便以后调整字体 --with-codecsdir=/usr/lib/codes/ \ #我们把下载的插件拷贝到这里 --with-win32libdir=/usr/lib/wincodes/ \ #指定win32代码目录 make make install 时间较长 cd etc cp example.conf /usr/local/mplayer/etc/config cp codecs.conf /usr/local/mplayer/etc/ 3.安装字体 tar xjvf gb2312-ming.tar.bz2 mv gb2312-ming /usr/local/mplayer/share/mplayer/font/ cd /usr/local/mplayer/share/mplayer/font/ ln -s gb2312-ming font 4.安装皮肤 tar vjxf Blue-1.4.tar.bz2 mv Blue /usr/local/mplayer/share/mplayer/Skin/ cd /usr/local/mplayer/share/mplayer/Skin/ ln -s Blue default 桌面启动 创建启动器 名称:MPlayer 命令令: /usr/local/mplayer/bin/gmplayer 然后选择一个你喜欢的图标. 也可以在终端用/usr/local/mplayer/bin/gmplayer 启动. 补充............................................. |
最新评论
|
Fedora4下可以装Mplayer1.0pre8
Fedora下可以从源码装Mplayer1.0pre8(包括最新的FC4,FC5)
到MPlayer的主站www.mplyaerhq.hu下载最新的MPlayer1.0pre8(注意是pre8,它允许GCC4)
安装简要说明:
下载
MPlayer-1.0pre8.tar.bz2(这个是主程序)
Blue-1.5.tar.bz2(这个是皮肤)
all-20060611.tar.bz2(这个是codecs)
这三个文件。
安装解码包:
解开all-200611.tar.bz2
把all-200611.tar.bz2/ 目录下的所有文件mv到/usr/local/lib/codecs/ 目录下,
安装主程序:
还是我们熟悉的从源码安装软件的那个过程,不过在configure时候稍有改动,如下:
./configure --enable-gui --enable-largefiles \
--enable-menu --prefix=/usr --confdir=/etc/mplayer
make
su
make install
一般情况下默认的以上步骤就足够了,如果你没有什么特殊的地方需要设置的话
设置字体:
ln -s 你喜欢的字体文件路径名 ~/.mplayer/subfont.ttf
安装GUI:
bzip2 -cd Blue-1.5.tar.bz2 | tar xvf --C /usr/share/mplayer/skins/
mv /usr/share/mplayer/skins/Blue/ /usr/share/mplayer/skins/default/
最后,echo 1024 > /proc/sys/stc/max_usr_frq
Enjoy!!!(播放rm一类的东西那叫流畅,比什么RealPlay10 for Linux 好多了)
补充:
测试环境为:Fedora Core4, GCC 4.0.2
硬件环境: IBM ThinkPad X20, PIII 500MHz CPU, 192M 内存, 显: ATI Rage/Mobility 4M, 声: CS4281
look at me~succed?
look!
[root@cccq ebook]# ./configure --enable-gui --enable-largefiles --enable-menu -- prefix=/usr --confdir=/etc/mplayer --cc=gcc32
bash: ./configure: 没有那个文件或目录
[root@cccq ebook]# cd MPlayer-1.0pre8
[root@cccq MPlayer-1.0pre8]# ./configure --enable-gui --enable-largefiles --ena ble-menu --prefix=/usr --confdir=/etc/mplayer --cc=gcc32
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc32 version ... 3.2.3, ok
Checking for host cc ... gcc32
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (15:3:3)
Checking for CPU type ... Intel(R) Celeron(R) CPU 2.53GHz
Checking for GCC & CPU optimization abilities ... prescott
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for xmmintrin.h ... yes
Checking for assembler support of -pipe option ... yes
Checking for assembler (as 2.16.91.0.6) ... ok
Checking for Linux kernel version ... 2.6.15-1.2054_FC5, ok
Checking for MPlayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for rpath ... no
Checking for iconv ... yes
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HP-UX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... auto
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 ... yes (using /usr/lib)
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... 2 (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=D IR)
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for md5sum support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... yes
Checking for DVD support (libmpdvdkit2) ... yes
Checking for DVD support (libdvdread) ... no (disabled by libmpdvdkit2)
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for Toolame ... no
Checking for Twolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/lib/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/lib/codecs)
Checking for RealPlayer DLL ... yes (using /usr/lib/codecs)
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for AMR narrowband ... no
Checking for AMR narrowband, fixed point ... no
Checking for AMR wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... yes
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for GTK+ version ... 2.8.15
Checking for glib version ... 2.10.1
Creating Gui/config.mak
Checking for iconv program ... yes
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... yes
Checking for compiler support for noexecstack ... yes
Checking for ftello() ... yes
Checking for VIDIX (internal) ... yes
Checking for VIDIX (external) ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating libaf/config.mak
Config files successfully generated by ./configure !
Install prefix: /usr
Data directory: /usr/share/mplayer
Config direct.: /etc/mplayer
Byte order: little-endian
Optimizing for: prescott mmx mmxext sse sse2 mtrr
Languages:
Messages/GUI: en
Manual pages: en
Enabled optional drivers:
Input: ftp network tv-v4l2 tv-v4l tv mpdvdkit2 vcd dvb smb
Codecs: qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 l iba52 mp3lib tremor(internal)
Audio output: alsa esd arts oss sdl mpegpes(dvb)
Video output: xvidix cvidix sdl md5sum pnm jpeg png mpegpes(dvb) opengl dga xv x11 xover tga
Audio filters:
Disabled optional drivers:
Input: vstream tv-bsdbt848 live555 cdda dvdread
Codecs: opendivx x264 xvid libdv amr_wb amr_nb faac musepack libdts libtheor a speex twolame toolame libmad liblzo gif
Audio output: sgi sun openal jack polyp dxr2 nas dsound win32
Video output: winvidix bl zr zr2 dxr3 dxr2 directx vesa gif89a fbdev svga ca ca aa ggi xmga mga xvmc directfb tdfx_vid s3fb tdfxfb 3dfx
Audio filters: ladspa
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)
Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
Do not report compilation errors if you used any of the --enable-* options
(except --enable-gui and maybe --enable-debug).
If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
[root@cccq MPlayer-1.0pre8]# make
./version.sh `gcc32 -dumpversion`
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRAN T -I./libavutil -I./libavcodec -o mplayer.o mplayer.c
In file included from libmpdemux/dvbin.h:11,
from mplayer.c:117:
libmpdemux/dvb_defaults.h:73:10: warning: #warning No DVB-T country defined in d vb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRAN T -I./libavutil -I./libavcodec -o vobsub.o vobsub.c
make -C libmenu
make[1]: Entering directory `/root/ebook/MPlayer-1.0pre8/libmenu'
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu.o m enu.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o vf_menu. o vf_menu.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_cmd list.o menu_cmdlist.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_pt. o menu_pt.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_lis t.o menu_list.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_fil esel.o menu_filesel.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_txt .o menu_txt.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_con sole.o menu_console.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_par am.o menu_param.c
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I.. -I../libmpcodecs -I/usr/include/freetype2 -o menu_dvb in.o menu_dvbin.c
In file included from ../libmpdemux/dvbin.h:11,
from menu_dvbin.c:27:
../libmpdemux/dvb_defaults.h:73:10: warning: #warning No DVB-T country defined i n dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
ar r libmenu.a menu.o vf_menu.o menu_cmdlist.o menu_pt.o menu_list.o menu_filese l.o menu_txt.o menu_console.o menu_param.o menu_dvbin.o
ar: creating libmenu.a
true libmenu.a
make[1]: Leaving directory `/root/ebook/MPlayer-1.0pre8/libmenu'
gcc32 -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott -pip e -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFS ET_BITS=64 -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxp arser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct. o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub. o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao 2.a input/libinput.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a libmpcodecs /libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_ Filter.a libaf/libaf.a libmpdemux/libmpdemux.a postproc/libswscale.a osdep/libos dep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat .a libavutil/libavutil.a libpostproc/libpostproc.a -lpng -lz -lz -ljp eg -lasound -ldl -lpthread -lfreetype -lz -lncurses -lnsl -lsmbclient -lfontconfig libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/li bmpeg2.a tremor/libvorbisidec.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixb uf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 -lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/u sr/lib -lXext -lX11 -lnsl -lpthread -lnsl -L/usr/lib -lSDL -lpthread -L/ usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/us r/lib -lesd -laudiofile -lm -lasound -Wl,-z,noexecstack -lpthread -ldl -rdynamic -lm
gcc32 -c -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott - pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRAN T -I./libavutil -I./libavcodec -o mencoder.o mencoder.c
In file included from libmpdemux/dvbin.h:11,
from cfg-common.h:412,
from cfg-mencoder.h:6,
from mencoder.c:282:
libmpdemux/dvb_defaults.h:73:10: warning: #warning No DVB-T country defined in d vb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
gcc32 -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mcpu=prescott -pip e -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFS ET_BITS=64 -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I./libavutil -I./libavcodec -o mencoder mencoder.o mp_msg-mencoder.o asxpar ser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o divx4_vbr.o libvo/aclib.o libvo/font_load.o libvo/font_load_ft.o lib vo/osd.o libvo/sub.o parser-mecmd.o xvid_vbr.o libmpcodecs/libmpencoders.a lib mpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo /libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a postproc/libswscale.a osd ep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a libavformat/lib avformat.a libavutil/libavutil.a libpostproc/libpostproc.a -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -lfreetype -lz -lncurses -lnsl -lsm bclient -lfontconfig libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a lib mpeg2/libmpeg2.a tremor/libvorbisidec.a -Wl,-z,noexecstack -lpthread -ldl -r dynamic -lm
[root@cccq MPlayer-1.0pre8]# make install
make -C libdha install
make[1]: Entering directory `/root/ebook/MPlayer-1.0pre8/libdha'
mkdir -p /usr/lib
install -m 755 -p libdha.so.1.0 /usr/lib/libdha.so.1.0
rm -f /usr/lib/libdha.so
ln -sf libdha.so.1.0 /usr/lib/libdha.so.1
ldconfig
make[1]: Leaving directory `/root/ebook/MPlayer-1.0pre8/libdha'
make -C vidix install
make[1]: Entering directory `/root/ebook/MPlayer-1.0pre8/vidix'
make -C drivers install
make[2]: Entering directory `/root/ebook/MPlayer-1.0pre8/vidix/drivers'
mkdir -p /usr/lib/mplayer/vidix
install -m 755 -p *.so /usr/lib/mplayer/vidix
make[2]: Leaving directory `/root/ebook/MPlayer-1.0pre8/vidix/drivers'
make[1]: Leaving directory `/root/ebook/MPlayer-1.0pre8/vidix'
install -d /usr/bin
install -m 755 -s mplayer /usr/bin/mplayer
ln -sf mplayer /usr/bin/gmplayer
install -d /usr/man/man1
for i in en; do \
if test "$i" = en ; then \
install -c -m 644 DOCS/man/en/mplayer.1 /usr/man/man1/mplayer.1 ; \
else \
install -d /usr/man/$i/man1 ; \
install -c -m 644 DOCS/man/$i/mplayer.1 /usr/man/$i/man1/mplayer .1 ; \
fi ; \
done
install -m 755 -s mencoder /usr/bin/mencoder
for i in en; do \
if test "$i" = en ; then \
ln -sf mplayer.1 /usr/man/man1/mencoder.1 ; \
else \
ln -sf mplayer.1 /usr/man/$i/man1/mencoder.1 ; \
fi ; \
done
but can't runing~mplayer~why?help me !thanks!
在FC 5 下面安装到
在FC 5 下面安装到 这一步出现下面的错误,请DX帮忙看看是怎么回事,我大致理解为 我的 gcc 版本高了 难道FC 5就不能使用MPlayer 了呀 ?
[root@my MPlayer-1.0pre7try2]# ./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.0, bad
Checking for gcc version ... 4.1.0, bad
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 ... 4.1.0, bad
*** 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/HTML/en/users-vs-dev.html ***
Error: Bad gcc version
Check "configure.log" if you do not understand why it failed.
You have new mail in /var/spool/mail/root
DEBIAN下装不了,急盼回复。
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/
后报错:
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).
安装时g c c 版本的问题
我用FC4装的时候,说g c c 版本不对 ,要求的是g c c 3.x ,但是FC4里的是g c c 4.00
请问怎么办啊.?
gcc
同问……
上次看到论坛上说可以指定gcc版本的,不过按照上面的格式写上去却不行,说用法不对或是找不到command,不知道怎么回事了
configure时多加一个参数
configure时多加一个参数--disable-gcc-checking
下载补丁
http://www.magiclinux.org/people/sunmoon1997/patches/mplayer/mplayer-1.0_pre7-gcc4.patch
下载patch 方到里面,在[root@ilinux MPlayer-1.0pre7]#patch -p1 < mplayer-1.0_pre7-gcc4.patch(此处-p1其中1是阿拉伯数字1而不是英文字母l)
接着
[root@ilinux MPlayer-1.0pre7]./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/
你们试一下
fc4下不能安装?
我在fc4下安装mplayer,按照别的帖子我下了个补丁.开始时还可以,但是到了这一步时,
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/
提示说./configure后面的参数 unknow ?不知道该怎么解决?谢谢!
FC4不必自编译。通过yum或apt就可以安装上。
没有必要自己编译,FC4的软件仓库中好多Mplayer的软件包,比如主程序,解码包等。。
尝试一下???
fc5 anzhuang 1.pre8buneng chenggong~
an zhuang buzou buyiyang ba?
make[1]: *** [depend] Error
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/home/wizard/mplayer/MPlayer-1.0pre7'
make: *** [version.h] 错误 2
请问出现这样的错误是什么原因呢?
make[1]: *** [pe_image.o] Error 1
make[1]: *** [pe_image.o] Error 1
make[1]: Leaving directory `/home/zfan/Softbackup/Mplayers/MPlayer-1.0pre8/loader'
make: *** [loader/libloader.a] 错误 2
我的也 出现同样的情况,是哪儿出问题了?应该怎么解决?
make distclean
make distclean 一下重新装就行了