A typical way to configure vlc is:
- ./configure --prefix=/usr --enable-gnome --with-sdl
+ ./configure --prefix=/usr --enable-gnome
See `./configure --help' for more information.
Here is a shortcut to copy-paste for a complete build:
make distclean ; ./configure --prefix=/usr --enable-gnome \
- --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
- --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa
+ --enable-fb --with-glide --with-ggi --enable-esd \
+ --enable-gtk --enable-qt --enable-xvideo --enable-alsa
-If you intend to debug stuff, you may want to disable optimizations:
+If you intend to debug stuff, you may want to compile with debugging
+symbols:
make distclean ; ./configure --prefix=/usr --enable-gnome \
- --enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
- --enable-mga --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
+ --enable-fb --with-glide --with-ggi --enable-esd \
+ --enable-gtk --enable-qt --enable-xvideo --enable-alsa \
--enable-debug
It is also possible to cross-compile for the Win32 platform using mingw32:
make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \
RANLIB=i586-mingw32msvc-ranlib ./configure --host=i386-mingw32msvc \
--target=i386-mingw32msvc --build=i386-linux --disable-dsp \
- --disable-gtk --disable-x11 --disable-xvideo
+ --disable-x11 --disable-xvideo
Building VideoLAN
rpm -ba vlc.spec
+To build an ipkg package (iPAQ familiar Linux), use:
+
+ ipkg-buildpackage