LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 风尘浪人

小弟看了巨多帖子..仍然不知道mplayer怎么编译...哪个高手过来详细的讲一下.....现

[复制链接]
发表于 2005-1-24 15:35:40 | 显示全部楼层
忘了你是redhat9.2的了,看看右键有没有类似的东东,解压的?
回复 支持 反对

使用道具 举报

发表于 2005-1-24 15:43:17 | 显示全部楼层
是redhat9.2
只有添加到压缩文件了,,,,,

还是继续用这个mplayerplug-in-2.75-0.FC3.src.rpm吗?

我不太懂FC1,FC2,FC3,它们都是REDHAT的版本吗?

鱼鱼希望继续得到你的帮助!

谢谢!
回复 支持 反对

使用道具 举报

发表于 2005-1-24 15:57:57 | 显示全部楼层
呵呵,你的是redhat9.2

忘了,你可以:

apt-get install mplayerplug-in
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:06:01 | 显示全部楼层
[root@localhost root]# apt-get install mplayerplug-in
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package mplayerplug-inshi

试验了好几次,,,,,,,,,,,,,,,,,,,,,,,,,,,,
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:16:00 | 显示全部楼层
要不下:http://mplayerplug-in.sourceforge.net/download.php

        mplayerplug-in-2.75.tar.gz
编译安装吧:

tar zxvf mplayerplug-in-2.75.tar.gz

cd mplayerplug-in
./configure
make
make install

然后找到mplayerplug-in.xpt,mplayerplug-in.so,再复制。
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:37:51 | 显示全部楼层
要不,看这:http://www.linuxsir.cn/bbs/showt ... 0&highlight=rpm

看能否装上。
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:53:09 | 显示全部楼层
执行情况:

----------------
[root@localhost mplayerplug-in]# ls
ChangeLog     DOCS        LICENSE               pixmaps     sysinstall.sh
common        extras      Makefile.in           plugingate  TODO
config.h.in   include     mplayerplug-in.conf   README      uninstall.sh
configure     INSTALL     mplayerplug-in.spec   Source      whatoptions.sh
configure.in  install.sh  mplayerplug-in.types  specfiles
[root@localhost mplayerplug-in]# ./configure
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for pkg-config... /usr/bin/pkg-config
checking for mozilla-plugin... yes
checking MOZPLUG_CFLAGS... -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr
checking MOZPLUG_LIBS... -L/usr/lib/mozilla-1.2.1 -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl
checking for gtk+-2.0... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gthread-2.0... yes
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lglib-2.0
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/StringDefs.h usability... yes
checking X11/StringDefs.h presence... yes
checking for X11/StringDefs.h... yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strrchr... yes
checking for snprintf... yes
checking for mkfifo... yes
checking for dup2... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtol... yes
checking for memmem... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for X11/extensions/dpms.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
[root@localhost mplayerplug-in]# make
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED  Source/plugin.cpp
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED Source/nsScriptablePeer.cpp
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED plugingate/npp_gate.cpp
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED plugingate/np_entry.cpp
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED plugingate/npn_gate.cpp
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED  Source/plugin-support.cpp
Source/plugin-support.cpp: In function `int toolkitOk(NPP_t*, int*, int*)':
Source/plugin-support.cpp:566: `NPNVToolkit' undeclared (first use this
   function)
Source/plugin-support.cpp:566: (Each undeclared identifier is reported only
   once for each function it appears in.)
make: *** [plugin-support.o] Error 1
[root@localhost mplayerplug-in]# make install
g++ -c -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.2.1/java -I/usr/include/mozilla-1.2.1/plugin -I/usr/include/mozilla-1.2.1/xpcom -I/usr/include/mozilla-1.2.1/string -I/usr/include/mozilla-1.2.1/nspr   -I/usr/include/mozilla-1.2.1 -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK2_ENABLED -DGTK_ENABLED  Source/plugin-support.cpp
Source/plugin-support.cpp: In function `int toolkitOk(NPP_t*, int*, int*)':
Source/plugin-support.cpp:566: `NPNVToolkit' undeclared (first use this
   function)
Source/plugin-support.cpp:566: (Each undeclared identifier is reported only
   once for each function it appears in.)
make: *** [plugin-support.o] Error 1
[root@localhost mplayerplug-in]#

----------------------------------
还有你说的2个文件我都好像没有?

-----------------
[root@localhost mplayerplug-in]# ls
ChangeLog      extras               mplayerplug-in.types  Source
common         include              np_entry.o            specfiles
config.h       INSTALL              npn_gate.o            sysinstall.sh
config.h.in    install.sh           npp_gate.o            TODO
config.log     LICENSE              nsScriptablePeer.o    uninstall.sh
config.status  Makefile             pixmaps               whatoptions.sh
configure      Makefile.in          plugingate
configure.in   mplayerplug-in.conf  plugin.o
DOCS           mplayerplug-in.spec  README
------------------
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:59:59 | 显示全部楼层
我也菜,不知如何从命令行提取rpm里的文件


给你的邮箱,我发过去给你如何?
回复 支持 反对

使用道具 举报

发表于 2005-1-24 17:01:24 | 显示全部楼层
编译玩了到哪找??我在终端输入mplayer有反应..可以在终端中运行...图形界面在哪?
回复 支持 反对

使用道具 举报

发表于 2005-1-24 17:05:39 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则

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