File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Build dependencies
1010------------------
1111
1212 # Debian & Ubuntu
13- $ apt-get install build-essential curl tar <FIXME???>
13+ $ apt-get install build-essential curl tar
1414
1515 # OS X
1616 # install XCode, it can be found at http://developer.apple.com/
@@ -20,7 +20,7 @@ Build dependencies
2020Build & "install"
2121-----------------
2222
23- $ ./build.sh
23+ $ ./build.sh or build-ubuntu.sh
2424 # ... wait ...
2525 # binaries can be found in ./target/bin/
2626
@@ -49,13 +49,8 @@ I'm not sure it's a good idea to statically link those, but it probably
4949means the executable won't work across distributions or even across releases.
5050
5151 # On Ubuntu 10.04:
52- $ ldd build/bin/ffmpeg
53- linux-gate.so.1 => (0xb78df000)
54- libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb789f000)
55- libz.so.1 => /lib/libz.so.1 (0xb788a000)
56- libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7870000)
57- libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7716000)
58- /lib/ld-linux.so.2 (0xb78e0000)
52+ $ ldd ./target/bin/ffmpeg
53+ not a dynamic executable
5954
6055 # on OSX 10.6.4:
6156 $ otool -L ffmpeg
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo apt-get install build-essential curl tar
4+
5+ ./build.sh
Original file line number Diff line number Diff line change 44set -u
55
66jflag=
7- jval=4
7+ jval=2
88
99while getopts ' j:' OPTION
1010do
@@ -51,7 +51,7 @@ cd $BUILD_DIR
5151../fetchurl " ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2"
5252../fetchurl " http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz"
5353../fetchurl " http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz"
54- ../fetchurl " http://ffmpeg.org/releases/ffmpeg-2.0 .tar.bz2"
54+ ../fetchurl " http://www. ffmpeg.org/releases/ffmpeg-2.1 .tar.bz2"
5555
5656echo " *** Building yasm ***"
5757cd $BUILD_DIR /yasm*
@@ -126,5 +126,5 @@ rm -f "$TARGET_DIR/lib/*.so"
126126# FFMpeg
127127echo " *** Building FFmpeg ***"
128128cd $BUILD_DIR /ffmpeg*
129- CFLAGS=" -I$TARGET_DIR /include" LDFLAGS=" -L$TARGET_DIR /lib -lm" ./configure --prefix=${OUTPUT_DIR:- $TARGET_DIR } --extra-version=static --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-gpl --enable-pthreads --enable-postproc --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --disable-devices
129+ CFLAGS=" -I$TARGET_DIR /include" LDFLAGS=" -L$TARGET_DIR /lib -lm" ./configure --prefix=${OUTPUT_DIR:- $TARGET_DIR } --extra-cflags= " -I $TARGET_DIR /include -static " --extra-ldflags= " -L $TARGET_DIR /lib -lm -static " --extra- version=static --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-gpl --enable-pthreads --enable-postproc --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --disable-devices
130130make -j $jval && make install
You can’t perform that action at this time.
0 commit comments