LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1699|回复: 22

请问有人在SuSE下安装Mplayer 1.0 pre 3成功过?

[复制链接]
发表于 2004-1-12 21:37:17 | 显示全部楼层 |阅读模式
那位高手能给出一个详细的安装方法?用以前SuSE8.2下安装Mplayer0.91的方法在SuSE 9下安装Mplayer 1.0 pre3装不上,其中一些现象为:提示 --with-csslibdir= 参数无效 :
linux:~/temp/MPlayer-1.0pre3 # ./configure --prefix=/usr --enable-gui --enable-menu --enable-xmms --language=zh --with-csslibdir=/usr/lib --with-win32libdir=/usr/lib/win32 --with-reallibdir=/usr/lib/RealPlayer8 --with-xmmsplugindir=/usr/lib/xmms --with-xmmslibdir=/usr/lib
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.3.1, ok
Checking for CPU vendor ... AuthenticAMD (6:4:2)
Checking for CPU type ...  AMD Athlon(tm) processor
Checking for GCC & CPU optimization abilities ... athlon-tbird
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for mtrr support ... yes
Unknown parameter: --with-csslibdir=/usr/lib
不知道其他的参数是否有问题,还是系统缺什么文件?
 楼主| 发表于 2004-1-12 21:59:04 | 显示全部楼层
这是我用  ./configure --prefix=/usr --enable-gui --enable-menu --enable-xmms --language=zh 直接编译安装后,先执行mplayer,再运行gmplayer后的结果:
linux:~/temp/MPlayer-1.0pre3 # gmplayer
MPlayer 1.0pre3-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1007 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/etc/mplayer/mplayer.conf: 没有那个文件或 目录
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf: No such file or directory
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': 没有那个文件或目录
Reading /usr/etc/mplayer/codecs.conf: Can't open '/usr/etc/mplayer/codecs.conf': 没有那个文件或目录
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: 没有那个文件或目录
Can't open input config file /usr/etc/mplayer/input.conf: 没有那个文件或目录
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'
[skin] file ( /usr/share/mplayer/Skin/default/skin ) not found.
Skin not found (default).
发表于 2004-1-13 00:43:25 | 显示全部楼层
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'
[skin] file ( /usr/share/mplayer/Skin/default/skin ) not found.
Skin not found (default).

最主要是这里,你至少要安装一个默认的skin,否则只能用mplayer,而不是gmplayer。
发表于 2004-1-13 10:05:21 | 显示全部楼层
我是用 rpm 包安装的,rpm -Uvh *.rpm --nodeps --force ,只是在YaST里检查有很多冲突,但不妨碍正常使用,启动用:gmplayer
 楼主| 发表于 2004-1-13 13:20:16 | 显示全部楼层
beyond_2000,你好,
我下载了一个skin,装在了 /usr/share/mplayer/Skin/defauslt/skin/ ,可是打开gmplayer时起不来,到这里就死掉了,什么都没有,也只能用ctrl+c强行退出(xterm里)

tom2002,你好,
  请问你装的是哪个rpm?在哪里找到的?我下载了好几个,都不能使用的
发表于 2004-1-13 13:24:18 | 显示全部楼层
  1. ./configure --prefix=/usr --enable-gui --enable-menu --enable-xmms --language=zh_CN --with-win32libdir=/usr/lib/win32
  2. --with-reallibdir=/usr/lib/win32 --with-extralibdir=/usr/lib/win32  --with-madlibdir=/usr/lib
  3. --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。

  1. Config files successfully generated by ./configure !

  2.   Install prefix: /usr
  3.   Data directory: /usr/share/mplayer
  4.   Config direct.: /usr/etc/mplayer

  5.   Byte order: Little Endian
  6.   Optimizing for: pentium3 mmx mmx2 sse mtrr

  7.   Languages:
  8.     Messages/GUI: zh_CN
  9.     Manual pages: en (no localization selected, use --language=all)

  10.   Enabled optional drivers:
  11.     Input: ftp network tv-v4l2 tv-v4l edl tv mpdvdkit2 vcd smb
  12.     Codecs: flac(internal) qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libvor
  13.     Audio output: esd arts oss sdl mpegpes(file)
  14.     Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev opengl dga xv
  15.   Disabled optional drivers:
  16.     Input: tv-bsdbt848 live.com matroska cdda dvdread
  17.     Codecs: opendivx xvid libdv libtheora liblzo
  18.     Audio output: sgi sun alsa dxr2 nas win32 macosx
  19.     Video output: winvidix bl zr zr2 dxr3 dxr2 directx svga aa ggi xmga mga xvmc directfb t

  20. 'config.h' and 'config.mak' contain your configuration options.
  21. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
  22.       compile *** DO NOT REPORT BUGS if you tweak these files ***

  23. 'make' will now compile MPlayer and 'make install' will install it.
  24. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
复制代码


其实就是这么简单的。不过如果要打包成rpm,还是需要花点功夫的,这点,可以向哈密瓜请教,不过他是否原意告诉你方法,就看你的运气了。
 楼主| 发表于 2004-1-13 13:43:47 | 显示全部楼层
谢谢,找时间我试一下
发表于 2004-1-13 14:42:27 | 显示全部楼层
建议采用092版本,1.0pre3不是很好,主要是跟win32codec有关。下面是贴图。
自己在/usr/share/mplayer下建立font,Skin这2个目录,然后你应该知道咋做了吧。我没有安装realplayer,但是我使用了其lib文件。
发表于 2004-1-13 14:44:12 | 显示全部楼层
下面的是《唐朝》乐队早期的作品,后来改编收录于其第一张专集中。rm格式。
发表于 2004-1-13 21:44:05 | 显示全部楼层
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

怎么让它支持3DNOW。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表