X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=INSTALL;h=4c55efd0ac79d31a518310f188d0cc92ea669c65;hb=bf64888f7c34aa7405241d95a045175f52c75e65;hp=1bdf1150c2b9ae95117bb031f4104e520c97fb93;hpb=749c5adf5eea23d3c94ab2c91a9b7a329e3ae6f8;p=vlc diff --git a/INSTALL b/INSTALL index 1bdf1150c2..4c55efd0ac 100644 --- a/INSTALL +++ b/INSTALL @@ -1,53 +1,55 @@ -INSTALL file for vlc, the VideoLAN Client +INSTALL file for the VLC media player +===================================== +More extensive information for *nix, Windows and Mac OS X users can be +found here: http://wiki.videolan.org/Compile_VLC -Configuring VideoLAN -==================== +People installing VLC for Windows from source MUST read: +http://wiki.videolan.org/Win32Compile -A typical way to configure vlc is: +Bootstrapping VLC +================= - ./configure --prefix=/usr --enable-gnome +If you retrieved VLC from the git server and do not have yet a "configure" +script, please run: -See `./configure --help' for more information. + ./bootstrap -Here is a shortcut to copy-paste for a complete build: +Configuring VLC +=============== - make distclean ; ./configure --prefix=/usr --enable-gnome \ - --enable-fb --with-glide --with-ggi --enable-esd --enable-qt +A typical way to configure VLC is: -If you intend to debug stuff, you may want to compile with debugging -symbols: + ./configure - make distclean ; ./configure --prefix=/usr --enable-gnome \ - --enable-fb --with-glide --with-ggi --enable-esd --enable-qt \ - --enable-debug +See `./configure --help' for more information. -It is also possible to cross-compile for the Win32 platform using mingw32: +If you intend to debug stuff, you may want to compile with debugging +symbols: - make distclean ; CC=i586-mingw32msvc-gcc CFLAGS=-I/usr/i586-mingw32msvc \ - RANLIB=i586-mingw32msvc-ranlib WINDRES=i586-mingw32msvc-windres \ - ./configure --host=i386-mingw32msvc --with-directx-path= \ - --with-sdl-config-path= --with-gtk-config-path= + make distclean ; ./configure --enable-debug +We recommend using GCC to build VLC, though some people reported success +with the Intel C compiler (version 8) as well. GCC version 3.3 or higher is +required. On older systems (e.g. FreeBSD 4.x), please select a more recent +version manually by setting the CC and CXX environment variables +appropriately while running the ./configure shell script. -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. +Building VLC +============ -Once configured, run `make' to build vlc. +Once configured, run `make' to build VLC. -Installing and running VideoLAN -=============================== +Installing and running VLC +========================== -You can install the vlc and its plugins by typing: +You can install the VLC and its plugins by typing: make install -But you don't need to install it if you don't want to; vlc can be launched +But you don't need to install it if you don't want to; VLC can be launched from the current directory as well: ./vlc @@ -56,12 +58,13 @@ from the current directory as well: Building packages ================= -To build a Debian package, you may use: - - dpkg-buildpackage -rfakeroot -us -uc +To build a Debian package, you need to get the packaging info + git clone git://git.debian.org/pkg-multimedia/vlc.git debian +and then + git-buildpackage -To build RedHat packages, use: +To build RPM packages, copy a spec file from extra/package/rpm and: rpm -ba vlc.spec