Changes between Version 5 and Version 6 of How to quickly compile libx264


Ignore:
Timestamp:
02/28/2013 10:11:32 PM (4 months ago)
Author:
llogan
Comment:

# typically means "as root" or superuser

Legend:

Unmodified
Added
Removed
Modified
  • How to quickly compile libx264

    v5 v6  
    11In order to quickly compile your [http://www.videolan.org/developers/x264.html libx264], you can type the following commands in your shell: 
    22{{{ 
    3 # cd /my/path/where/i/keep/compiled/stuff 
    4 # git clone git://git.videolan.org/x264.git 
    5 # cd x264 
    6 # ./configure --enable-static --enable-shared 
    7 # make 
     3$ cd /my/path/where/i/keep/compiled/stuff 
     4$ git clone git://git.videolan.org/x264.git 
     5$ cd x264 
     6$ ./configure --enable-static --enable-shared 
     7$ make 
    88# make install 
    99# ldconfig 
    1010}}} 
    1111 
    12 P.S. If you are using Ubuntu, you'll most probably have to use sudo for the last 2 commands, like: 
     12Note: `$` generally indicates that the command can be run as a normal user. `#` indicates that superuser privilages are generally required. If you are using Ubuntu, you'll most probably have to use `sudo` for commands preceded by `#`, such as: 
    1313{{{ 
    14 # sudo make install 
    15 # sudo ldconfig 
     14$ sudo make install 
     15$ sudo ldconfig 
    1616}}} 
    1717 
    18 P.S.S 
    1918If you get a message like this: 
    2019{{{ 
     
    2625 
    2726{{{ 
    28 # wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz 
    29 # tar xf yasm-1.2.0.tar.gz 
    30 # cd yasm-1.2.0 
    31 # ./configure 
    32 # make 
     27$ wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz 
     28$ tar xf yasm-1.2.0.tar.gz 
     29$ cd yasm-1.2.0 
     30$ ./configure 
     31$ make 
    3332# make install 
    3433}}} 
    35 and after that, just repeat the configure/make/make install steps for libx264 and it should be fine this time. 
     34and after that, just repeat the `configure`, `make`, and `make install` steps for libx264 and it should be fine this time.