application icongmusicbrowser

This is an old revision of the document!

To use the mozembed plugin, you need to install the gtkmozembed perl bindings


This shouldn't be necessary, but it is for now on most install, if it is not done gmusicbrowser will crash (segmentation fault) as soon as it tries to display a mozembed widget. Add “/usr/lib/firefox” to the library path, either everytime by doing “export LD_LIBRARY_PATH=/usr/lib/firefox”, or only once by adding the path to /etc/ and running ldconfig (needs root/sudo)

Under Debian, you usually use Iceweasel instead of Firefox ; you have to add /usr/lib/iceweasel in the /etc/ :

include /etc/*.conf

Running ldconfig produces an error on my installation :

debian:/home/bbrice# ldconfig 
ldconfig: Erreur de la procédure mmap du fichier /usr/lib/iceweasel/

But it doesn't seem to be important in the use of the MozEmbed plugin.


Mandriva 2008

install the perl-Gtk2-MozEmbed-0.06 package. And follow the Important instructions above.

Mandriva 2009

I couldn't get mozembed to work on mandriva 2009.0 or 2009.1, neither with the packaged version, nor by compiling it from source.
But the WebKit package (perl-Gtk2-WebKit-0.04-2mdv2009.1) works.

Ubuntu / Debian

There is now a libgtk2-mozembed-perl package for debian and for ubuntu

Old informations on the packages you need if you want to compile it from source


Remi made a package on this page

Install from source

These instructions will install the gtkmozembed perl bindings in a sandbox, that way, you don't need root permissions and can't break your system.

  1. mkdir ~/sandbox
  2. Download and untar Gtk2-MozEmbed-0.06.tar.gz from sourceforge
  3. cd Gtk2-MozEmbed-0.06
  4. perl Makefile.PL PREFIX=~/sandbox && make && make install

And PERL5LIB must be set when gmusicbrowser is launched, so that it can find the installed Gtk2::MozEmbed. It can be done either :

- by adding “export PERL5LIB=~/sandbox/lib/perl/:$PERL5LIB” in your ~/.bashrc
- or by running gmusicbrowser through a small shell script :
  export PERL5LIB=~/sandbox/lib/perl/:$PERL5LIB
  exec gmusicbrowser

save this script, for example in ~/, make it executable :

chmod +x

and change the command in the launcher's properties with : ~/

On Ubuntu Feisty Fawn, I had to specify more the path for perl libraries, by using

export PERL5LIB=~/sandbox/lib/perl/5.8.8/:$PERL5LIB

instead of

export PERL5LIB=~/sandbox/lib/perl/:$PERL5LIB

Then follow the Important instructions above

You can test everything works by running “perl examples/pumpzilla”

install/mozembed.1244831150.txt.gz · Last modified: 2013/04/03 06:28 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0