INSTALL 1.82 KB
Newer Older
1 2 3
INSTALL file for vlc, the VideoLAN Client


4 5
Configuring VideoLAN
====================
6

7
A typical way to configure vlc is:
8

9
   ./configure --prefix=/usr --enable-gnome
10 11 12

See `./configure --help' for more information.

13
Here is a shortcut to copy-paste for a complete build:
14

15
   make distclean ; ./configure --prefix=/usr --enable-gnome \
16 17
      --enable-fb --with-glide --with-ggi --enable-esd \
      --enable-gtk --enable-qt --enable-xvideo --enable-alsa
18

19 20
If you intend to debug stuff, you may want to compile with debugging
symbols:
21

22
   make distclean ; ./configure --prefix=/usr --enable-gnome \
23 24
      --enable-fb --with-glide --with-ggi --enable-esd \
      --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
25
      --enable-debug
26

27 28
It is also possible to cross-compile for the Win32 platform using mingw32:

29
   make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
30 31
     RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \
     --target=i386-mingw32msvc --build=i386-linux --disable-dsp \
32
     --disable-x11 --disable-xvideo
33

34 35 36 37 38 39 40 41 42

Building VideoLAN
=================

Have a look at the generated Makefile.opts file, you may want to choose
which modules will be compiled as plugins, and which ones will remain in
the core application. The configure script tries to guess for you.

Once configured, run `make' to build vlc.
43 44


45 46 47
Installing and running VideoLAN
===============================

48
You can install the vlc and its plugins by typing:
49 50 51

   make install

52 53
But you don't need to install it if you don't want to; vlc can be launched
from the current directory as well:
54 55 56

   ./vlc

57 58 59 60 61 62 63 64 65 66 67 68 69

Building packages
=================

To build a Debian package, you may use:

   dpkg-buildpackage -rfakeroot -us -uc


To build RedHat packages, use:

   rpm -ba vlc.spec

70 71 72
To build an ipkg package (iPAQ familiar Linux), use:

   ipkg-buildpackage