View previous topic :: View next topic |
Author |
Message |
Kwark Tux's lil' helper
Joined: 21 May 2007 Posts: 121
|
Posted: Tue Jan 08, 2008 11:08 am Post subject: net-www/mplayerplug-in-3.45 fails with FF3 |
|
|
I am trying to compile net-www/mplayerplug-in-3.45, but I get the following error:
Code: | configure: Determining mozilla/firefox packages to build against
checking for MOZPLUG... no
configure: WARNING: mozilla-plugin not found
checking for MOZPLUG... no
configure: WARNING: firefox-plugin not found
checking for MOZPLUG... no
configure: WARNING: seamonkey-plugin not found
checking for MOZPLUG... no
configure: WARNING: xulrunner-plugin not found
checking for MOZPLUG... no
configure: WARNING: iceape-plugin not found
configure: error: Unable to find mozilla or firefox development files |
This is because I have Firefox 3.0 beta installed from the mozilla overlay. Is there a way to get mplayerplug-in to compile? |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Tue Jan 08, 2008 12:10 pm Post subject: |
|
|
Yes and/or No, because they tend to mess up pkgconfig .pc files in the overlay build (or upstream, no idea).
At least this affects mozilla-firefox-3.0_pre20080102, which didn't use xulrunner.
Code: | sirius tom # epm -ql mozilla-firefox|grep pkg
sirius tom # epm -ql xulrunner|grep pkg
/usr/lib64/pkgconfig/xulrunner-plugin.pc
/usr/lib64/pkgconfig/xulrunner-nspr.pc
/usr/lib64/pkgconfig/xulrunner-nss.pc
/usr/lib64/pkgconfig/xulrunner-js.pc
/usr/lib64/pkgconfig/xulrunner-xpcom.pc
sirius tom # epm -q mozilla-firefox
mozilla-firefox-3.0_pre20080102
sirius tom # epm -q xulrunner
xulrunner-1.9_pre20070716-r1 |
So
a) install xulrunner, or update the overlay try latest ff ebuild, maybe with xulrunner useflag set - and hope it works somehow
b) or simply compile against ff2:
* do a quickpkg of ff3
* install ff2
* compile mplayerplug-in
* quickpkg ff2
* emerge --usepkgonly mozilla-firefox (reinstall the ff3 quickpkg) _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
Kwark Tux's lil' helper
Joined: 21 May 2007 Posts: 121
|
Posted: Tue Jan 08, 2008 1:44 pm Post subject: |
|
|
Okay, installing xulrunner (which sets up .pc files) got past the configure stage.
However, I am getting compiler errors now, I guess mplayerplug-in needs an update to compile against the newest xulrunner/FF.
Code: | In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/nsScriptablePeer.cpp:48:
Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
include/pluginbase.h:55: warning: 'class nsPluginInstanceBase' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsISupportsBase.h:66: warning: 'class nsISupports' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsCycleCollector.h:53: warning: 'struct nsCycleCollectionLanguageRuntime' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsCycleCollector.h:73: warning: 'struct nsCycleCollectionJSRuntime' has virtual functions but non-virtual destructor
include/pluginbase.h:55: warning: 'class nsPluginInstanceBase' has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:25: warning: 'class nsIScriptableWMPPlugin' has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:120: warning: 'class nsIScriptableMplayerPlugin' has virtual functions but non-virtual destructor/usr/include/xulrunner/stable/nsISupportsBase.h:66: warning: 'class nsISupports' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsIClassInfo.h:29: warning: 'class nsIClassInfo' has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: 'class nsClassInfoMixin' has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h: In member function 'virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)':
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has not been declared
/usr/include/xulrunner/stable/nsCycleCollector.h:53: warning: 'struct nsCycleCollectionLanguageRuntime' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsCycleCollector.h:73: warning: 'struct nsCycleCollectionJSRuntime' has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:25: warning: 'class nsIScriptableWMPPlugin' has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:120: warning: 'class nsIScriptableMplayerPlugin' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsIClassInfo.h:29: warning: 'class nsIClassInfo' has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: 'class nsClassInfoMixin' has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h: In member function 'virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)':
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has not been declared
Source/nsScriptablePeer.cpp: In member function 'virtual nsresult nsScriptablePeer::QueryInterface(const nsIID&, void**)':
Source/nsScriptablePeer.cpp:101: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:101: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:101: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:107: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:107: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:107: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:114: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:114: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:116: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:116: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:116: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:116: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:116: error: declaration of '<typeprefixerror>NS_STATIC_CAST'
/usr/include/xulrunner/stable/nsIServiceManager.h: At global scope:
/usr/include/xulrunner/stable/nsIServiceManager.h:40: warning: 'class nsIServiceManager' has virtual functions but non-virtual destructor
/usr/include/xulrunner/stable/nsIMemory.h:58: warning: 'class nsIMemory' has virtual functions but non-virtual destructor
Source/plugin.cpp: In function 'NPError NS_PluginInitialize()':
Source/plugin.cpp:101: warning: dereferencing type-punned pointer will break strict-aliasing rules
Source/nsScriptablePeer.cpp:116: error: conflicts with previous declaration '<typeprefixerror>NS_STATIC_CAST'
Source/nsScriptablePeer.cpp: In member function 'virtual nsresult nsControlsScriptablePeer::QueryInterface(const nsIID&, void**)':
Source/nsScriptablePeer.cpp:489: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:489: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:489: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:495: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:495: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:495: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:502: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:502: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:504: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:504: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:504: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:504: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:504: error: declaration of '<typeprefixerror>NS_STATIC_CAST'
Source/nsScriptablePeer.cpp:504: error: conflicts with previous declaration '<typeprefixerror>NS_STATIC_CAST'
make: *** [nsScriptablePeer.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [plugin.o] Error 1 |
|
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Tue Jan 08, 2008 3:11 pm Post subject: |
|
|
Compile Firefox 3.0 without xulrunner and xulrunner-1.8.*. Should work. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|