LinuxSir.cn,穿越时空的Linuxsir!

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

及!!!! 还是安装mplayer的老问题

[复制链接]
发表于 2006-4-2 10:55:45 | 显示全部楼层 |阅读模式
2. 安装code

tar vjxf essential-20050412.tar.bz2
mv essential-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*


mv win32codecs /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*

3.安装MPlayer

tar vjxf MPlayer-1.0pre5.tar.bz2

cd MPlayer-1.0pre5

[zylinux@localhost ~]sudo ./configure --prefix=/usr/local/mplayer/ --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/ --disable-gcc-checking --language=zh_CN



出现拉如下错误

Config files successfully generated by ./configure !

  Install prefix: /usr/local/mplayer/
  Data directory: /usr/local/mplayer//share/mplayer
  Config direct.: /usr/local/mplayer//etc/mplayer

  Byte order: Little Endian
  Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr

  Languages:
    Messages/GUI: en
    Manual pages: en (no localization selected, use --language=all)

  Enabled optional drivers:
    Input: ftp network edl tv matroska(internal) mpdvdkit2 vcd dvb smb
    Codecs: qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib libvorbis gif
    Audio output: alsa oss sdl mpegpes(dvb)
    Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(dvb) opengl dga xv x11 xover tga
  Disabled optional drivers:
    Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com cdda dvdread
    Codecs: opendivx xvid libdv libtheora libmad liblzo
    Audio output: sgi sun jack esd arts dxr2 nas win32 macosx
    Video output: winvidix bl zr zr2 dxr3 dxr2 directx fbdev svga caca aa ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx quartz

'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/devices.html#mtrr)


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
请高手尽快回复谢谢
发表于 2006-4-2 13:21:47 | 显示全部楼层
哪里有错误啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-2 18:18:13 | 显示全部楼层

没有错误

不好意思 这没有错误 ?
那我make 的时候出现拉
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/home/zylinux/tools/inmplayer/MPlayer-1.0pre5/libavcodec'
make: *** [libavcodec/libavcodec.a] 错误 2
该怎么半?
我电脑上已经有mplayer拉 我现在在装会不会覆盖?以前那个很多文件都播放不了
回复 支持 反对

使用道具 举报

发表于 2006-4-2 19:24:01 | 显示全部楼层
真是令人感到无奈:
一个没有错误的 configure 帖了那么多,
一个有错误的 make 却只帖了这么几行....
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 17:14:47 | 显示全部楼层

真的就是这么多 真不好意思 帮帮忙吧 谢谢你拉

[zylinux@localhost MPlayer-1.0pre5]$ make
./version.sh `cc -dumpversion`
./version.sh: line 2: version.h: Permission denied
make: *** [version.h] 错误 1
[zylinux@localhost MPlayer-1.0pre5]$
回复 支持 反对

使用道具 举报

发表于 2006-4-3 18:59:11 | 显示全部楼层
权限吧
sudo看看
ps 大部分发行版本都有源的 一个命令都搞定的事 手动编译确实没必要
回复 支持 反对

使用道具 举报

发表于 2006-4-3 19:35:09 | 显示全部楼层
debian 中似乎就没有 mplayer 的源, 或者是我用的源没有

楼主是不是用 root 解压, 然后用普通用户编译的? 那就用 root 编译试试

你这两次帖的错误明显不是一回事
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 21:43:01 | 显示全部楼层

这样都不行阿 我服拉

[zylinux@localhost inmplayer]$ sudo rpm -Uvh mplayer-1.0pre8-0.4.20051128.i386.rpm
Preparing...                ########################################### [100%]
        file /usr/share/mplayer/font from install of mplayer-1.0pre8-0.4.20051128 conflicts with file from package mplayer-fonts-1.1-3.fc
[zylinux@localhost inmplayer]$
回复 支持 反对

使用道具 举报

发表于 2006-4-3 22:02:04 | 显示全部楼层
先 rpm -e mplayer*
再 rpm -ivh mplayer
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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