source compile error (lame): mlt build scripts method

I've been stumbling along getting kdenlive to successfully render (multiple tries) until recently. I'm trying to use the buildscripts method to compile from source to work around the failure to render issue. I've encountered several errors and am stuck at lame. Help pointing me in the right direction would be appreciated. I apologize for the long code post below, I decided to err on the side of being thorough in the hopes that it would be helpful to someone who knows more about lame compiling than I do.

Configuration and Command History

Ubuntu Lucid.
I used the list of packages at http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts except replaced git with git-core.
My system only had yasm 0.8 so I installed yasm-1, and then used a symbolic link to point yasm to the updated file which got me past the code complaining about yasm for H264 compilation.

sudo mv /usr/bin/yasm /usr/bin/yasm0.8
sudo ln -s /usr/bin/yasm-1 /usr/bin/yasm

Now when I run ./build-kdenlive.sh I get the following nondescript error:

make: *** [all] Error 2
ERROR: Unable to build lame

#### Start Lame Compile Output | Error ####

~/kdenlive/src ~/kdenlive/src
LOG: About to run command: cd lame
LOG: PATH=/home/USER_ID/kdenlive/20120816/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt:/opt/SALOME-MECA-2010.1-x86_64/:/opt/aster101/outils:/opt/aster101/bin:/opt/Impact:/opt/itksnap/bin:/opt/VoxelMesher:/opt/mbdyn/bin:/opt/tetgen:/opt/aero-foils/xfoil/bin/:/opt/aero-foils/Avl/bin/:/opt/aero-foils/datcom/bin/:/opt/aero-foils/javafoil/
LOG: LD_RUN_PATH=/home/USER_ID/kdenlive/20120816/lib
LOG: PKG_CONFIG_PATH=/home/USER_ID/kdenlive/20120816/lib/pkgconfig:
LOG: CFLAGS=
LOG: LDFLAGS=
LOG: About to run command: ./configure --prefix=/home/USER_ID/kdenlive/20120816 --libdir=/home/USER_ID/kdenlive/20120816/lib --disable-decoder --disable-frontend
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking version of GCC... 4.4.3
checking for function prototypes... yes
checking for string.h... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking xmmintrin.h usability... yes
checking xmmintrin.h presence... yes
checking for xmmintrin.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 8
checking size of unsigned long... 8
checking size of long long... 8
checking size of unsigned long long... 8
checking size of float... 4
checking size of double... 8
checking for long double with more range or precision than double... yes
checking for uint8_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for int16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for IEEE854 compliant 80 bit floats... yes
checking for ieee854_float80_t... no
checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for gettimeofday... yes
checking for strtol... yes
checking for socket... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking ncurses/termcap.h usability... no
checking ncurses/termcap.h presence... no
checking for ncurses/termcap.h... no
checking for initscr in -ltermcap... yes
checking for initscr in -lcurses... yes
checking for initscr in -lncurses... yes
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for cos in -lm... yes
checking for cos in -lffm... no
checking for cos in -lcpml... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking use of ElectricFence malloc debugging... no
checking use of file io... lame
checking use of analyzer hooks... yes
checking use of mpg123 decoder... no
checking if the lame frontend should be build... no
checking if mp3x is requested... no
checking if mp3rtp is requested... no
checking if dynamic linking of the frontends is requested... no
checking for termcap... yes
checking if I have to build the internal vector lib... yes
checking for nasm... no
checking for additional optimizations... no
checking for debug options... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmp3lame/Makefile
config.status: creating libmp3lame/i386/Makefile
config.status: creating libmp3lame/vector/Makefile
config.status: creating frontend/Makefile
config.status: creating mpglib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating include/Makefile
config.status: creating Dll/Makefile
config.status: creating misc/Makefile
config.status: creating debian/Makefile
config.status: creating dshow/Makefile
config.status: creating ACM/Makefile
config.status: creating ACM/ADbg/Makefile
config.status: creating ACM/ddk/Makefile
config.status: creating ACM/tinyxml/Makefile
config.status: creating lame.spec
config.status: creating mac/Makefile
config.status: creating macosx/Makefile
config.status: creating macosx/English.lproj/Makefile
config.status: creating macosx/LAME.xcodeproj/Makefile
config.status: creating vc_solution/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
LOG: Done configuring lame
LOG: Number of steps completed : 15
LOG: Building lame - this could take some time
LOG: About to run command: make -j5
make all-recursive
make[1]: Entering directory `/home/USER_ID/kdenlive/src/lame'
Making all in mpglib
make[2]: Entering directory `/home/USER_ID/kdenlive/src/lame/mpglib'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo common.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c -o dct64_i386.lo dct64_i386.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c -o decode_i386.lo decode_i386.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c -o interface.lo interface.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c -o layer1.lo layer1.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c decode_i386.c -fPIC -DPIC -o .libs/decode_i386.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c layer1.c -fPIC -DPIC -o .libs/layer1.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c dct64_i386.c -fPIC -DPIC -o .libs/dct64_i386.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -fPIC -DPIC -o .libs/common.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -fPIC -DPIC -o .libs/interface.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c layer1.c -o layer1.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c decode_i386.c -o decode_i386.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -o common.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c dct64_i386.c -o dct64_i386.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -o interface.o >/dev/null 2>&1
mv -f .deps/layer1.Tpo .deps/layer1.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c -o layer2.lo layer2.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c layer2.c -fPIC -DPIC -o .libs/layer2.o
mv -f .deps/common.Tpo .deps/common.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c -o layer3.lo layer3.c
mv -f .deps/dct64_i386.Tpo .deps/dct64_i386.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c -o tabinit.lo tabinit.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c layer3.c -fPIC -DPIC -o .libs/layer3.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c tabinit.c -fPIC -DPIC -o .libs/tabinit.o
mv -f .deps/decode_i386.Tpo .deps/decode_i386.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c tabinit.c -o tabinit.o >/dev/null 2>&1
mv -f .deps/interface.Tpo .deps/interface.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c layer2.c -o layer2.o >/dev/null 2>&1
mv -f .deps/tabinit.Tpo .deps/tabinit.Plo
mv -f .deps/layer2.Tpo .deps/layer2.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c layer3.c -o layer3.o >/dev/null 2>&1
mv -f .deps/layer3.Tpo .deps/layer3.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -o libmpgdecoder.la common.lo dct64_i386.lo decode_i386.lo interface.lo layer1.lo layer2.lo layer3.lo tabinit.lo
libtool: link: ar cru .libs/libmpgdecoder.a .libs/common.o .libs/dct64_i386.o .libs/decode_i386.o .libs/interface.o .libs/layer1.o .libs/layer2.o .libs/layer3.o .libs/tabinit.o
libtool: link: ranlib .libs/libmpgdecoder.a
libtool: link: ( cd ".libs" && rm -f "libmpgdecoder.la" && ln -s "../libmpgdecoder.la" "libmpgdecoder.la" )
make[2]: Leaving directory `/home/USER_ID/kdenlive/src/lame/mpglib'
Making all in libmp3lame
make[2]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
Making all in i386
make[3]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/i386'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/i386'
Making all in vector
make[3]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/vector'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c -o xmm_quantize_sub.lo xmm_quantize_sub.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c xmm_quantize_sub.c -fPIC -DPIC -o .libs/xmm_quantize_sub.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c xmm_quantize_sub.c -o xmm_quantize_sub.o >/dev/null 2>&1
mv -f .deps/xmm_quantize_sub.Tpo .deps/xmm_quantize_sub.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -o liblamevectorroutines.la xmm_quantize_sub.lo
libtool: link: ar cru .libs/liblamevectorroutines.a .libs/xmm_quantize_sub.o
libtool: link: ranlib .libs/liblamevectorroutines.a
libtool: link: ( cd ".libs" && rm -f "liblamevectorroutines.la" && ln -s "../liblamevectorroutines.la" "liblamevectorroutines.la" )
make[3]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/vector'
make[3]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c -o VbrTag.lo VbrTag.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c -o bitstream.lo bitstream.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c -o encoder.lo encoder.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c -o fft.lo fft.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c -o gain_analysis.lo gain_analysis.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c encoder.c -fPIC -DPIC -o .libs/encoder.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c VbrTag.c -fPIC -DPIC -o .libs/VbrTag.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c fft.c -fPIC -DPIC -o .libs/fft.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -fPIC -DPIC -o .libs/bitstream.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c gain_analysis.c -fPIC -DPIC -o .libs/gain_analysis.o
bitstream.c: In function 'do_gain_analysis':
bitstream.c:992: warning: unused variable 'rov'
bitstream.c:991: warning: unused variable 'rsv'
bitstream.c:990: warning: unused variable 'cfg'
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c fft.c -o fft.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c VbrTag.c -o VbrTag.o >/dev/null 2>&1
mv -f .deps/fft.Tpo .deps/fft.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c -o id3tag.lo id3tag.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c encoder.c -o encoder.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c gain_analysis.c -o gain_analysis.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c id3tag.c -fPIC -DPIC -o .libs/id3tag.o
mv -f .deps/VbrTag.Tpo .deps/VbrTag.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c -o lame.lo lame.c
mv -f .deps/encoder.Tpo .deps/encoder.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c -o newmdct.lo newmdct.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c lame.c -fPIC -DPIC -o .libs/lame.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c newmdct.c -fPIC -DPIC -o .libs/newmdct.o
mv -f .deps/gain_analysis.Tpo .deps/gain_analysis.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c -o presets.lo presets.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c presets.c -fPIC -DPIC -o .libs/presets.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c presets.c -o presets.o >/dev/null 2>&1
mv -f .deps/presets.Tpo .deps/presets.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c -o psymodel.lo psymodel.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c psymodel.c -fPIC -DPIC -o .libs/psymodel.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c newmdct.c -o newmdct.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c id3tag.c -o id3tag.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c lame.c -o lame.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -o bitstream.o >/dev/null 2>&1
mv -f .deps/newmdct.Tpo .deps/newmdct.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c -o quantize.lo quantize.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c quantize.c -fPIC -DPIC -o .libs/quantize.o
mv -f .deps/lame.Tpo .deps/lame.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c -o quantize_pvt.lo quantize_pvt.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c quantize_pvt.c -fPIC -DPIC -o .libs/quantize_pvt.o
make[3]: *** [id3tag.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c psymodel.c -o psymodel.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c quantize_pvt.c -o quantize_pvt.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c quantize.c -o quantize.o >/dev/null 2>&1
mv -f .deps/quantize_pvt.Tpo .deps/quantize_pvt.Plo
mv -f .deps/bitstream.Tpo .deps/bitstream.Plo
mv -f .deps/quantize.Tpo .deps/quantize.Plo
mv -f .deps/psymodel.Tpo .deps/psymodel.Plo
make[3]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/USER_ID/kdenlive/src/lame'
make: *** [all] Error 2
ERROR: Unable to build lame
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build lame

One day later, try again, different error. No compile of libvpx now instead of libmp3lame.

Start code log/error dump

LOG: About to run command: ./configure --prefix=/home/USER_ID/kdenlive/20120817 --enable-vp8 --enable-postproc --enable-multithread --enable-runtime-cpu-detect --disable-install-docs --disable-debug-libs --disable-examples --enable-shared
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling pic
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
using yasm
enabling postproc
enabling unit_tests
Creating makefiles for x86_64-linux-gcc libs
Creating makefiles for x86_64-linux-gcc docs
LOG: Done configuring libvpx
LOG: Number of steps completed : 18
LOG: Building libvpx - this could take some time
LOG: About to run command: make -j5
[CREATE] vpx_rtcd.h
[DEP] test/test_libvpx.cc.d
[DEP] test/resize_test.cc.d
[DEP] test/keyframe_test.cc.d
[DEP] test/encode_test_driver.cc.d
[DEP] test/config_test.cc.d
[DEP] test/altref_test.cc.d
[DEP] third_party/googletest/src/src/gtest-all.cc.d
[DEP] vpx_ports/x86_abi_support.asm.d
[DEP] vpx_ports/emms.asm.d
[DEP] vp8/common/x86/loopfilter_block_sse2.asm.d
[DEP] vp8/common/x86/postproc_sse2.asm.d
[DEP] vp8/common/x86/mfqe_sse2.asm.d
[DEP] vp8/common/x86/postproc_mmx.asm.d
[DEP] vp8/common/x86/sad_sse4.asm.d
[DEP] vp8/common/x86/variance_impl_ssse3.asm.d
[DEP] vp8/common/x86/subpixel_ssse3.asm.d
[DEP] vp8/common/x86/sad_ssse3.asm.d
[DEP] vp8/common/x86/sad_sse3.asm.d
[DEP] vp8/common/x86/iwalsh_sse2.asm.d
[DEP] vp8/common/x86/variance_impl_sse2.asm.d
[DEP] vp8/common/x86/loopfilter_sse2.asm.d
[DEP] vp8/common/x86/subpixel_sse2.asm.d
[DEP] vp8/common/x86/sad_sse2.asm.d
[DEP] vp8/common/x86/recon_sse2.asm.d
[DEP] vp8/common/x86/idctllm_sse2.asm.d
[DEP] vp8/common/x86/variance_impl_mmx.asm.d
[DEP] vp8/common/x86/subpixel_mmx.asm.d
[DEP] vp8/common/x86/sad_mmx.asm.d
[DEP] vp8/common/x86/recon_mmx.asm.d
[DEP] vp8/common/x86/loopfilter_mmx.asm.d
[DEP] vp8/common/x86/iwalsh_mmx.asm.d
[DEP] vp8/common/x86/dequantize_mmx.asm.d
[DEP] vp8/common/x86/idctllm_mmx.asm.d
[DEP] vp8/encoder/x86/ssim_opt.asm.d
[DEP] vp8/encoder/x86/encodeopt.asm.d
[DEP] vp8/encoder/x86/quantize_mmx.asm.d
[DEP] vp8/encoder/x86/quantize_sse4.asm.d
[DEP] vp8/encoder/x86/quantize_ssse3.asm.d
[DEP] vp8/encoder/x86/temporal_filter_apply_sse2.asm.d
[DEP] vp8/encoder/x86/subtract_sse2.asm.d
[DEP] vp8/encoder/x86/quantize_sse2.asm.d
[DEP] vp8/encoder/x86/fwalsh_sse2.asm.d
[DEP] vp8/encoder/x86/dct_sse2.asm.d
[DEP] vp8/encoder/x86/subtract_mmx.asm.d
[DEP] vp8/encoder/x86/dct_mmx.asm.d
[DEP] vpx_ports/x86_cpuid.c.d
[DEP] vpx_config.c.d
[DEP] vp8/decoder/threading.c.d
[DEP] vp8/decoder/onyxd_if.c.d
[DEP] vp8/decoder/detokenize.c.d
[DEP] vp8/decoder/decodframe.c.d
[DEP] vp8/decoder/decodemv.c.d
[DEP] vp8/decoder/dboolhuff.c.d
[DEP] vp8/decoder/asm_dec_offsets.c.d
[DEP] vp8/vp8_dx_iface.c.d
[DEP] vp8/common/x86/postproc_x86.c.d
[DEP] vp8/common/x86/variance_ssse3.c.d
[DEP] vp8/common/x86/variance_sse2.c.d
[DEP] vp8/common/x86/idct_blk_sse2.c.d
[DEP] vp8/common/x86/recon_wrapper_sse2.c.d
[DEP] vp8/common/x86/variance_mmx.c.d
[DEP] vp8/common/x86/idct_blk_mmx.c.d
[DEP] vp8/common/postproc.c.d
[DEP] vp8/common/mfqe.c.d
[DEP] vp8/common/x86/loopfilter_x86.c.d
[DEP] vp8/common/x86/vp8_asm_stubs.c.d
[DEP] vp8/common/x86/filter_x86.c.d
[DEP] vp8/common/treecoder.c.d
[DEP] vp8/common/variance_c.c.d
[DEP] vp8/common/swapyv12buffer.c.d
[DEP] vp8/common/setupintrarecon.c.d
[DEP] vp8/common/sad_c.c.d
[DEP] vp8/common/reconintra4x4.c.d
[DEP] vp8/common/reconintra.c.d
[DEP] vp8/common/reconinter.c.d
[DEP] vp8/common/quant_common.c.d
[DEP] vp8/common/modecont.c.d
[DEP] vp8/common/mbpitch.c.d
[DEP] vp8/common/loopfilter_filters.c.d
[DEP] vp8/common/loopfilter.c.d
[DEP] vp8/common/rtcd.c.d
[DEP] vp8/common/idctllm.c.d
[DEP] vp8/common/idct_blk.c.d
[DEP] vp8/common/generic/systemdependent.c.d
[DEP] vp8/common/findnearmv.c.d
[DEP] vp8/common/extend.c.d
[DEP] vp8/common/filter.c.d
[DEP] vp8/common/entropymv.c.d
[DEP] vp8/common/entropymode.c.d
[DEP] vp8/common/entropy.c.d
[DEP] vp8/common/dequantize.c.d
[DEP] vp8/common/debugmodes.c.d
[DEP] vp8/common/asm_com_offsets.c.d
[DEP] vp8/common/blockd.c.d
[DEP] vp8/common/alloccommon.c.d
[DEP] vp8/encoder/x86/vp8_enc_stubs_sse2.c.d
[DEP] vp8/encoder/x86/denoising_sse2.c.d
[DEP] vp8/encoder/x86/vp8_enc_stubs_mmx.c.d
[DEP] vp8/encoder/temporal_filter.c.d
[DEP] vp8/encoder/treewriter.c.d
[DEP] vp8/encoder/tokenize.c.d
[DEP] vp8/encoder/segmentation.c.d
[DEP] vp8/encoder/rdopt.c.d
[DEP] vp8/encoder/ratectrl.c.d
[DEP] vp8/encoder/quantize.c.d
[DEP] vp8/encoder/psnr.c.d
[DEP] vp8/encoder/picklpf.c.d
[DEP] vp8/encoder/pickinter.c.d
[DEP] vp8/encoder/onyx_if.c.d
[DEP] vp8/encoder/modecosts.c.d
[DEP] vp8/encoder/mcomp.c.d
[DEP] vp8/encoder/lookahead.c.d
[DEP] vp8/encoder/denoising.c.d
[DEP] vp8/encoder/firstpass.c.d
[DEP] vp8/encoder/ethreading.c.d
[DEP] vp8/encoder/encodemv.c.d
[DEP] vp8/encoder/encodemb.c.d
[DEP] vp8/encoder/encodeintra.c.d
[DEP] vp8/encoder/encodeframe.c.d
[DEP] vp8/encoder/dct.c.d
[DEP] vp8/encoder/boolhuff.c.d
[DEP] vp8/encoder/asm_enc_offsets.c.d
[DEP] vp8/encoder/bitstream.c.d
[DEP] vp8/vp8_cx_iface.c.d
[DEP] vpx_scale/generic/gen_scalers.c.d
[DEP] vpx_scale/generic/yv12extend.c.d
[DEP] vpx_scale/generic/yv12config.c.d
[DEP] vpx_scale/generic/vpxscale.c.d
[DEP] vpx_mem/vpx_mem.c.d
[DEP] vpx/src/vpx_image.c.d
[DEP] vpx/src/vpx_codec.c.d
[DEP] vpx/src/vpx_encoder.c.d
[DEP] vpx/src/vpx_decoder.c.d
[GEN] vp8/encoder/asm_enc_offsets.c.S
[CREATE] asm_enc_offsets.asm
[DEP] vp8/encoder/x86/quantize_sse4.asm.d
[DEP] vp8/encoder/x86/quantize_ssse3.asm.d
[DEP] vp8/encoder/x86/quantize_sse2.asm.d
[CC] vpx/src/vpx_codec.c.o
[CC] vpx/src/vpx_decoder.c.o
[CC] vpx/src/vpx_encoder.c.o
[CC] vpx_mem/vpx_mem.c.o
[CC] vpx/src/vpx_image.c.o
[CC] vpx_scale/generic/vpxscale.c.o
[CC] vpx_scale/generic/yv12config.c.o
[CC] vpx_scale/generic/yv12extend.c.o
[CC] vpx_scale/generic/gen_scalers.c.o
[CC] vp8/common/alloccommon.c.o
[CC] vp8/common/asm_com_offsets.c.o
[CC] vp8/common/blockd.c.o
[CC] vp8/common/debugmodes.c.o
[CC] vp8/common/dequantize.c.o
[CC] vp8/common/entropy.c.o
vpx_scale/generic/vpxscale.c: In function 'Scale2D':
vpx_scale/generic/vpxscale.c:547: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[1]: *** [vpx_scale/generic/vpxscale.c.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [.DEFAULT] Error 2
ERROR: Unable to build libvpx
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build libvpx

Let this be a cautionary tale for others trying to use this script. Commenting out libvpx (compile variable at the beginning set to 0) because I don't care about vp8 support. Now ffmpeg throws an exception. I need to go I'll investigate this again later.

Start ffmpeg compile error dump

LOG: Configuring, compiling, and installing ffmpeg
LOG: About to run command: pushd .
~/kdenlive/src ~/kdenlive/src
LOG: About to run command: cd ffmpeg
LOG: PATH=/home/USER_ID/kdenlive/20120817/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt:/opt/SALOME-MECA-2010.1-x86_64/:/opt/aster101/outils:/opt/aster101/bin:/opt/Impact:/opt/itksnap/bin:/opt/VoxelMesher:/opt/mbdyn/bin:/opt/tetgen:/opt/aero-foils/xfoil/bin/:/opt/aero-foils/Avl/bin/:/opt/aero-foils/datcom/bin/:/opt/aero-foils/javafoil/
LOG: LD_RUN_PATH=/home/USER_ID/kdenlive/20120817/lib
LOG: PKG_CONFIG_PATH=/home/USER_ID/kdenlive/20120817/lib/pkgconfig:
LOG: CFLAGS=-I/home/USER_ID/kdenlive/20120817/include
LOG: LDFLAGS=-L/home/USER_ID/kdenlive/20120817/lib
LOG: Configuring ffmpeg
LOG: About to run command: ./configure --prefix=/home/USER_ID/kdenlive/20120817 --disable-doc --disable-network --disable-ffserver --enable-gpl --enable-version3 --enable-shared --enable-debug --disable-stripping --enable-pthreads --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264
install prefix /home/USER_ID/kdenlive/20120817
source path .
C compiler gcc
ARCH x86 (generic)
big-endian no
runtime cpu detection yes
yasm yes
MMX enabled yes
MMXEXT enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
AVX enabled yes
FMA4 enabled yes
CMOV enabled yes
CMOV is fast yes
EBX available yes
EBP available yes
debug symbols yes
strip symbols no
optimize for size no
optimizations yes
static yes
shared yes
postprocessing support yes
new filter support yes
network support no
threading support pthreads
safe bitstream reader yes
SDL support yes
libdxva2 enabled no
libva enabled no
libvdpau enabled yes
AVISynth enabled no
frei0r enabled no
gnutls enabled no
libaacplus enabled no
libass enabled no
libcaca enabled no
libcdio support no
libcelt enabled no
libdc1394 support no
libfaac enabled no
libfdk-aac enabled no
libgsm enabled no
libiec61883 support no
libilbc enabled no
libmodplug enabled no
libmp3lame enabled yes
libnut enabled no
libopencore-amrnb support no
libopencore-amrwb support no
libopencv support no
libopenjpeg enabled no
libopus enabled no
libpulse enabled no
librtmp enabled no
libschroedinger enabled no
libspeex enabled no
libstagefright-h264 enabled no
libtheora enabled yes
libtwolame enabled no
libutvideo enabled no
libv4l2 enabled no
libvo-aacenc support no
libvo-amrwbenc support no
libvorbis enabled yes
libvpx enabled no
libx264 enabled yes
libxavs enabled no
libxvid enabled no
openal enabled no
openssl enabled no
zlib enabled yes
bzlib enabled yes
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled yes

Enabled decoders:
aac cinepak jpeg2000
aac_latm cljr jpegls
aasc cllc jv
ac3 cook kgv1
adpcm_4xm cscd kmvc
adpcm_adx cyuv lagarith
adpcm_ct dca libvorbis
adpcm_ea dfa loco
adpcm_ea_maxis_xa dirac mace3
adpcm_ea_r1 dnxhd mace6
adpcm_ea_r2 dpx mdec
adpcm_ea_r3 dsicinaudio microdvd
adpcm_ea_xas dsicinvideo mimic
adpcm_g722 dvbsub mjpeg
adpcm_g726 dvdsub mjpegb
adpcm_ima_amv dvvideo mlp
adpcm_ima_apc dxa mmvideo
adpcm_ima_dk3 dxtory motionpixels
adpcm_ima_dk4 eac3 movtext
adpcm_ima_ea_eacs eacmv mp1
adpcm_ima_ea_sead eamad mp1float
adpcm_ima_iss eatgq mp2
adpcm_ima_qt eatgv mp2float
adpcm_ima_smjpeg eatqi mp3
adpcm_ima_wav eightbps mp3adu
adpcm_ima_ws eightsvx_exp mp3adufloat
adpcm_ms eightsvx_fib mp3float
adpcm_sbpro_2 escape124 mp3on4
adpcm_sbpro_3 escape130 mp3on4float
adpcm_sbpro_4 exr mpc7
adpcm_swf ffv1 mpc8
adpcm_thp ffvhuff mpeg1_vdpau
adpcm_xa ffwavesynth mpeg1video
adpcm_yamaha flac mpeg2video
alac flashsv mpeg4
als flashsv2 mpeg4_vdpau
amrnb flic mpeg_vdpau
amrwb flv mpegvideo
amv fourxm msa1
anm fraps msmpeg4v1
ansi frwu msmpeg4v2
ape g723_1 msmpeg4v3
ass g729 msrle
asv1 gif mss1
asv2 gsm msvideo1
atrac1 gsm_ms mszh
atrac3 h261 mts2
aura h263 mxpeg
aura2 h263i nellymoser
avrp h263p nuv
avs h264 paf_audio
avui h264_vdpau paf_video
ayuv huffyuv pam
bethsoftvid iac pbm
bfi idcin pcm_alaw
bink idf pcm_bluray
binkaudio_dct iff_byterun1 pcm_dvd
binkaudio_rdft iff_ilbm pcm_f32be
bintext imc pcm_f32le
bmp indeo2 pcm_f64be
bmv_audio indeo3 pcm_f64le
bmv_video indeo4 pcm_lxf
c93 indeo5 pcm_mulaw
cavs interplay_dpcm pcm_s16be
cdgraphics interplay_video pcm_s16le
cdxl jacosub pcm_s16le_planar
pcm_s24be rv40 vc1
pcm_s24daud s302m vc1_vdpau
pcm_s24le sami vc1image
pcm_s32be sanm vcr1
pcm_s32le sgi vima
pcm_s8 shorten vmdaudio
pcm_s8_planar sipr vmdvideo
pcm_u16be smackaud vmnc
pcm_u16le smacker vorbis
pcm_u24be smc vp3
pcm_u24le snow vp5
pcm_u32be sol_dpcm vp6
pcm_u32le sonic vp6a
pcm_u8 sp5x vp6f
pcm_zork srt vp8
pcx subrip vqa
pgm subviewer wavpack
pgmyuv sunrast wmalossless
pgssub svq1 wmapro
pictor svq3 wmav1
png targa wmav2
ppm theora wmavoice
prores thp wmv1
prores_lgpl tiertexseqvideo wmv2
ptx tiff wmv3
qcelp tmv wmv3_vdpau
qdm2 truehd wmv3image
qdraw truemotion1 wnv1
qpeg truemotion2 ws_snd1
qtrle truespeech xan_dpcm
r10k tscc xan_wc3
r210 tscc2 xan_wc4
ra_144 tta xbin
ra_288 twinvq xbm
ralf txd xl
rawvideo ulti xsub
realtext utvideo xwd
rl2 v210 y41p
roq v210x yop
roq_dpcm v308 yuv4
rpza v408 zerocodec
rv10 v410 zlib
rv20 vb zmbv
rv30 vble

Enabled encoders:
a64multi jpeg2000 pgm
a64multi5 jpegls pgmyuv
aac libmp3lame png
ac3 libtheora ppm
ac3_fixed libvorbis prores
adpcm_adx libx264 prores_anatoliy
adpcm_g722 libx264rgb prores_kostya
adpcm_g726 ljpeg qtrle
adpcm_ima_qt mjpeg r10k
adpcm_ima_wav movtext r210
adpcm_ms mp2 ra_144
adpcm_swf mpeg1video rawvideo
adpcm_yamaha mpeg2video roq
alac mpeg4 roq_dpcm
amv msmpeg4v2 rv10
ass msmpeg4v3 rv20
asv1 msvideo1 sgi
asv2 nellymoser snow
avrp pam sonic
avui pbm sonic_ls
ayuv pcm_alaw srt
bmp pcm_f32be subrip
cljr pcm_f32le sunrast
dca pcm_f64be svq1
dnxhd pcm_f64le targa
dpx pcm_mulaw tiff
dvbsub pcm_s16be v210
dvdsub pcm_s16le v308
dvvideo pcm_s24be v408
eac3 pcm_s24daud v410
ffv1 pcm_s24le vorbis
ffvhuff pcm_s32be wmav1
flac pcm_s32le wmav2
flashsv pcm_s8 wmv1
flashsv2 pcm_u16be wmv2
flv pcm_u16le xbm
g723_1 pcm_u24be xsub
gif pcm_u24le xwd
h261 pcm_u32be y41p
h263 pcm_u32le yuv4
h263p pcm_u8 zlib
huffyuv pcx zmbv

Enabled hwaccels:
mpeg1_vdpau mpeg2_vdpau

Enabled parsers:
aac dvbsub mpegaudio
aac_latm dvdsub mpegvideo
ac3 flac png
adx gsm pnm
bmp h261 rv30
cavsvideo h263 rv40
cook h264 vc1
dca mjpeg vorbis
dirac mlp vp3
dnxhd mpeg4video vp8

Enabled demuxers:
aac iff pcm_u16le
ac3 ilbc pcm_u24be
act image2 pcm_u24le
adf image2pipe pcm_u32be
adx ingenient pcm_u32le
aea ipmovie pcm_u8
aiff iss pmp
amr iv8 pva
anm ivf qcp
apc jacosub r3d
ape jv rawvideo
asf latm realtext
ass lmlm4 rl2
au loas rm
avi lxf roq
avs m4v rpl
bethsoftvid matroska rso
bfi mgsts sami
bink microdvd sbg
bintext mjpeg segafilm
bit mlp shorten
bmv mm siff
c93 mmf smacker
caf mov smjpeg
cavsvideo mp3 smush
cdg mpc sol
cdxl mpc8 sox
daud mpegps spdif
dfa mpegts srt
dirac mpegtsraw str
dnxhd mpegvideo subviewer
dsicin msnwc_tcp swf
dts mtv thp
dv mvi tiertexseq
dxa mxf tmv
ea mxg truehd
ea_cdata nc tta
eac3 nsv tty
ffm nut txd
ffmetadata nuv vc1
filmstrip ogg vc1t
flac oma vmd
flic paf voc
flv pcm_alaw vqf
fourxm pcm_f32be w64
g722 pcm_f32le wav
g723_1 pcm_f64be wc3
g729 pcm_f64le wsaud
gsm pcm_mulaw wsvqa
gxf pcm_s16be wtv
h261 pcm_s16le wv
h263 pcm_s24be xa
h264 pcm_s24le xbin
hls pcm_s32be xmv
ico pcm_s32le xwma
idcin pcm_s8 yop
idf pcm_u16be yuv4mpegpipe

Enabled muxers:
a64 image2pipe pcm_mulaw
ac3 ipod pcm_s16be
adts ismv pcm_s16le
adx ivf pcm_s24be
aiff jacosub pcm_s24le
amr latm pcm_s32be
asf m4v pcm_s32le
asf_stream matroska pcm_s8
ass matroska_audio pcm_u16be
au md5 pcm_u16le
avi microdvd pcm_u24be
avm2 mjpeg pcm_u24le
bit mkvtimestamp_v2 pcm_u32be
caf mlp pcm_u32le
cavsvideo mmf pcm_u8
crc mov psp
daud mp2 rawvideo
dirac mp3 rm
dnxhd mp4 roq
dts mpeg1system rso
dv mpeg1vcd rtp
eac3 mpeg1video segment
ffm mpeg2dvd smjpeg
ffmetadata mpeg2svcd sox
filmstrip mpeg2video spdif
flac mpeg2vob srt
flv mpegts stream_segment
framecrc mpjpeg swf
framemd5 mxf tg2
g722 mxf_d10 tgp
g723_1 null truehd
gif nut vc1t
gxf ogg voc
h261 oma wav
h263 pcm_alaw webm
h264 pcm_f32be wtv
ico pcm_f32le wv
ilbc pcm_f64be yuv4mpegpipe
image2 pcm_f64le

Enabled protocols:
applehttp crypto md5
cache file pipe
concat hls

Enabled filters:
abuffersink copy nullsrc
aconvert crop overlay
aevalsrc cropdetect pad
afifo delogo pan
aformat deshake pixdesctest
alphaextract drawbox removelogo
alphamerge earwax rgbtestsrc
amerge edgedetect scale
amix fade select
amovie fieldorder setdar
anull fifo setfield
anullsink format setpts
anullsrc fps setsar
aresample gradfun settb
asetnsamples hflip showinfo
asetpts hqdn3d showwaves
asettb hue silencedetect
ashowinfo idet slicify
asplit join smptebars
astreamsync life split
atempo lut super2xsai
bbox lutrgb swapuv
blackdetect lutyuv testsrc
blackframe mandelbrot thumbnail
boxblur movie tile
buffersink mp tinterlace
cellauto mptestsrc transpose
channelmap negate unsharp
channelsplit noformat vflip
color null volume
colormatrix nullsink yadif
concat

Enabled bsfs:
aac_adtstoasc mjpeg2jpeg mp3_header_decompress
chomp mjpega_dump_header noise
dump_extradata mov2textsub remove_extradata
h264_mp4toannexb mp3_header_compress text2movsub
imx_dump_header

Enabled indevs:
alsa jack oss
dv1394 lavfi v4l2
fbdev

Enabled outdevs:
alsa oss sdl

License: GPL version 3 or later
Creating config.mak and config.h...
LOG: Done configuring ffmpeg
LOG: Number of steps completed : 22
LOG: Building ffmpeg - this could take some time
LOG: About to run command: make -j5
CC libavdevice/alsa-audio-dec.o
CC libavdevice/alldevices.o
CC libavdevice/alsa-audio-common.o
CC libavdevice/avdevice.o
CC libavdevice/alsa-audio-enc.o
CC libavdevice/dv1394.o
CC libavdevice/fbdev.o
CC libavdevice/jack_audio.o
CC libavdevice/lavfi.o
CC libavdevice/oss_audio.o
CC libavdevice/sdl.o
CC libavdevice/timefilter.o
CC libavdevice/v4l2.o
CC libavfilter/af_aconvert.o
CC libavfilter/af_aformat.o
CC libavfilter/af_amerge.o
CC libavfilter/af_amix.o
CC libavfilter/af_anull.o
CC libavfilter/af_aresample.o
CC libavfilter/af_asetnsamples.o
CC libavfilter/af_ashowinfo.o
libavfilter/af_amerge.c: In function 'filter_samples':
libavfilter/af_amerge.c:289: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [libavfilter/af_amerge.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: Unable to build ffmpeg
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build ffmpeg

Hmm. Do you have nasm installed along with yasm ? If so, get rid of nasm.

I run the build-kdenlive.sh script on Debian Squeeze, Ubuntu 10.04, and Arch64. I had a QtIMage problem that was resolved some time ago, but nothing recently like the problems you're having. I'm sorry I can't give more specific help.

Best,

dp

Thanks for the reply. I'll have to investigate whether nasm is also installed. The compile problem was revolving or random. The more I investigated it the more I realized that it was almost random which package it failed on as I tried across a few days. I found a work around though in the mean time. See next post.

Sorry for the slow update. I actually 'solved' the inability to render my project last week with the following workaround. Instead of compiling a compatible set of software (compilation kept failing) I render by parts using guides then recombined using ffmpeg. The guides must be set at time intervals smaller than the mean render failure interval. I could usually render 10-15 minutes of content before the melt random failure killed the process so I arbitrarily set my interval

I included steps below for 1) render by parts, 2) join with ffmpeg (including remove audio sync issue), 3) create DVD, 4) test DVD. All steps assume that the file are all in the same path that the commands are run from which I shorthanded in a few places as /absolute_current_path.

#
## 1) Render by Parts ##
#

First create guides
* In the Kdenlive project
* Set cursor in the timeline at the desired location for a new guide
* Timeline > Guide > Add-Guide
* Define the guide name then repeat to add the next guide

Render
* use the render GUI like you normally would
* except before starting the process or creating the script
* select 'by guide' radio button at the bottom: then choose the sub-region to render
... if you start with the first point then
... choose each successive 'beginning point'
... the end point will auto-increment by 1
... this saves the effort of 1 extra operation to select the end point for each segment
* render or create script
* repeat with new filename for each successive subsection

#
## 2) Build the full file ##
#

Note you can render direct from source type to source type using the following line, given as an mpg example:

cat segment1.mpg segment2.mpg segment3.mpg | ffmpeg -f mpeg -i - -sameq -vcodec copy -acodec copy segments_joined.mpg

The - argument to input is what allows ffmpeg to read the piped concatenated file input. -sameq specifies the same quality and copy says to use the existing codec types.

Problem is that sometimes I noted the joined mpg video has non-synced audio. The audio will play synced in kdenlive but unsynced in rendered files. I noted that when I created a non-dvd target mp4 file that the audio was synced. Therefore my audio out of sync work around was to join the segments into a explicitly defined mp4 encoding then transcode the full file to mpg with a dvd target. Example below removes copy arguments from above and defines the audio and video codecs:

cat segment1.mpg segment2.mpg segment3.mpg | ffmpeg -f mpeg -i - -sameq -vcodec mpeg4 -vb 25000k -acodec libmp3lame -ar 48000 -ab 448k segment_joined-fixed_rates.mp4

#
## 3) convert to DVD compatible and create DVD ##
#

My end objective is to pass a DVD to someone else so I convert the mp4 synced audio copy from above to a dvd target (yes I know that this can introduce video quality issues but the ability to generate viewable content is more important in this case):

ffmpeg -i segment_joined-fixed_rates.mp4 -target ntsc-dvd segment_joined-fixed_rates.mpg
dvdauthor --title -o dvd -f segment_joined-fixed_rates.mpg
dvdauthor -o dvd -T
mkisofs -dvd-video -o dvdimage.iso /absolute_current_path/dvd/

#
## 4) Test the DVD ##
#

The DVD produced above is single video without menu which works for my case. alter the build sequence for the DVD if you need a menu. The DVD builder in kdenlive isn't bad for generating menus. Verify the generated iso by mounting/viewing it in Xine:

xine dvd://absolute_current_path/dvdimage.iso

Assuming the DVD plays fine in xine, burn the iso to a disc and test in a real DVD player.

Hope this helps someone else.

Bill

I checked; nasm is not installed.

Pages