› Foros › PC › Software libre
c4ris@c4ris-desktop:~$ cd $HOME
c4ris@c4ris-desktop:~$ git clone git://git.videolan.org/x264.git
fatal: destination path 'x264' already exists and is not an empty directory.
c4ris@c4ris-desktop:~$ git clone git://git.videolan.org/x264.git
Initialized empty Git repository in /home/c4ris/x264/.git/
remote: Counting objects: 9977, done.
remote: Compressing objects: 98% (1892/193Receiving objects: 2% (200/9977), 52.00 KiB | 80remote: Compressing objects: 100% (1930/1930), done.
remote: Total 9977 (delta 8054), reused 9929 (delta 8007)
Receiving objects: 100% (9977/9977), 2.38 MiB | 105 KiB/s, done.
Resolving deltas: 100% (8054/8054), done.
c4ris@c4ris-desktop:~$ cd x264
c4ris@c4ris-desktop:~/x264$ ./configure --prefix=/usr --enable-shared
Platform: X86_64
System: LINUX
asm: yes
avs input: no
lavf input: no
ffms input: no
mp4 output: no
pthread: yes
debug: no
gprof: no
PIC: yes
shared: yes
visualize: no
You can run 'make' or 'make fprofiled' now.
c4ris@c4ris-desktop:~/x264$ make
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/mc.o common/mc.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/predict.o common/predict.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/pixel.o common/pixel.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/macroblock.o common/macroblock.c
common/macroblock.c: In function ‘x264_macroblock_cache_init’:
common/macroblock.c:733: warning: ‘luma_plane_size’ may be used uninitialized in this function
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/frame.o common/frame.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/dct.o common/dct.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/cpu.o common/cpu.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/cabac.o common/cabac.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/common.o common/common.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/mdate.o common/mdate.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/set.o common/set.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/quant.o common/quant.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/vlc.o common/vlc.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/analyse.o encoder/analyse.c
encoder/analyse.c: In function ‘x264_intra_rd_refine’:
encoder/analyse.c:1049: warning: ‘pels_v[6]’ may be used uninitialized in this function
encoder/analyse.c:1049: warning: ‘pels_v[5]’ may be used uninitialized in this function
encoder/analyse.c:1049: warning: ‘pels_v[4]’ may be used uninitialized in this function
encoder/analyse.c:1049: warning: ‘pels_v[3]’ may be used uninitialized in this function
encoder/analyse.c:1049: warning: ‘pels_v[2]’ may be used uninitialized in this function
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/me.o encoder/me.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/ratecontrol.o encoder/ratecontrol.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/set.o encoder/set.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/macroblock.o encoder/macroblock.c
encoder/macroblock.c: In function ‘x264_macroblock_probe_skip’:
encoder/macroblock.c:919: warning: ‘mvp[1]’ may be used uninitialized in this function
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/cabac.o encoder/cabac.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/cavlc.o encoder/cavlc.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/encoder.o encoder/encoder.c
encoder/encoder.c: In function ‘x264_slice_write’:
encoder/encoder.c:1715: warning: ‘bs_bak.p_start’ may be used uninitialized in this function
encoder/encoder.c:1715: warning: ‘bs_bak.p’ may be used uninitialized in this function
encoder/encoder.c:1715: warning: ‘bs_bak.p_end’ may be used uninitialized in this function
encoder/encoder.c:1715: warning: ‘bs_bak.cur_bits’ may be used uninitialized in this function
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o encoder/lookahead.o encoder/lookahead.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/x86/mc-c.o common/x86/mc-c.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/x86/predict-c.o common/x86/predict-c.c
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-a.o common/x86/dct-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/deblock-a.o common/x86/deblock-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a.o common/x86/mc-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a2.o common/x86/mc-a2.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/pixel-a.o common/x86/pixel-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/predict-a.o common/x86/predict-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/quant-a.o common/x86/quant-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/sad-a.o common/x86/sad-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cpu-a.o common/x86/cpu-a.asm
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-64.o common/x86/dct-64.asm
gcc -shared -o libx264.so.85 common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-a.o common/x86/dct-64.o -Wl,-soname,libx264.so.85 -lm -lpthread -Wl,-Bsymbolic -s
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o x264.o x264.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o input/yuv.o input/yuv.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o input/y4m.o input/y4m.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o output/raw.o output/raw.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o output/matroska.o output/matroska.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o output/matroska_ebml.o output/matroska_ebml.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o output/flv.o output/flv.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o output/flv_bytestream.o output/flv_bytestream.c
gcc -O3 -ffast-math -Wall -I. -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o input/thread.o input/thread.c
ar rc libx264.a common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-a.o common/x86/dct-64.o
ranlib libx264.a
gcc -o x264 x264.o input/yuv.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o input/thread.o libx264.a -lm -lpthread -Wl,-Bsymbolic -s
c4ris@c4ris-desktop:~/x264$ sudo checkinstall -D --pkgname=x264 --fstrans=no --pakdir "$HOME/Desktop" \
> --maintainer "$USER" --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --backup=no \
> --deldoc=yes --deldesc=yes --delspec=yes --default
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
Este software es distribuído de acuerdo a la GNU GPL
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y
Preparando la documentación del paquete...OK
*****************************************
**** Debian package creation selected ***
*****************************************
Este paquete será creado de acuerdo a estos valores:
0 - Maintainer: [ c4ris ]
1 - Summary: [ Package created with checkinstall 1.6.1 ]
2 - Name: [ x264 ]
3 - Version: [ 1:0.svn20100220-0.0ubuntu1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ x264 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ x264 ]
Introduce un número para cambiar algún dato u oprime ENTER para continuar:
Installing with make...Installing with install...
====================== Resultados de la instalación =====================
install -d /usr/bin /usr/include
install -d /usr/lib /usr/lib/pkgconfig
install -m 644 x264.h /usr/include
install -m 644 libx264.a /usr/lib
install -m 644 x264.pc /usr/lib/pkgconfig
install x264 /usr/bin
ranlib /usr/lib/libx264.a
ln -sf libx264.so.85 /usr/lib/libx264.so
install -m 755 libx264.so.85 /usr/lib
========================== Instalación exitosa ===========================
Copying documentation directory...
./
./doc/
./doc/threads.txt
./doc/vui.txt
./doc/standards.txt
./doc/regression_test.txt
./doc/ratecontrol.txt
./COPYING
./AUTHORS
grep: /var/tmp/tmp.ny9yhIpLiW/newfile: No existe el fichero ó directorio
Copiando los archivos al directorio temporal...OK
Stripping ELF binaries and libraries...OK
Comprimiendo las páginas de manual...OK
Creando la lista de archivos...OK
Creando el paquete Debian...OK
Instalando el paquete Debian... FAILED!
*** La instalación del paquete falló
¿Quieres ver el archivo de bitácora? [y]: y
Borrando directorios temporales...OK
Borrando el directorio doc-pak...OK
Borrando el directorio temporal...OK
(Leyendo la base de datos ...
168014 ficheros y directorios instalados actualmente.)
Desempaquetando x264 (de .../x264_1:0.svn20100220-0.0ubuntu1-1_amd64.deb) ...
dpkg: error al procesar /home/c4ris/x264/x264_1:0.svn20100220-0.0ubuntu1-1_amd64.deb (--install):
intentando sobreescribir «/usr/lib/libx264.so.85», que está también en el paquete libx264-85 1:0.svn20100215~r1442-1
dpkg-deb: el subproceso pegar fue terminado por la señal (Tubería rota)
Se encontraron errores al procesar:
/home/c4ris/x264/x264_1:0.svn20100220-0.0ubuntu1-1_amd64.deb