kakinchan / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

make fails - npapi.h missing - Ubuntu 10.10 #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Completed make followed by make install to install gecko-mediaplayer. Instead I 
see a failed make:

In file included from plugin_types.h:41,
                 from plugin_types_std.cpp:38:
plugin.h:40: fatal error: npapi.h: No such file or directory
compilation terminated.
make[3]: *** [plugin_types_std.o] Error 1
make[3]: Leaving directory `/home/uditn/Downloads/gecko-mediaplayer-1.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/uditn/Downloads/gecko-mediaplayer-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/uditn/Downloads/gecko-mediaplayer-1.0.0'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Trying to install gecko-1.0 for ubuntu 10.10.

Please provide any additional information below.

Original issue reported on code.google.com by Udit....@gmail.com on 6 Apr 2011 at 6:50

GoogleCodeExporter commented 8 years ago
Most likely a configuration error on your machine. Probably missing one of the 
6-7 possible versions of xulrunner

Usually can be fixed by installing libxul-dev or xulrunner-dev and then 
rerunning configure.

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Thanks a lot...installed the xulrunner modules from Synaptic and now it 
installs. However now I cannot play any videos. It shows a blank screen on my 
browser window.
I am attaching a screenshot for your reference.

I use gecko-mediaplayer 1.0.0 and mplayer 1.0.2 on Ubuntu 10.10 and Firefox 4.0

Original comment by Udit....@gmail.com on 6 Apr 2011 at 8:57

Attachments:

GoogleCodeExporter commented 8 years ago
gecko-mediaplayer requires gnome-mplayer in addition to mplayer to play the 
videos, you will need version 1.0.0 or 1.0.2 of gnome-mplayer to work with 
gecko-mediaplayer 1.0.0.

It is possible that the site you are trying to work with does not work with 
gecko-mediaplayer, due to the nature of the media on that site, further testing 
or debugging may be needed.

Please test with this site:

http://mplayerplug-in.sourceforge.net/testing/testvid.html

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 9:08

GoogleCodeExporter commented 8 years ago
yeah I do have gnome-mplayer 1.0.2 installed and gecko-mediaplayer 1.0.0 
installed, here's the screenshot.
And, moreover on the test page nothing shows up but the buttons. Screenshot of 
that too is attached.

Original comment by Udit....@gmail.com on 6 Apr 2011 at 9:19

Attachments:

GoogleCodeExporter commented 8 years ago
Open gnome-mplayer, in the preferences, enable debugging on the interface tab 
(last option), close gnome-mplayer

Please close all instances of firefox, open a terminal, run firefox from that 
terminal

Open the site I gave you to test, this will give information as to why it may 
not be working.

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 9:22

GoogleCodeExporter commented 8 years ago
Nope, absolutely nothing on the terminal. And the page remains as it is, 
verbose mode did nothing on the terminal, and did not display any messages. I 
have mozplugger installed. Could that cause a clash? It did not clash with 
gecko-mediaplayer and gnome-mplayer 0.9.9.2 that I had before upgrading to 
1.0.0 and 1.0.2 respectively.

Original comment by Udit....@gmail.com on 6 Apr 2011 at 9:40

GoogleCodeExporter commented 8 years ago
If you have verbose enabled and nothing came out, then gecko-mediaplayer is not 
getting loaded or firefox was already running. Having mozplugger installed at 
the same time as gecko-mediaplayer is known to cause problems unless you have 
configured them properly, so you may want to remove mozplugger for now. 

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 9:50

GoogleCodeExporter commented 8 years ago
Ok so I removed mplayer, gnome-mplayer and gecko-mediaplayer..then I installed 
the packages from synaptic:  version 0.9.9.2 for gnome-mplayer and 
gecko-mediaplayer and there you have it, it works! 

Now my question to you is, why is the working perfectly with version 0.9.9.2 
and not with 1.0.0 and 1.0.2 versions of gecko and gnome-mplayer?

I appreciate your patience to answering questions with a n00b. Thanks!! :)

Original comment by Udit....@gmail.com on 6 Apr 2011 at 10:09

GoogleCodeExporter commented 8 years ago
Oh I forgot to add that version 0.9.9.2 is what is there in the repository and 
not what I got from your websites.

All the three packages of mplayer, gnome-mplayer and gecko-mediaplayer were 
installed from the repository in synaptic application manager.

Original comment by Udit....@gmail.com on 6 Apr 2011 at 10:11

GoogleCodeExporter commented 8 years ago
My guess is when you built the packages yourself, you may have not had all the 
components required to make working packages. I know the code works, and there 
are versions of 1.0.0 available for Ubuntu, but I don't know where.

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 10:14

GoogleCodeExporter commented 8 years ago
perhaps using something like apt-get builddep prior to trying to upgrade the 
binaries using source may have made the task easier.

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 10:16

GoogleCodeExporter commented 8 years ago
Ok so here is finally what I did to keep you to my last question:

1. Uninstalled mplayer,gnome-mplayer and gecko-mediaplayer.
2. Installed mplayer from synaptic, gnome-mplayer from your sources(1.0.2), and 
gecko-mediaplayer fromsynaptic again. Now I get the NEW nicer 1.0.2 interface 
on firefox and everything works (Awesome!!). No issues with streaming, the 
picture looks great, I can see the cache too, and once more I don't need 
Windows (read :you guys are amazing!).

So my last question is, why can't I go forward or backwards on videos. This is 
not unique to any website, it happens on all websites I visit. Is it a bug on 
mplayer you're trying to fix? Any internet-based playback has this issue with 
my machine.

Original comment by Udit....@gmail.com on 6 Apr 2011 at 10:37

GoogleCodeExporter commented 8 years ago
Seeking is only enabled on sites that mplayer identifies as being seekable. 
Typically, sites that stream data are not seekable so that is why it is 
disabled. If mplayer fixes the problem, then gnome-mplayer will automatically 
get the fix.

Original comment by kdeko...@gmail.com on 6 Apr 2011 at 10:40

GoogleCodeExporter commented 8 years ago
aaahhh gotcha! I can live with that :)

Thanks!!

Original comment by Udit....@gmail.com on 6 Apr 2011 at 10:42