中国Linux公社论坛's Archiver

plover-cqf 发表于 2009-9-16 16:39

fedora11安装mplayer问题?

安装提示Error: X11 support required for GUI compilation
是不是需要安装XFree86-devel这个?
但是我在添加删除软件里没有找到这个包?

plover-cqf 发表于 2009-9-16 17:03

回复 2# seamonkey 的帖子

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

whistler_wmz 发表于 2009-9-16 17:59

直接加 rpmfusion 源之后用添加删除程序装不就完了... 不用自己编译

plover-cqf 发表于 2009-9-25 16:22

[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

plover-cqf 发表于 2009-9-25 16:53

[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::Play()’:
Source/plugin.cpp:2056: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Pause()’:
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

jiangtao9999 发表于 2009-9-25 20:11

源代码安装的软件不会被 rpm 加入依赖关系。所以除非你装 mplayer 的 rpm 包,不然 rpm 永远不知道你装了 mplayer 。

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

hillwood 发表于 2009-9-25 21:22

新手还是先把yum理清楚在说,不要一上来就源代码。

页: [1]

Powered by Discuz! Archiver 6.1.0F  © 2001-2007 Comsenz Inc.