LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-12-2005, 02:06 PM   #1
awing_pilot
LQ Newbie
 
Registered: Jul 2003
Location: Earth
Distribution: FC4, Suse10, pcLinux
Posts: 25

Rep: Reputation: 15
mplayerplug-in 2.8 fails to make install


After numersous tries with everything i ma just unable to get mplayerplug-in to work with firefox.

I have SuSE professional 9.1 installed. I compiled the latest release of mplayer (1.0pre6a)
I got Mplayer working at 100% . No matter what i tryi can not get the darn plugin to work I tried the 2.66 version for suse.. No good. I tried the 2.80 rpm for Fedora with teh --nodeps tag no good. So i dl'd the source and tried to compile it myself. I can get teh ./configure to succeed but when i do make or make install i get all sorts of wierd errors. I am doing this as root so its not permissions. Here are some of the errors that i am getting:

Source/plugin.cpp:149: error: `int nsPluginInstance::state' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:150: error: ISO C++ forbids declaration of `url' with no type
Source/plugin.cpp:150: error: `int nsPluginInstance::url' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:150: warning: initialization to non-pointer type `int' from
NULL
Source/plugin.cpp:150: warning: argument to non-pointer type `int' from NULL
Source/plugin.cpp:151: error: ISO C++ forbids declaration of `fname' with no
type
Source/plugin.cpp:152: error: `int nsPluginInstance::href' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:152: warning: initialization to non-pointer type `int' from
NULL
Source/plugin.cpp:152: warning: argument to non-pointer type `int' from NULL
Source/plugin.cpp:153: error: ISO C++ forbids declaration of `lastmessage' with
no type
Source/plugin.cpp:153: error: `int nsPluginInstance::lastmessage' is not a
static member of `class nsPluginInstance'
Source/plugin.cpp:153: error: `NPN_MemAlloc' was not declared in this scope
Source/plugin.cpp:154: error: invalid use of member `
nsPluginInstance::lastmessage'
Source/plugin.cpp:154: error: ISO C++ forbids declaration of `memset' with no
type

Lots of with no type errors and it ends like this :

Source/plugin.cpp: At global scope:
Source/plugin.cpp:2441: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2441: error: `_retval' was not declared in this scope
Source/plugin.cpp:2442: error: variable or field `GetShowlogo' declared void
Source/plugin.cpp:2442: error: `int nsPluginInstance::GetShowlogo' is not a
static member of `class nsPluginInstance'
Source/plugin.cpp:2442: error: syntax error before `{' token
Source/plugin.cpp:2447: error: syntax error before `)' token
Source/plugin.cpp:2460: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2460: error: `_retval' was not declared in this scope
Source/plugin.cpp:2461: error: variable or field `GetAutoPlay' declared void
Source/plugin.cpp:2461: error: `int nsPluginInstance::GetAutoPlay' is not a
static member of `class nsPluginInstance'
Source/plugin.cpp:2461: error: syntax error before `{' token
Source/plugin.cpp:2466: error: syntax error before `)' token
Source/plugin.cpp:2471: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2471: error: `_retval' was not declared in this scope
Source/plugin.cpp:2472: error: variable or field `GetLoop' declared void
Source/plugin.cpp:2472: error: `int nsPluginInstance::GetLoop' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:2472: error: syntax error before `{' token
Source/plugin.cpp:2477: error: syntax error before `)' token
Source/plugin.cpp:2497: error: syntax error before `::' token
Source/plugin.cpp:2515: error: syntax error before `*' token
Source/plugin.cpp:2518: error: syntax error before `*' token
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2543: error: `NS_ADDREF' undeclared (first use this function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2557: error: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] Error 1


Any help would be greatly appreciated Or the rpm for 2.80 for Suse as it is not on the sourceforge site
 
Old 03-12-2005, 02:58 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Re: mplayerplug-in 2.8 fails to make install

Quote:
Originally posted by awing_pilot
After numersous tries with everything i ma just unable to get mplayerplug-in to work with firefox.

I have SuSE professional 9.1 installed. I compiled the latest release of mplayer (1.0pre6a)
I got Mplayer working at 100% . No matter what i tryi can not get the darn plugin to work I tried the 2.66 version for suse.. No good. I tried the 2.80 rpm for Fedora with teh --nodeps tag no good. So i dl'd the source and tried to compile it myself. I can get teh ./configure to succeed but when i do make or make install i get all sorts of wierd errors. I am doing this as root so its not permissions. Here are some of the errors that i am getting:

Source/plugin.cpp:149: error: `int nsPluginInstance::state' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:150: error: ISO C++ forbids declaration of `url' with no type
Source/plugin.cpp:150: error: `int nsPluginInstance::url' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:150: warning: initialization to non-pointer type `int' from
NULL
Source/plugin.cpp:150: warning: argument to non-pointer type `int' from NULL
Source/plugin.cpp:151: error: ISO C++ forbids declaration of `fname' with no
type
Source/plugin.cpp:152: error: `int nsPluginInstance::href' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:152: warning: initialization to non-pointer type `int' from
NULL
Source/plugin.cpp:152: warning: argument to non-pointer type `int' from NULL
Source/plugin.cpp:153: error: ISO C++ forbids declaration of `lastmessage' with
no type
Source/plugin.cpp:153: error: `int nsPluginInstance::lastmessage' is not a
static member of `class nsPluginInstance'
Source/plugin.cpp:153: error: `NPN_MemAlloc' was not declared in this scope
Source/plugin.cpp:154: error: invalid use of member `
nsPluginInstance::lastmessage'
Source/plugin.cpp:154: error: ISO C++ forbids declaration of `memset' with no
type

Lots of with no type errors and it ends like this :

Source/plugin.cpp: At global scope:
Source/plugin.cpp:2441: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2441: error: `_retval' was not declared in this scope
Source/plugin.cpp:2442: error: variable or field `GetShowlogo' declared void
Source/plugin.cpp:2442: error: `int nsPluginInstance::GetShowlogo' is not a
static member of `class nsPluginInstance'
Source/plugin.cpp:2442: error: syntax error before `{' token
Source/plugin.cpp:2447: error: syntax error before `)' token
Source/plugin.cpp:2460: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2460: error: `_retval' was not declared in this scope
Source/plugin.cpp:2461: error: variable or field `GetAutoPlay' declared void
Source/plugin.cpp:2461: error: `int nsPluginInstance::GetAutoPlay' is not a
static member of `class nsPluginInstance'
Source/plugin.cpp:2461: error: syntax error before `{' token
Source/plugin.cpp:2466: error: syntax error before `)' token
Source/plugin.cpp:2471: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2471: error: `_retval' was not declared in this scope
Source/plugin.cpp:2472: error: variable or field `GetLoop' declared void
Source/plugin.cpp:2472: error: `int nsPluginInstance::GetLoop' is not a static
member of `class nsPluginInstance'
Source/plugin.cpp:2472: error: syntax error before `{' token
Source/plugin.cpp:2477: error: syntax error before `)' token
Source/plugin.cpp:2497: error: syntax error before `::' token
Source/plugin.cpp:2515: error: syntax error before `*' token
Source/plugin.cpp:2518: error: syntax error before `*' token
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2543: error: `NS_ADDREF' undeclared (first use this function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2557: error: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] Error 1


Any help would be greatly appreciated Or the rpm for 2.80 for Suse as it is not on the sourceforge site
you are missing some things from your system. you need to show the relevant portion of the errors before we can tell what it is though. ( go a little farther up, or do:

Code:
make &> make.txt
look at the make.txt for the "No such file or directory" error and find out what include(s) are missing)
Most likely, you are missing the mozilla include files ( I believe thats where NS_ADDREF is from).
 
Old 03-12-2005, 05:30 PM   #3
awing_pilot
LQ Newbie
 
Registered: Jul 2003
Location: Earth
Distribution: FC4, Suse10, pcLinux
Posts: 25

Original Poster
Rep: Reputation: 15
Man i hate when you make a stupid oversight. Thank goodsnes people are there to bounce this stuff off of.

Here was my solution: I downloaded all teh code to ~/My Downloads/xxx.tar.gz

when i compiled i had teh "My Downloads listed in teh path and GCC freaked because teh escape character wasn't working in teh compile. I moved everything to /tmp/ and Voila it works great now I can't thank you enough for making me review everything again... I'm so pissed i spent 4.5 hours on this.... graaahhhhhhh!!!


Thanks again
 
  


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
pango install fails on make install Seph64 Linux From Scratch 1 10-15-2005 11:17 PM
make install fails for BBTV... no TV for me :( jimdaworm Linux - Newbie 11 05-10-2005 10:32 PM
mplayerplug-in make error wezhousheng Linux - Software 10 04-25-2005 02:14 AM
install mplayerplug-in without mozilla 1.4? coolpyrofreak Linux - Software 0 04-30-2004 12:00 AM
Slack 9.1 kernel 2.6.1 make install fails LoungeLizard Slackware 2 01-31-2004 05:39 PM


All times are GMT -5. The time now is 01:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration