LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-24-2004, 10:54 PM   #1
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Rep: Reputation: 15
mplayer doesn't install in Slackware 10


I have mplayer installed and want to stream videos in Mozilla. When I tried to install the mplayer-plugin, it didn't seem to install the plugin. I go to Help > About Plugins and I don't see the plugin on there. Help?
 
Old 10-24-2004, 11:08 PM   #2
SlackDude
LQ Newbie
 
Registered: Oct 2004
Location: Canada
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
give a look at this web site:
http://www.mplayerhq.hu/homepage/design7/projects.html

It's somewhre in the middle....

Last edited by SlackDude; 10-24-2004 at 11:09 PM.
 
Old 10-25-2004, 08:51 AM   #3
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
I don't know what's wrong. I still can't get it working.
 
Old 10-25-2004, 09:36 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
try compiling from source, get the current package from MPlayers website.
 
Old 10-25-2004, 09:46 AM   #5
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
I tried building the plugin from source but I get this when I try to make it:

Quote:
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:280: error: `Release' undeclared (first use this function)
Source/plugin.cpp:281: error: `NS_IF_RELEASE' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::GetValue(NPPVariable, void*)':
Source/plugin.cpp:2227: error: cannot convert `nsScriptablePeer*' to `
nsIScriptableMplayerPlugin*' in initialization
Source/plugin.cpp:2229: error: parse error before `)' token
Source/plugin.cpp:2236: error: ISO C++ forbids declaration of `nsIID' with no
type
Source/plugin.cpp:2236: error: parse error before `=' token
Source/plugin.cpp:2236: warning: unused variable `int nsIID'
Source/plugin.cpp:2237: error: `nsIID' undeclared (first use this function)
Source/plugin.cpp:2237: error: `ptr' undeclared (first use this function)
Source/plugin.cpp:2237: error: parse error before `)' token
Source/plugin.cpp:2239: error: `scriptableIID' undeclared (first use this
function)
Source/plugin.cpp:2240: error: parse error before `)' token
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNameString' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginDescriptionString
' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowBool' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTransparentBool'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVjavaClass' not handled
in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowSize' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTimerInterval'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVjavascriptPushCallerBool' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVpluginKeepLibraryInMemory' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNeedsXEmbed' not
handled in switch
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2244: error: parse error before `break'
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2265: error: `NS_ADDREF' undeclared (first use this function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2279: error: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] Error 1
 
Old 10-25-2004, 11:23 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I've just tried doing the same on Slack 10 and get the same error, I don't know whether there is something about Slack causing this problem.
 
Old 10-25-2004, 12:01 PM   #7
SlackDude
LQ Newbie
 
Registered: Oct 2004
Location: Canada
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Question

What plug in are u trying to intsall?
 
Old 10-25-2004, 01:18 PM   #8
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
mplayerplug-in-2.70.tar.gz
 
Old 10-31-2004, 01:25 AM   #9
SlackDude
LQ Newbie
 
Registered: Oct 2004
Location: Canada
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
I'm not very sure about the error since I don't use mplayer plug ins.
But, read about it, maybe u are missing some required packeges or something.
 
Old 10-31-2004, 03:47 AM   #10
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Quote:
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
You need to install mozilla development packages.
 
Old 10-31-2004, 04:27 AM   #11
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
MPlayer Plugin may need some devel stuff.

If you can't get it figured out, try "mozplugger".

http://mozplugger.mozdev.org/

Download and extract the tarball, then enter the mozplugger directory
and do:

make linux

Then there are a couple files to move around.
The readme has instructions.

By default it seems to work well with Apple Quicktime and WMV.
You can set it up for Real I think, but I haven't messed with it.

Last edited by auditek747; 10-31-2004 at 04:29 AM.
 
Old 10-31-2004, 08:58 AM   #12
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
I've tried that, but it still can't find a plugin to stream anything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Mplayer for Slackware? JockVSJock Slackware 3 10-22-2004 09:06 PM
Slackware 10 - Mplayer problems + more Kristijan Slackware 19 07-15-2004 09:47 AM
mplayer in Slackware iZvi Slackware 2 06-06-2004 03:06 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM
My Howto install mplayer on slackware Anibal Slackware 1 07-31-2003 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration