Re: [Mplayerplug-in-devel] configure: error: xpidl compiler not found

259 views
Skip to first unread message

Kevin DeKorte

unread,
Apr 11, 2008, 8:47:36 AM4/11/08
to mplayerplug-in developers, gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rune Baggetun wrote:
| Hi,
| I am trying to compile gecko-mplayer from svn sources, but I get a
| configure error. Any tip on how to solve this ?
|
| This is the error message:
|
| ./configure
| ....
| ....
| checking for pkg-config... /usr/bin/pkg-config
| checking pkg-config is at least version 0.9.0... yes
| checking for GLIB... yes
| checking for GECKO... no
| configure: WARNING: mozilla-plugin not found, trying another
| checking for GECKO... yes
| checking for xpidl... no
| configure: error: xpidl compiler not found
|
|
| Some info where xpidl is in my system:
|
| e@nFs-desktop:~/apps/gecko-mediaplayer$ locate xpidl
| /usr/lib/firefox/xpidl
| /usr/lib/xulrunner/xpidl
| /usr/lib/xulrunner/sdk/bin/xpidl
| /usr/lib/xulrunner-1.9b5/xpidl
|
| This is on Ubuntu Hardy 64bit, and both Mplayer and gnome-mplayer
| works fine on this box.
|
| Regards

Rune,

Lets take this to the gecko-mediaplayer list... but it sounds like a
package config issue

what does this give you
pkg-config --variable=libdir firefox-plugin

That should give you the location of the firefox lib directory and then
xpidl is expected to be found there.

I had this same problem on Fedora 9 early in the development period,
they had bugs in their .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

iEYEARECAAYFAkf/XegACgkQ6w2kMH0L1dEOFQCfXUu06dvMH3rNeVF78DmSdLHo
jeoAnRdsoL5G8uX6GEUAPSdFGEPZET8S
=93zj
-----END PGP SIGNATURE-----

blaamann

unread,
Apr 11, 2008, 9:40:25 AM4/11/08
to gecko-mediaplayer
This is what I get:
e@nFs-desktop:~/$ pkg-config --variable=libdir firefox-plugin
/usr/lib/firefox-2

But this directory does not even exist:
e@nFs-desktop:~/$ ll /usr/lib/firefox
firefox/ firefox-3.0b5/ firefox-addons/

Should I try to solve this by making a symlink?
sudo ln -s /usr/lib/firefox /usr/lib/firefox-2


Regards
--
Rune Baggetun

Kevin DeKorte

unread,
Apr 11, 2008, 11:19:51 AM4/11/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

blaamann wrote:

|> Rune,
|>
|> Lets take this to the gecko-mediaplayer list... but it sounds like a
|> package config issue
|>
|> what does this give you
|> pkg-config --variable=libdir firefox-plugin
|
| This is what I get:
| e@nFs-desktop:~/$ pkg-config --variable=libdir firefox-plugin
| /usr/lib/firefox-2
|
| But this directory does not even exist:
| e@nFs-desktop:~/$ ll /usr/lib/firefox
| firefox/ firefox-3.0b5/ firefox-addons/
|
| Should I try to solve this by making a symlink?
| sudo ln -s /usr/lib/firefox /usr/lib/firefox-2
|
|
| Regards
| --
| Rune Baggetun
|

Rune,

the symlink would be a short term solution, but the correct solution
would be to get the .pc file fixed so that it works correctly. I suggest
you open a bug and have them fix it, since it is wrong.

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.7 (GNU/Linux)


Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFH/4GX6w2kMH0L1dERAjl4AJwMhxND1h5ZJ6o0cnZ2I0u0Y6ElIACgkgxA
qdTlzvrKVWrCCo4BKyMJUnU=
=MZjA
-----END PGP SIGNATURE-----

blaamann

unread,
Apr 11, 2008, 12:07:43 PM4/11/08
to gecko-mediaplayer
Even the symlinking did not work:

./configure
...
...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GECKO... no
configure: WARNING: mozilla-plugin not found, trying another
checking for GECKO... yes
checking for xpidl... /usr/lib/firefox-2/xpidl
checking for DBUS... yes
checking for GCONF... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gecko-mediaplayer.spec
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: po/Makefile.in.in seems to ignore the --
datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
/usr/lib/firefox-2/xpidl -w -m header -I /usr/share/idl/firefox-2 -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

e@nFs-desktop:~/apps/gecko-mediaplayer$ locate nsISupports.idl
/usr/lib/xulrunner/sdk/idl/nsISupports.idl
/usr/share/idl/firefox/nsISupports.idl
/usr/share/idl/seamonkey/nsISupports.idl
/usr/share/idl/xulrunner/nsISupports.idl
rune@nFs-desktop:~/apps/gecko-mediaplayer$

Seems like I should file a bug report.

- Rune

balage

unread,
Jun 8, 2008, 6:02:09 AM6/8/08
to gecko-mediaplayer
I have installed xulrunner-1.9-rc2 on my gentoo system.
I had to change these two lines in /usr/lib/pkgconfig/libxul.pc to
compile gecko-mediaplayer.
I know this "bug" is reladted to xulrunner not to gecko-mediaplayer
but at least with these changes it works.

Here comes the changes. Could be useful for someone.

--- libxul.pc-original 2008-06-08 11:58:31.000000000 +0200
+++ libxul.pc 2008-06-08 11:53:47.000000000 +0200
@@ -1,7 +1,8 @@
prefix=/usr
sdkdir=/usr/lib/xulrunner-1.9
includedir=/usr/include/xulrunner-1.9
-idldir=/usr/include/xulrunner-1.9/idl
+idldir=/usr/include/xulrunner-1.9/idl/stable
+libdir=/usr/lib/xulrunner-1.9
includetype=stable

# Note: the default pkg-config includes will only list include
directories

eternalsword

unread,
Jun 16, 2008, 3:42:59 PM6/16/08
to gecko-mediaplayer
$pkg-config --variable=libdir firefox-plugin

gives no output for me on Ubuntu Hardy

Kevin DeKorte

unread,
Jun 16, 2008, 5:16:19 PM6/16/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

eternalsword wrote:
| $pkg-config --variable=libdir firefox-plugin
|
| gives no output for me on Ubuntu Hardy

Since you have xulrunner-dev installed can you provide me with a list of
the .pc files in that package...

something like

dpkg -L xulrunner-dev | grep .pc

I want to see what the options are... and then from there I can
determine what else is needed.

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.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIVtgj6w2kMH0L1dERAuqfAJ95+myNkFx3XTqTrwFbmpCCiCaQvgCfebBb
4tmx8F2Z+8OuGQyOHPsxt7o=
=B7O1
-----END PGP SIGNATURE-----

eternalsword

unread,
Jun 17, 2008, 9:13:59 PM6/17/08
to gecko-mediaplayer
$ dpkg -L xulrunner-1.9-dev | grep '\.pc'
/usr/lib/pkgconfig/libxul-embedding-unstable.pc
/usr/lib/pkgconfig/libxul-embedding.pc
/usr/lib/pkgconfig/libxul-unstable.pc
/usr/lib/pkgconfig/libxul.pc
/usr/lib/pkgconfig/mozilla-gtkmozembed-embedding.pc
/usr/lib/pkgconfig/mozilla-gtkmozembed.pc
/usr/lib/pkgconfig/mozilla-js.pc
/usr/lib/pkgconfig/mozilla-nspr.pc
/usr/lib/pkgconfig/mozilla-nss.pc
/usr/lib/pkgconfig/mozilla-plugin.pc


On Jun 16, 5:16 pm, Kevin DeKorte <kdeko...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>

> Since you have xulrunner-dev installed can you provide me with a list of
> the .pc files in that package...
>
> something like
>
> dpkg -L xulrunner-dev | grep .pc
>
> I want to see what the options are... and then from there I can
> determine what else is needed.
>
> Kevin
>
> - --
> Get my public GnuPG key fromhttp://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora -http://enigmail.mozdev.org

eternalsword

unread,
Jun 17, 2008, 9:19:43 PM6/17/08
to gecko-mediaplayer
$ cat /usr/lib/pkgconfig/mozilla-plugin.pc
prefix=/usr
sdkdir=/usr/lib/xulrunner-devel-1.9
includedir=/usr/include/xulrunner-1.9

Name: Mozilla Plug-In API
Description: Mozilla Plug-In API
Version: 1.9
Requires: nspr >= 3.12.0
Cflags: -I${includedir}/stable


I checked and the idl files are in /usr/lib/xulrunner-devel-1.9/idl
and the xpidl is in /usr/lib/xulrunner-devel-1.9/bin


Kevin DeKorte

unread,
Jun 18, 2008, 12:10:42 AM6/18/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

eternalsword wrote:
| $ dpkg -L xulrunner-1.9-dev | grep '\.pc'
| /usr/lib/pkgconfig/libxul-embedding-unstable.pc
| /usr/lib/pkgconfig/libxul-embedding.pc
| /usr/lib/pkgconfig/libxul-unstable.pc
| /usr/lib/pkgconfig/libxul.pc
| /usr/lib/pkgconfig/mozilla-gtkmozembed-embedding.pc
| /usr/lib/pkgconfig/mozilla-gtkmozembed.pc
| /usr/lib/pkgconfig/mozilla-js.pc
| /usr/lib/pkgconfig/mozilla-nspr.pc
| /usr/lib/pkgconfig/mozilla-nss.pc
| /usr/lib/pkgconfig/mozilla-plugin.pc
|

The bug has been updated to include the proper package. you don't need
xulrunner-dev, you need libxul-dev

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.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIWIrC6w2kMH0L1dERAiAyAJ9suP6YVVHPBFL2u4xVJ01YVLyqDACfUR1N
dLEZwYgSqWj8jwC762icRv8=
=b+Ql
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages