]> git.sesse.net Git - vlc/blob - INSTALL
* Added a make uninstall rule.
[vlc] / INSTALL
1 INSTALL file for vlc, the VideoLAN Client
2
3
4 Configuring VideoLAN
5 ====================
6
7 A typical way to configure vlc is:
8
9    ./configure --prefix=/usr --enable-gnome --with-sdl
10
11 See `./configure --help' for more information.
12
13 Here is a shortcut to copy-paste for a complete build:
14
15    make distclean ; ./configure --prefix=/usr --enable-gnome \
16       --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
17       --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa
18
19 If you intend to debug stuff, you may want to disable optimizations:
20
21    make distclean ; ./configure --prefix=/usr --enable-gnome \
22       --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
23       --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
24       --enable-debug
25
26 It is also possible to cross-compile for the Win32 platform using mingw32:
27
28    make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
29      RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \
30      --target=i386-mingw32msvc --build=i386-linux --disable-dsp \
31      --disable-gtk --disable-x11 --disable-xvideo
32
33
34 Building VideoLAN
35 =================
36
37 Have a look at the generated Makefile.opts file, you may want to choose
38 which modules will be compiled as plugins, and which ones will remain in
39 the core application. The configure script tries to guess for you.
40
41 Once configured, run `make' to build vlc.
42
43
44 Installing and running VideoLAN
45 ===============================
46
47 You can install the vlc and its plugins by typing:
48
49    make install
50
51 But you don't need to install it if you don't want to; vlc can be launched
52 from the current directory as well:
53
54    ./vlc
55
56
57 Building packages
58 =================
59
60 To build a Debian package, you may use:
61
62    dpkg-buildpackage -rfakeroot -us -uc
63
64
65 To build RedHat packages, use:
66
67    rpm -ba vlc.spec
68