|
发表于 2004-1-13 13:24:18
|
显示全部楼层
- ./configure --prefix=/usr --enable-gui --enable-menu --enable-xmms --language=zh_CN --with-win32libdir=/usr/lib/win32
- --with-reallibdir=/usr/lib/win32 --with-extralibdir=/usr/lib/win32 --with-madlibdir=/usr/lib
- --with-xanimlibdir=/usr/lib/win32 --with-xvidlibdir=/usr/lib/win32 --with-xmmsplugindir=/usr/lib/xmms --with-xmmslibdir=/usr/lib
复制代码
以上是我的编译参数,我将主页上的codec通通加压缩到/usr/lib/win32,所有的都丢在里面。你不需要特别的什么设置,啥地方出错,就看看你的configure参数是否正确。注意1.0pre跟0.9x的配置参数会有略微的不同。请参考help。
- Config files successfully generated by ./configure !
- Install prefix: /usr
- Data directory: /usr/share/mplayer
- Config direct.: /usr/etc/mplayer
- Byte order: Little Endian
- Optimizing for: pentium3 mmx mmx2 sse mtrr
- Languages:
- Messages/GUI: zh_CN
- Manual pages: en (no localization selected, use --language=all)
- Enabled optional drivers:
- Input: ftp network tv-v4l2 tv-v4l edl tv mpdvdkit2 vcd smb
- Codecs: flac(internal) qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libvor
- Audio output: esd arts oss sdl mpegpes(file)
- Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev opengl dga xv
- Disabled optional drivers:
- Input: tv-bsdbt848 live.com matroska cdda dvdread
- Codecs: opendivx xvid libdv libtheora liblzo
- Audio output: sgi sun alsa dxr2 nas win32 macosx
- Video output: winvidix bl zr zr2 dxr3 dxr2 directx svga aa ggi xmga mga xvmc directfb t
- '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'.
复制代码
其实就是这么简单的。不过如果要打包成rpm,还是需要花点功夫的,这点,可以向哈密瓜请教,不过他是否原意告诉你方法,就看你的运气了。 |
|