Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry just left my linux box. Will be posting the errors tomorrow.
But therotically, the above procedure should works fine right? Install mplayer 1st followed by the plugin. The plugin configuration is kinda confusing with all the gtk stuff which I had no idea what are they.
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/ginstall -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.7/java -I/usr/include/mozilla-1.7/plugin -I/usr/include/mozilla-1.7/xpcom -I/usr/include/mozilla-1.7/string -I/usr/include/mozilla-1.7/nspr
checking MOZPLUG_LIBS... -L/usr/lib/mozilla-1.7 -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 for strlcpy... no
checking for strlcat... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
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
chmod: changing permissions of `./config.status': Operation not permitted
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
subaruwrx@slackware:/opt/mplayerplug-in$ make
Code:
g++ -c -Wall -g -O2 -I/usr/X11R6/include -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla-1.7/java -I/usr/include/mozilla-1.7/plugin -I/usr/include/mozilla-1.7/xpcom -I/usr/include/mozilla-1.7/string -I/usr/include/mozilla-1.7/nspr -Iinclude -fPIC -I/usr/X11R6/include -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
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:49,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:10:25: nsISupports.h: No such file or directory
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:49,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:25: error: parse error before `{' token
Source/nsIScriptableMplayerPlugin.h:34: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:37: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:116: error: parse error before `{' token
Source/nsIScriptableMplayerPlugin.h:125: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:128: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:131: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:134: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:137: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:140: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:143: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:146: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:149: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:152: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:155: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:158: error: parse error before `char'
Source/nsIScriptableMplayerPlugin.h:161: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:164: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:167: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:170: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:171: error: parse error before `char'
Source/nsIScriptableMplayerPlugin.h:174: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:175: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:178: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:179: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:182: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:183: error: parse error before `)' token
Source/nsIScriptableMplayerPlugin.h:186: error: parse error before `*' token
Source/nsIScriptableMplayerPlugin.h:189: error: parse error before `*' token
In file included from Source/plugin.h:49,
from Source/plugin.cpp:37:
Source/nsScriptablePeer.h:49:26: nsIClassInfo.h: No such file or directory
In file included from Source/plugin.h:49,
from Source/plugin.cpp:37:
Source/nsScriptablePeer.h:56: error: parse error before `{' token
Source/nsScriptablePeer.h:62: error: parse error before `*' token
Source/nsScriptablePeer.h:68: error: parse error before `*' token
Source/nsScriptablePeer.h:71: error: parse error before `,' token
Source/nsScriptablePeer.h:75: error: parse error before `*' token
Source/nsScriptablePeer.h:78: error: parse error before `*' token
Source/nsScriptablePeer.h:81: error: `nsCID' was not declared in this scope
Source/nsScriptablePeer.h:81: error: `aClassID' was not declared in this scope
Source/nsScriptablePeer.h:81: error: parse error before `{' token
Source/nsScriptablePeer.h:84: error: `nsCID' was not declared in this scope
Source/nsScriptablePeer.h:84: error: `aClassIDNoAlloc' was not declared in this
scope
Source/nsScriptablePeer.h:84: error: parse error before `{' token
Source/nsScriptablePeer.h:90: error: base class `nsIScriptableWMPPlugin' has
incomplete type
Source/nsScriptablePeer.h:90: error: base class `nsClassInfoMixin' has
incomplete type
Source/nsScriptablePeer.h:97: error: parse error before `&' token
Source/nsScriptablePeer.h:98: error: `nsrefcnt' was not declared in this scope
Source/nsScriptablePeer.h:98: error: variable declaration is not allowed here
Source/nsScriptablePeer.h:98: error: syntax error before `(' token
Source/nsScriptablePeer.h:99: error: `nsrefcnt' was not declared in this scope
Source/nsScriptablePeer.h:99: error: variable declaration is not allowed here
Source/nsScriptablePeer.h:99: error: syntax error before `(' token
Source/nsScriptablePeer.h:102: error: 'nsrefcnt' is used as a type, but is not
defined as a type.
Source/nsScriptablePeer.h:106: error: parse error before `)' token
Source/nsScriptablePeer.h:106: error: parse error before `)' token
Source/nsScriptablePeer.h:106: error: parse error before `)' token
Source/nsScriptablePeer.h:113: error: base class `nsIScriptableMplayerPlugin'
has incomplete type
Source/nsScriptablePeer.h:113: error: base class `nsClassInfoMixin' has
incomplete type
Source/nsScriptablePeer.h:120: error: parse error before `&' token
Source/nsScriptablePeer.h:121: error: `nsrefcnt' was not declared in this scope
Source/nsScriptablePeer.h:121: error: variable declaration is not allowed here
Source/nsScriptablePeer.h:121: error: syntax error before `(' token
Source/nsScriptablePeer.h:122: error: `nsrefcnt' was not declared in this scope
Source/nsScriptablePeer.h:122: error: variable declaration is not allowed here
Source/nsScriptablePeer.h:122: error: syntax error before `(' token
Source/nsScriptablePeer.h:125: error: 'nsrefcnt' is used as a type, but is not
defined as a type.
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `char'
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `char'
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/plugin.cpp:38:31: nsIServiceManager.h: No such file or directory
Source/plugin.cpp:39:23: nsIMemory.h: No such file or directory
Source/plugin.cpp:40:76: nsISupportsUtils.h: No such file or directory
Source/plugin.cpp:54: error: syntax error before `*' token
Source/plugin.cpp: In function `NPError NS_PluginInitialize()':
Source/plugin.cpp:79: error: `nsISupports' undeclared (first use this function)
Source/plugin.cpp:79: error: (Each undeclared identifier is reported only once
for each function it appears in.)
Source/plugin.cpp:79: error: `sm' undeclared (first use this function)
Source/plugin.cpp:88: error: `nsIServiceManager' undeclared (first use this
function)
Source/plugin.cpp:88: error: `NS_GET_IID' undeclared (first use this function)
Source/plugin.cpp:89: error: `gServiceManager' undeclared (first use this
function)
Source/plugin.cpp:90: error: `NS_RELEASE' undeclared (first use this function)
Source/plugin.cpp: In function `void NS_PluginShutdown()':
Source/plugin.cpp:99: error: `NS_IF_RELEASE' undeclared (first use this
function)
Source/plugin.cpp: In constructor `nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:141: error: `AddRef' undeclared (first use this function)
Source/plugin.cpp: In destructor `virtual nsPluginInstance::~nsPluginInstance()
':
Source/plugin.cpp:272: error: `Release' undeclared (first use this function)
Source/plugin.cpp:273: error: `NS_IF_RELEASE' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::GetValue(NPPVariable, void*)':
Source/plugin.cpp:2046: error: cannot convert `nsScriptablePeer*' to `
nsIScriptableMplayerPlugin*' in initialization
Source/plugin.cpp:2048: error: parse error before `)' token
Source/plugin.cpp:2055: error: ISO C++ forbids declaration of `nsIID' with no
type
Source/plugin.cpp:2055: error: parse error before `=' token
Source/plugin.cpp:2055: warning: unused variable `int nsIID'
Source/plugin.cpp:2056: error: `nsIID' undeclared (first use this function)
Source/plugin.cpp:2056: error: `ptr' undeclared (first use this function)
Source/plugin.cpp:2056: error: parse error before `)' token
Source/plugin.cpp:2058: error: `scriptableIID' undeclared (first use this
function)
Source/plugin.cpp:2059: error: parse error before `)' token
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginNameString' not
handled in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginDescriptionString
' not handled in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginWindowBool' not
handled in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginTransparentBool'
not handled in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVjavaClass' not handled
in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginWindowSize' not
handled in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginTimerInterval'
not handled in switch
Source/plugin.cpp:2055: warning: enumeration value `
NPPVjavascriptPushCallerBool' not handled in switch
Source/plugin.cpp:2055: warning: enumeration value `
NPPVpluginKeepLibraryInMemory' not handled in switch
Source/plugin.cpp:2055: warning: enumeration value `NPPVpluginNeedsXEmbed' not
handled in switch
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2063: error: parse error before `break'
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2084: error: `NS_ADDREF' undeclared (first use this function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2098: error: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] Error 1
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
I want to bump this thread because I'm having the exact same problems as the original poster. So how do I go about installing the mplayerplug-in for my Firefox 0.9.3?
this is my error when I do ./configure
[ken@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... Package mozilla-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-plugin' found
configure: error: Unable to find gecko sdk
I compiled mozplugger-1.6.0 yesterday and it works really well, don't bother with the mplayer plugin. Mozplugger gives you loads more.
Just extract the source and go into the mozplugger source directory.
Build it using:
# make linux && make install
Then copy /usr/lib/mozilla/plugins/mozplugger.so to your firefox plugin directory. You can safely remove /usr/lib/mozilla if the only file in the tree after the mozilla directory was mozplugger.so.
Close all your firefox sessions, make sure mplayer is in your path and restart firefox. Go to "aboutlugins" and you should see loads of mime types associated with mozplugin, including mplayer. Browse to some videos to test it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.