打印

手把手教你编译安装MPlayer-1.0pre5转贴

开发包不全?
不想要 ID 了请找我。

TOP

不会吧,我已经在开发包里边全部都选定装上了,这样还不全,那我就没有办法了
大学从我身上下来,边系裤子边说,青春留下,你走;那一刻我才明白,不是我上了大学,而是是大学上了我。。。。。

TOP

越SEE 越晕
litianwe

TOP

[quote:d6f76552e5="hlf5507"]不会吧,我已经在开发包里边全部都选定装上了,这样还不全,那我就没有办法了[/quote]
难说,FC3 好像全选后 gtk+-devel 不会被安装………
不想要 ID 了请找我。

TOP

按照楼主的说明步骤, 结果是mplayer可以播放. 但是运行 gmplayer 则不出图形界面, 有如下的提示:

MPlayer 1.0pre6-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE
                                                                                
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
77 audio & 188 video codecs

然后, 就一直这样, 只能按下 Ctrl C 退出. 在2台机器上装了多次, 都是这样, 请教版主是什么问题呢? 先谢谢啦.

系统是 RedHat 9.0, Mplayer 版本 Pre6a 和 版本 Pre7 现象一样.

TOP

[root@redhat9 MPlayer-1.0pre6a]# !!
make install
make[1]: Entering directory `/home/hlf/mplay/MPlayer-1.0pre6a/libdha'
mkdir -p /usr/local/lib
install -m 755 -s -p libdha.so.1.0  /usr/local/lib/libdha.so.1.0
rm -f /usr/local/lib/libdha.so
ln -sf libdha.so.1.0  /usr/local/lib/libdha.so.1
ldconfig
make[1]: Leaving directory `/home/hlf/mplay/MPlayer-1.0pre6a/libdha'
make[1]: Entering directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix'
make[2]: Entering directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -s -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix/drivers'
make[1]: Leaving directory `/home/hlf/mplay/MPlayer-1.0pre6a/vidix'
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
ln -sf mplayer /usr/local/bin/gmplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
        if test "$i" = en ; then \
                install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mplayer.1 ; \
        else \
                mkdir -p /usr/local/man/$i/man1 ; \
                install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/mplayer.1 ; \
        fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
        if test "$i" = en ; then \
                ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
        else \
                ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
        fi ; \
done
*** Download font at http://www.mplayerhq.hu/homepage/dload.html
*** for OSD/Subtitles support and extract to /usr/local/share/mplayer/font/
*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html
*** for GUI, and extract to /usr/local/share/mplayer/Skin/
install -m 644 Gui/mplayer/pixmaps/mplayer-desktop.xpm /usr/local/share/pixmaps/mplayer-desktop.xpm
install -m 644 etc/mplayer.desktop /usr/local/share/applications/mplayer.desktop
前面configure和make都没有报错,在make install的时候出现上面的情况,是什么问题,请教!

TOP

呵呵不好意思上面的现象是没有问题的,我还以为是有问题就贴出来问了,其实是正常的。
大学从我身上下来,边系裤子边说,青春留下,你走;那一刻我才明白,不是我上了大学,而是是大学上了我。。。。。

TOP

make install

./configure --enable-gui --with-reallibdir=/usr/lib/essential-2004 --language=zh_CN
make   
没有错误,但是在make install 时出现错误
in:creating symbolic link /usr/local/man/man1/mencoder.1 to mplayer.1 peration not permitted
就停止安装啦,那位大虾帮忙解惑,感激不尽!! :D  :D
skyeye的初学者

TOP

[root@localhost MPlayer-1.0pre7]# make install
make[1]: Entering directory `/root/MPlayer-1.0pre7/libdha'
mkdir -p /usr/local/lib
install -m 755 -s -p libdha.so.1.0  /usr/local/lib/libdha.so.1.0
rm -f /usr/local/lib/libdha.so
ln -sf libdha.so.1.0  /usr/local/lib/libdha.so.1
ln: creating symbolic link `/usr/local/lib/libdha.so.1' to `libdha.so.1.0': Oper
ation not permitted
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/MPlayer-1.0pre7/libdha'
make[1]: Entering directory `/root/MPlayer-1.0pre7/vidix'
make[2]: Entering directory `/root/MPlayer-1.0pre7/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -s -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/root/MPlayer-1.0pre7/vidix/drivers'
make[1]: Leaving directory `/root/MPlayer-1.0pre7/vidix'
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
ln -sf mplayer /usr/local/bin/gmplayer
ln: creating symbolic link `/usr/local/bin/gmplayer' to `mplayer': Operation not
permitted
make: [install] Error 1 (ignored)
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
        if test "$i" = en ; then \
                install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mpla
yer.1 ; \
        else \
                mkdir -p /usr/local/man/$i/man1 ; \
                install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/m
player.1 ; \
        fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
        if test "$i" = en ; then \
                ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
        else \
                ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
        fi ; \
done
ln: creating symbolic link `/usr/local/man/man1/mencoder.1' to `mplayer.1': Oper
ation not permitted
make: *** [install] Error 1
前面configure和make都没有报错,是在root权限下安装的,在make install的时候出现上面的情况,是什么问题,请教!
skyeye的初学者

TOP


楼上贴出
mount
后的输出
我怀疑你的 /usr/local 所在分区不是 Linux 分区
不想要 ID 了请找我。

TOP

好贴子   顶死你!!!    绝对的菜鸟的好贴子

TOP

执行gmplayer就停到这了...怎么回事?????

[root@zc bin]# ./gmplayer
MPlayer 1.0pre5try2-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices K6-2 401.3 MHz (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX 3DNow

Reading config file /usr/local/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: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
使用Linux的硬件RTC计时(1024Hz)
Input config file /root/.mplayer/input.conf parsed: 53 binds
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'

TOP


skin 没装好
不想要 ID 了请找我。

TOP

皮肤问题解决了.
为什么不能播放.dat文件讷???

播放 /mnt/cdrom/mpegav/music01.dat.
Seek failed

TOP

VCD ?
用播放 VCD 的功能, VCD 里面的文件不能直接读取的
不想要 ID 了请找我。

TOP