Thread: [Mplayerplug-in-devel] mplayerplug-in 3.55 compilation issue
Brought to you by:
kdekorte
From: Dâniel F. <fr...@gm...> - 2008-12-08 16:10:24
|
Any hints? g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/local/gecko-sdk/ -I/usr/local/gecko-sdk//include -I/usr/local/gecko-sdk//include/plugin -I/usr/local/gecko-sdk//include/xpcom -I/usr/local/gecko-sdk//include/nspr -I/usr/local/gecko-sdk//include/string -I/usr/local/gecko-sdk//include/java -O3 -march=native -pipe -I/usr/X11/include -I/usr/X11/include -O3 -march=native -pipe -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/X11R6/include -I/usr/X11/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp 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 In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/plugin.cpp:37: 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:123: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before 'virtual' Source/plugin.cpp: In member function 'void nsPluginInstance::shutdown()': Source/plugin.cpp:437: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:440: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::Play()': Source/plugin.cpp:2241: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::Pause()': Source/plugin.cpp:2271: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::Stop()': Source/plugin.cpp:2291: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2293: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2303: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::Quit()': Source/plugin.cpp:2321: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2322: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::FastForward()': Source/plugin.cpp:2348: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2349: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2351: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::FastReverse()': Source/plugin.cpp:2375: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2376: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2378: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::Seek(double)': Source/plugin.cpp:2391: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp:2395: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::VolumeUp()': Source/plugin.cpp:2409: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::VolumeDown()': Source/plugin.cpp:2423: warning: deprecated conversion from string constant to 'char*' Source/plugin.cpp: In member function 'void nsPluginInstance::SetShowlogo(PRBool)': Source/plugin.cpp:3151: warning: suggest explicit braces to avoid ambiguous 'else' make: *** [plugin.o] Error 1 -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-08 17:32:02
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > Any hints? > -DGTK_ENABLED Source/plugin.cpp 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 When I see this, I find that a make distclean is usually required to fix it. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk9WgoACgkQ6w2kMH0L1dF7+QCgh0s97yZqBZRuw6WHrrKGvcGU nZoAoJOzWl1AVoznbLqXGTqFyApoVS/3 =sAYg -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-08 20:27:00
|
On Mon, 08 Dec 2008 10:31:54 -0700 Kevin DeKorte <kde...@gm...> wrote: > When I see this, I find that a make distclean is usually required to fix it. Hi Kevin. I tried make distclean, but then I got: fraga@tux ~/src/mplayerplug-in-3.55$ ./configure --with-gecko-sdk=/usr/local/gecko-sdk/ --enable-gmp 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 ISO C89... none needed configure: error: cannot find install-sh or install.sh in "." "./.." "./../.." -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-08 20:32:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Mon, 08 Dec 2008 10:31:54 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> When I see this, I find that a make distclean is usually required to fix it. > > Hi Kevin. > > I tried make distclean, but then I got: > > fraga@tux ~/src/mplayerplug-in-3.55$ ./configure --with-gecko-sdk=/usr/local/gecko-sdk/ --enable-gmp > 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 ISO C89... none needed > configure: error: cannot find install-sh or install.sh in "." "./.." > "./../.." > Hum... that is new... just do... touch install.sh And then it should work. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk9hD0ACgkQ6w2kMH0L1dFSVQCfR6lhHR2oOIbzIhMJ1XELkToN OfUAoIhRemDtvjGiIfkain8Ej18apXvU =na9N -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-09 13:44:35
|
On Mon, 08 Dec 2008 13:31:58 -0700 Kevin DeKorte <kde...@gm...> wrote: > Hum... that is new... > > just do... touch install.sh > > And then it should work. Ok. It worked, but I got this one at the end of configure: /usr/local/bin/xpidl -w -m header -I -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl ** (process:6197): WARNING **: Parse of Source failed: Is a directory -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-09 14:02:18
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Mon, 08 Dec 2008 13:31:58 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> Hum... that is new... >> >> just do... touch install.sh >> >> And then it should work. > > Ok. It worked, but I got this one at the end of configure: > > /usr/local/bin/xpidl -w -m header -I -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl > > ** (process:6197): WARNING **: Parse of Source failed: Is a directory > Hum.... that should look like this... /usr/lib64/xulrunner-1.9/xpidl -w -m header -I /usr/share/idl/xulrunner-sdk-1.9/stable -I Source -e Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl That is because the variable GECKO_IDLDIR is not set. I made a fix to CVS that should work around this problem. Also, any reason why you are not using a package? Also, I notices you are enabling the gmp option. There is really no need for that option anymore. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk+emAACgkQ6w2kMH0L1dHbewCeOVjgNOYbF5ELTD9MEgCNH3+z 3nMAoItbmwnBmIkUh6kACF32091HKY8N =CchH -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-09 16:49:56
|
On Tue, 09 Dec 2008 07:02:08 -0700 Kevin DeKorte <kde...@gm...> wrote: Hi Kevin! > Hum.... that should look like this... > > /usr/lib64/xulrunner-1.9/xpidl -w -m header -I > /usr/share/idl/xulrunner-sdk-1.9/stable -I Source -e > Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl > > That is because the variable GECKO_IDLDIR is not set. I made a fix to > CVS that should work around this problem. Perfect! CVS is fine. Thanks! > Also, any reason why you are not using a package? Also, I notices you > are enabling the gmp option. There is really no need for that option > anymore. I use Linux from scratch and I like to compile everything by myself. ;) Ok, thanks for the advice regarding gmp... I left it for a long time activated. Now I won't use it anymore (do you plan to remove this option from configure?). Anyway, sometimes Firefox crashes after seeing some sites like vreel, etc... But I'm afraid it is a X or firefox issue, something related to windows management... not mplayerplug-in. I tried to ruin firefox -g -d gdb but I got no backtrace: (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e7 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e2 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e1 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e0 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e3 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090df unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e4 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x1208609 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x12090e6 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x1208607 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x1208606 unexpectedly destroyed (firefox-bin:15467): Gdk-WARNING **: GdkWindow 0x1208603 unexpectedly destroyed (firefox-bin:15467): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkWidget' (firefox-bin:15467): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed (firefox-bin:15467): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWidget' (firefox-bin:15467): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed (firefox-bin:15467): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWidget' (firefox-bin:15467): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed (firefox-bin:15467): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWidget' (firefox-bin:15467): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed The program 'firefox-bin' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 612603 error_code 3 request_code 10 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) *** I'll try to contact Firefox developers to see what's happening. Thank you! -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-09 17:05:29
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > Perfect! CVS is fine. Thanks! > Good to hear... >> Also, any reason why you are not using a package? Also, I notices you >> are enabling the gmp option. There is really no need for that option >> anymore. > > I use Linux from scratch and I like to compile everything by > myself. ;) Ok, well that is why you are not using a package. Have you thought about using the newer version of mplayerplug-in? There is gecko-mediaplayer that I have written to replace mplayerplug-in. It requires that you have gnome-mplayer (which has no gnome dependencies, just follows the HIG for the most part) and dbus active. It should be more stable than mplayerplug-in. You can read about them here: http://kdekorte.googlepages.com/ Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk+pVAACgkQ6w2kMH0L1dEE0gCeMtxoxc92DAAWikdM26CFSBZF ESoAn1PL7P8q6ymm5Bi9pfXGxRrdD1cu =JtM+ -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-09 21:52:44
|
On Tue, 09 Dec 2008 10:05:20 -0700 Kevin DeKorte <kde...@gm...> wrote: > Ok, well that is why you are not using a package. Have you thought about > using the newer version of mplayerplug-in? There is gecko-mediaplayer > that I have written to replace mplayerplug-in. It requires that you have > gnome-mplayer (which has no gnome dependencies, just follows the HIG for > the most part) and dbus active. It should be more stable than > mplayerplug-in. > > You can read about them here: > > http://kdekorte.googlepages.com/ It's a pleasure to test new and better software ;) In fact, before posting to this mailing-list, I saw gecko-mediaplayer, but I didn't know that it was written by you too ;). Very good to know. I tried to configure it and had this problem: /usr/local/bin/xpidl -w -m header -I /usr/local/share/idl/mozilla-1.7.7 -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl ./src/nsIScriptableGeckoMediaPlayer.idl:2: can't open included file nsISupports.idl for reading input callback returned failure Maybe because of the /usr/local/share/idl/mozilla-1.7.7 path, right? I tried to play with the environment variables provided by configure, but I couldn't sort how to do it. Thank you! -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-09 22:07:01
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > > I tried to configure it and had this problem: > > /usr/local/bin/xpidl -w -m header -I /usr/local/share/idl/mozilla-1.7.7 -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl > ./src/nsIScriptableGeckoMediaPlayer.idl:2: can't open included file nsISupports.idl for reading Is the file nsISupports.idl in the /usr/local/share/idl/mozilla-1.7.7 directory? That file location was probably obtained from a .pc file from the mozilla install. So you will need to find that file and then post the entire output of configure. This type of problem is almost always related to bad .pc files. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk+6/0ACgkQ6w2kMH0L1dG9CQCfSczsl5ESgRP/BfoD41TpiRWT QhYAnRlrXhf9jdvD4POXp+2cRemfXXY8 =JAxC -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-10 01:54:07
|
On Tue, 09 Dec 2008 15:06:53 -0700 Kevin DeKorte <kde...@gm...> wrote: > Is the file nsISupports.idl in the /usr/local/share/idl/mozilla-1.7.7 > directory? That file location was probably obtained from a .pc file from > the mozilla install. So you will need to find that file and then post > the entire output of configure. > > This type of problem is almost always related to bad .pc files. Ok, you're right. I had a bunch of old .pc files from previous installations, including a mozilla install I don't use anymore. It was my fault ;) I just removed them now. But, I noticed that Firefox 2 used to install those .pc files and Firefox 3 don't do that anymore. So, I don't have any .pc firefox files. The solution was to use: GECKO_LIBS="-L/usr/local/gecko-sdk/lib" GECKO_CFLAGS="-I/usr/local/gecko-sdk/include" ./configure It finds Gecko correctly, but generates this: /usr/local/bin/xpidl -w -m header -I -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl ** (process:31644): WARNING **: Parse of . failed: Is a directory Is there a way I can give it by hand what it wants? I have the following directory structure: fraga@tux ~/src$ ls /usr/local/gecko-sdk/ bin@ idl@ include@ lib@ sdk/ xpcom-config.h Thanks again! ;) -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-10 03:44:34
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Tue, 09 Dec 2008 15:06:53 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> Is the file nsISupports.idl in the /usr/local/share/idl/mozilla-1.7.7 >> directory? That file location was probably obtained from a .pc file from >> the mozilla install. So you will need to find that file and then post >> the entire output of configure. >> >> This type of problem is almost always related to bad .pc files. > > Ok, you're right. I had a bunch of old .pc files from previous > installations, including a mozilla install I don't use anymore. It was > my fault ;) I just removed them now. > > But, I noticed that Firefox 2 used to install those .pc files > and Firefox 3 don't do that anymore. So, I don't have any .pc > firefox files. > > The solution was to use: > > GECKO_LIBS="-L/usr/local/gecko-sdk/lib" GECKO_CFLAGS="-I/usr/local/gecko-sdk/include" ./configure > > It finds Gecko correctly, but generates this: > > /usr/local/bin/xpidl -w -m header -I -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl You need a GECKO_IDLDIR setting like the GECKO_LIBS and it should point to the directory that contains nsISupports.idl You also might need to set GECKO_HOME that points to the directory that contains xpidl. This would be much easier if you just installed libxul Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk/OxMACgkQ6w2kMH0L1dEaoQCgh07ICjG9bpG4axTMmS1Zk/WZ vaoAnA0QE2JR4VodXJ19tRjtuk7wJ2On =NAkF -----END PGP SIGNATURE----- |
From: Kevin D. <kde...@gm...> - 2008-12-10 17:26:26
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Tue, 09 Dec 2008 15:06:53 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> Is the file nsISupports.idl in the /usr/local/share/idl/mozilla-1.7.7 >> directory? That file location was probably obtained from a .pc file from >> the mozilla install. So you will need to find that file and then post >> the entire output of configure. >> >> This type of problem is almost always related to bad .pc files. > > Ok, you're right. I had a bunch of old .pc files from previous > installations, including a mozilla install I don't use anymore. It was > my fault ;) I just removed them now. > > But, I noticed that Firefox 2 used to install those .pc files > and Firefox 3 don't do that anymore. So, I don't have any .pc > firefox files. > > The solution was to use: > > GECKO_LIBS="-L/usr/local/gecko-sdk/lib" GECKO_CFLAGS="-I/usr/local/gecko-sdk/include" ./configure > > It finds Gecko correctly, but generates this: > > /usr/local/bin/xpidl -w -m header -I -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl > > ** (process:31644): WARNING **: Parse of . failed: Is a directory > > Is there a way I can give it by hand what it wants? > > I have the following directory structure: > > fraga@tux ~/src$ ls /usr/local/gecko-sdk/ > bin@ idl@ include@ lib@ sdk/ xpcom-config.h > > Thanks again! ;) > I just made some patches to the gecko-mediaplayer configure script that should make the --with-xulrunner-sdk compile work better. I got it working here and it tested out ok and I committed those patches to SVN. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk/+7oACgkQ6w2kMH0L1dHckQCfUU6Sx+HWzouyzPuU4yvdwhjC 1WMAn0tGm1VwGfuSOyjeIqGhUuj9Ah7Q =iDyd -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-10 16:50:59
|
On Tue, 09 Dec 2008 20:44:19 -0700 Kevin DeKorte <kde...@gm...> wrote: > You need a GECKO_IDLDIR setting like the GECKO_LIBS and it should point > to the directory that contains nsISupports.idl Ok, I tried: GECKO_IDLDIR="/usr/local/gecko-sdk/idl" GECKO_LIBS="-L/usr/local/gecko-sdk/lib" GECKO_CFLAGS="-I/usr/local/gecko-sdk/include" ./configure but it return the same message: /usr/local/bin/xpidl -w -m header -I -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl ** (process:2210): WARNING **: Parse of . failed: Is a directory > You also might need to set GECKO_HOME that points to the directory that > contains xpidl. xpidl is found correctly without help ;). > This would be much easier if you just installed libxul Yes, but since Firefox has all those headers and idl files, I prefer to use those provided by Firefox. The only thing now is the GECKO_IDLDIR. It seems that it isn't being used. Interesting thing: if I do not use GECKO_CFLAGS it uses GECKO_IDLDIR correctly but can't find gecko. If I use GECKO_CFLAGS, it finds gecko, but doesn't use GECKO_IDLDIR. The behaviour seems to be mutual exclusive... -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-10 17:12:25
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Tue, 09 Dec 2008 20:44:19 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> You need a GECKO_IDLDIR setting like the GECKO_LIBS and it should point >> to the directory that contains nsISupports.idl > > Ok, I tried: > > GECKO_IDLDIR="/usr/local/gecko-sdk/idl" > GECKO_LIBS="-L/usr/local/gecko-sdk/lib" > GECKO_CFLAGS="-I/usr/local/gecko-sdk/include" ./configure > > but it return the same message: > > /usr/local/bin/xpidl -w -m header -I -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl > > ** (process:2210): WARNING **: Parse of . failed: Is a directory > >> You also might need to set GECKO_HOME that points to the directory that >> contains xpidl. > > xpidl is found correctly without help ;). > >> This would be much easier if you just installed libxul > > Yes, but since Firefox has all those headers and idl files, I > prefer to use those provided by Firefox. > > The only thing now is the GECKO_IDLDIR. It seems that it isn't being used. > > Interesting thing: if I do not use GECKO_CFLAGS it uses GECKO_IDLDIR correctly but can't find gecko. > If I use GECKO_CFLAGS, it finds gecko, but doesn't use GECKO_IDLDIR. The behaviour seems to be mutual exclusive... > That is because you don't have GECKO_HOME set Try this... and if you have trouble, please post the entire output... and don't set any of the GECKO_* flags. ./configure --with-xulrunner-sdk=/usr/local/gecko-sdk Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkk/+HIACgkQ6w2kMH0L1dH/aQCfWHgCPHoEzSgE08juGu/7rVfs zAwAnj9yNu9MqvxUG7MNKVaBxuVboIRY =ThnC -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-11 04:25:18
|
On Wed, 10 Dec 2008 10:26:19 -0700 Kevin DeKorte <kde...@gm...> wrote: > I just made some patches to the gecko-mediaplayer configure script that > should make the --with-xulrunner-sdk compile work better. I got it > working here and it tested out ok and I committed those patches to SVN. Nice Kevin, the svn compiled fine, but when I try to open a site which uses the plugin, I get just a grey window... Nothing is displayed, not even the controls. -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Dâniel F. <fr...@gm...> - 2008-12-11 04:35:22
|
On Wed, 10 Dec 2008 10:26:19 -0700 Kevin DeKorte <kde...@gm...> wrote: > I just made some patches to the gecko-mediaplayer configure script that > should make the --with-xulrunner-sdk compile work better. I got it > working here and it tested out ok and I committed those patches to SVN. Here it's what is happening: DBUS connection created Listening to path /control/6845 ARG: type = video/divx ARG: src = http://ne.edgecastcdn.net/00054B/vreel/3000/3124starcraft2ci-xvid.avi?173434eab7e184e3abbf13fc001f857c4e432e38a69ce371fe60e4d9a6ee9aa3d765768c4c857fc42e694f5be8d96073/.divx?ec_rate=90 ARG: custommode = none ARG: previewimage = http://beta.vreel.net/thumbs/3124starcraft2ci-jpg.jpg ARG: disabledimmer = true ARG: autoplay = false ARG: pluginspage = http://go.divx.com/plugin/download/ ARG: width = 710 ARG: height = 405 Unable to launch gnome-mplayer: Failed to execute child process "(null)" (No such file or directory) Unable to launch gnome-mplayer: Failed to execute child process "(null)" (No such file or directory) Exiting destroy stream reason = 1 for http://ne.edgecastcdn.net/00054B/vreel/3000/3124starcraft2ci-xvid.avi?173434eab7e184e3abbf13fc001f857c4e432e38a69ce371fe60e4d9a6ee9aa3d765768c4c857fc42e694f5be8d96073/.divx?ec_rate=90 So does it need gnome-mplayer? -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Dâniel F. <fr...@gm...> - 2008-12-11 05:01:23
|
On Wed, 10 Dec 2008 10:26:19 -0700 Kevin DeKorte <kde...@gm...> wrote: > I just made some patches to the gecko-mediaplayer configure script that > should make the --with-xulrunner-sdk compile work better. I got it > working here and it tested out ok and I committed those patches to SVN. I wrote: >> So does it need gnome-mplayer? Yes, and I should know that ;) I installed gnome-mplayer and I can see now the controls. I configured everything in preferences and: DBUS connection created Listening to path /control/25224 ARG: type = video/divx ARG: src = http://ne.edgecastcdn.net/00054B/vreel/3000/3515enginepoint.-xvid.avi?173434eab7e184e3abbf13fc001f857c4e432e38a69ce371fe60e4d9a6ee98a68f080e53e004075348f9c4e540b3f8c5/.divx?ec_rate=90 ARG: custommode = none ARG: previewimage = http://beta.vreel.net/thumbs/3515enginepoint.-jpg.jpg ARG: disabledimmer = true ARG: autoplay = false ARG: pluginspage = http://go.divx.com/plugin/download/ ARG: width = 710 ARG: height = 405 GNOME MPlayer v0.9.2 Running with GIO support Front,0 Range is 0 to 39 Front,0 Current Volume 21, multiplier = 2.564103 Scaled Volume is 53.846157 Using volume of 53.85 vo = xv ao = alsa Using match: type='signal',interface='com.gnome.mplayer' Using match: type='signal',interface='org.gnome.SettingsDaemon' Proxy connections and Command connected Exiting destroy stream reason = 1 for http://ne.edgecastcdn.net/00054B/vreel/3000/3515enginepoint.-xvid.avi?173434eab7e184e3abbf13fc001f857c4e432e38a69ce371fe60e4d9a6ee98a68f080e53e004075348f9c4e540b3f8c5/.divx?ec_rate=90 I hit play and nothing happens. -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-11 13:39:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Wed, 10 Dec 2008 10:26:19 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> I just made some patches to the gecko-mediaplayer configure script that >> should make the --with-xulrunner-sdk compile work better. I got it >> working here and it tested out ok and I committed those patches to SVN. > > I wrote: > >>> So does it need gnome-mplayer? > > Yes, and I should know that ;) I installed gnome-mplayer and I > can see now the controls. I configured everything in preferences and: Please open a simple file in gnome-mplayer (use the -v option) and see if you can get that to play. Normally if that works you should be ok. Also make sure that dbus is running. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklBGAIACgkQ6w2kMH0L1dH1ZACbBRKo5iBavLvXK7uaTt45jBgp TKcAn1gxNPrf2GKTbvXF98qeVO3llSIJ =5N+P -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-11 16:46:23
|
On Thu, 11 Dec 2008 06:39:14 -0700 Kevin DeKorte <kde...@gm...> wrote: > Please open a simple file in gnome-mplayer (use the -v option) and see > if you can get that to play. Normally if that works you should be ok. > Also make sure that dbus is running. Ok, this is fine now. Probably dbus. But since kde3 apps launch dbus automatically, I didn't care about launching it: fraga@tux ~/src$ ps axw|grep dbus 2981 ? S 0:00 dbus-launch --sh-syntax --exit-with-session 2982 ? Ss 0:01 /usr/local/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session I got to play on 2 sites succesfully, but not on vreel. Can you try it there? http://beta.vreel.net/watch_2685.html Maybe a site bug? -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |
From: Kevin D. <kde...@gm...> - 2008-12-11 17:10:03
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dâniel Fraga wrote: > On Thu, 11 Dec 2008 06:39:14 -0700 > Kevin DeKorte <kde...@gm...> wrote: > >> Please open a simple file in gnome-mplayer (use the -v option) and see >> if you can get that to play. Normally if that works you should be ok. >> Also make sure that dbus is running. > > Ok, this is fine now. Probably dbus. But since kde3 apps launch > dbus automatically, I didn't care about launching it: > > fraga@tux ~/src$ ps axw|grep dbus > 2981 ? S 0:00 dbus-launch --sh-syntax --exit-with-session > 2982 ? Ss 0:01 /usr/local/bin/dbus-daemon --fork > --print-pid 4 --print-address 6 --session > > I got to play on 2 sites succesfully, but not on vreel. Can you > try it there? > > http://beta.vreel.net/watch_2685.html > > Maybe a site bug? > The media gives a 403 when you try to request it. So something is wrong with the site. Firefox is getting a network error when it tries to request the media. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklBSWAACgkQ6w2kMH0L1dGBBACgjeOAIKVMYHkjS9q05RG0edwV 7OIAn1ZTJ1raFKeVZoHr5i+cOPFcda45 =KEDe -----END PGP SIGNATURE----- |
From: Dâniel F. <fr...@gm...> - 2008-12-12 17:33:10
|
On Thu, 11 Dec 2008 10:09:52 -0700 Kevin DeKorte <kde...@gm...> wrote: > The media gives a 403 when you try to request it. So something is wrong > with the site. Firefox is getting a network error when it tries to > request the media. Ok, so thank you very much for gecko-mediaplayer. I'll be using it. Mayen you could put a warning on mplayerplug-in page that it would be better to use gecko-mediaplayer ;). -- Linux 2.6.28-rc6: Killer Bat of Doom http://u-br.net |