Difference between revisions of "X264"

From CBLFS
Jump to navigationJump to search
(Configuration options)
Line 46: Line 46:
 
Compile the package:
 
Compile the package:
  
sed -i "/^MACHINE=/s/=.*/=${CLFS_TARGET32}/" configure &&
+
  CC="gcc ${BUILD32}" ./configure --host=$CLFS_TARGET32 \
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-shared &&
+
    --prefix=/usr --enable-shared --enable-pic &&
 
  make
 
  make
  
Line 59: Line 59:
  
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
     --enable-shared &&
+
     --enable-shared --enable-pic &&
 
  make
 
  make
  
Line 71: Line 71:
  
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
     --enable-shared &&
+
     --enable-shared --enable-pic &&
 
  make
 
  make
  

Revision as of 16:00, 13 October 2007

Download Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20100513-2245.tar.bz2

Introduction to X264

Project Homepage: Unknown

Dependencies

Optional

Configuration Information

--enable-mp4-output enables mp4 output.
--enable-gtk build GTK+ interface.
--enable-visualize enables visualization (X11 only).

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --host=$CLFS_TARGET32 \
    --prefix=/usr --enable-shared --enable-pic &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-shared --enable-pic &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-shared --enable-pic &&
make

Install the package

make install

Contents

Installed Programs: None
Installed Libraries: libx264.{a,so}
Installed Directory: None
Retrieved from "?title=X264&oldid=11504"