QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2985|回复: 6

fedora11安装mplayer问题?

[复制链接]
发表于 2009-9-16 16:39:48 | 显示全部楼层 |阅读模式
安装提示Error: X11 support required for GUI compilation
是不是需要安装XFree86-devel这个?
但是我在添加删除软件里没有找到这个包?
 楼主| 发表于 2009-9-16 17:03:15 | 显示全部楼层

回复 2# seamonkey 的帖子

装了libX11-devel了,还是不行!!!
回复

使用道具 举报

whistler_wmz 该用户已被删除
发表于 2009-9-16 17:59:45 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| 发表于 2009-9-25 16:22:54 | 显示全部楼层
[root@localhost src]# rpm -ivh mplayerplug-in-3.55-35.fc10.i386.rpm
warning: mplayerplug-in-3.55-35.fc10.i386.rpm: Header V4 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
    mplayer >= 4:1.0 is needed by mplayerplug-in-3.55-35.fc10.i386
    mplayer-skin-mini is needed by mplayerplug-in-3.55-35.fc10.i386
这个是什么原因?
这是我装的几个源码包!我该装那个版本的mplayerplug-in?
all-20071007.tar.bz2        
gb2312-ming.tar.bz2     
Blue-1.7.tar.bz2         
essential-20071007.tar.bz2
MPlayer-1.0rc2.tar.bz2
回复

使用道具 举报

 楼主| 发表于 2009-9-25 16:53:18 | 显示全部楼层
[root@localhost mplayerplug-in]# make
g++ -c -o plugin.o -Wall -g -O2   -g -O2  -DXP_UNIX -DMOZ_X11 -DXP_UNIX -DOJI -I/usr/include/xulrunner-sdk-1.9.1/stable -I/usr/include/xulrunner-sdk-1.9.1/java -I/usr/include/xulrunner-sdk-1.9.1/plugin -I/usr/include/nspr4   -I/usr/include/xulrunner-sdk-1.9.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/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK_ENABLED  Source/plugin.cpp
在包含自 include/pluginbase.h:41 的文件中,
                 从 Source/plugin.h:53,
                 从 Source/plugin.cpp:37:
include/npplat.h:42:19: 错误:npupp.h:没有那个文件或目录
在包含自 Source/nsScriptablePeer.h:48 的文件中,
                 从 Source/plugin.h:54,
                 从 Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28:60: 错误:宏“NS_DEFINE_STATIC_IID_ACCESSOR”需要 2 个参数,但只给出了 1 个
Source/nsIScriptableMplayerPlugin.h:123:64: 错误:宏“NS_DEFINE_STATIC_IID_ACCESSOR”需要 2 个参数,但只给出了 1 个
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28: 错误:ISO C++ 不允许声明无类型的‘NS_DEFINE_STATIC_IID_ACCESSOR’
Source/nsIScriptableMplayerPlugin.h:31: 错误:expected ‘;’ before ‘virtual’
Source/nsIScriptableMplayerPlugin.h:123: 错误:ISO C++ 不允许声明无类型的‘NS_DEFINE_STATIC_IID_ACCESSOR’
Source/nsIScriptableMplayerPlugin.h:126: 错误:expected ‘;’ before ‘virtual’
In file included from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsScriptablePeer.h: In member function ‘virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)’:
Source/nsScriptablePeer.h:64: 错误:‘nsIProgrammingLanguage’未声明
Source/plugin.cpp: In member function ‘void nsPluginInstance::shutdown()’:
Source/plugin.cpp:404: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:407: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance:lay()’:
Source/plugin.cpp:2056: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance:ause()’:
Source/plugin.cpp:2086: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Stop()’:
Source/plugin.cpp:2106: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2108: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2118: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Quit()’:
Source/plugin.cpp:2136: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2137: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::FastForward()’:
Source/plugin.cpp:2163: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2164: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2166: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::FastReverse()’:
Source/plugin.cpp:2190: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2191: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2193: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Seek(double)’:
Source/plugin.cpp:2206: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2210: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::SetShowlogo(PRBool)’:
Source/plugin.cpp:2899: 警告:建议显式地使用花括号以避免出现有歧义的‘else’
make: *** [plugin.o] 错误 1
[root@localhost mplayerplug-in]#


源代码包mplayerplug-in-3.21.tar.gz
回复

使用道具 举报

发表于 2009-9-25 20:11:45 | 显示全部楼层
源代码安装的软件不会被 rpm 加入依赖关系。所以除非你装 mplayer 的 rpm 包,不然 rpm 永远不知道你装了 mplayer 。

又一个不会走就开始狂奔的主。
回复

使用道具 举报

发表于 2009-9-25 21:22:48 | 显示全部楼层
新手还是先把yum理清楚在说,不要一上来就源代码。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-3-30 00:01 , Processed in 0.051956 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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