Difference between revisions of "UnixCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
m
Line 31: Line 31:
 
== See also ==
 
== See also ==
 
* http://developers.videolan.org/vlc/nix-compile.html
 
* http://developers.videolan.org/vlc/nix-compile.html
 +
 +
[[Category:Building]]

Revision as of 01:52, 14 January 2007

Download source code and extract the archive and go into your VLC directory

cd /path/to/your/vlc/folder/

As with most compilations, you need to run ./configure to get information about your computer, so it can be compiled correctly.

./configure

If you want to install VLC into another directory, run

./configure --prefix=/path/to/install/folder/

Compile VLC:

make

As root (type "su" to change to root account):

make install

To remove files created during the compile (optional) type:

make clean

SVN

If you download code using SVN, then you need to additionally call

./bootstrap

before ./configure.

Notes

Cygwin

Compiling on Cygwin may be broken. It's possibly better to use 0.8.4a.

Debian

Debian users who want to compile VLC should install the packages below. Note: if you just want to use VLC media player then simply install the package vlc (apt-get install vlc) - the unstable version is normally very up-to-date (and stable is, er, stable ;-)

See also