[vlc] Re: Compiling vlc mozilla plugin howto?

Jean-Paul Saman jean-paul.saman at planet.nl
Sat Apr 16 16:33:33 CEST 2005


> Unfortunately that won't solve other peoples problem with the mozilla 
> plugin.

Fixed mozilla plugin compilation for distributions which use version 
numbers in directory names.

1) If you are using VLC from subversion, then do: svn update
2) If using snapshots, then grab a snapshot after April 16th.

HOWTO compile mozilla plugin:
========================

Checkout VLC from subversion, see http://developers.videolan.org/svn.html

$> cd src/vlc-trunk

Bootstrap your fresh subversion checkout first.

$> ./bootstrap

Determine your mozilla version using your package manager. For RPM based distributions (Redhat, Fedora Core, Mandrake, Suse):

$> rpm -q mozilla
mozilla-1.7.6-1.3.2

The first number "1.7.6" is the mozilla version number the other number after the second '-' is the package version number.

Then configure to build VLC with mozilla plugin:

$> XPIDL=/usr/lib/mozilla-1.7.6/xpidl ./configure --prefix=/usr --enable-mozilla --enable-mpeg2dec <__add_your__options_here__> && make

See ./configure --help output for more information on commandline switches to use for configuring VLC.

To run make after the ./configure step export XPIDL in the shell environment, like this example for bash shells:

$> export XPIDL=/usr/lib/mozilla-1.7.6/xpidl

or 

$> XPIDL=/usr/lib/mozilla-1.7.6/xpidl make

This configures and builds VLC with the mozilla plugin for your version 
of mozilla.

Kind greetings,
Jean-Paul Saman.

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list