[Ffmpeg-devel] ffmpeg ERROR: LAME not found

martin Takken takken
Tue Jun 27 22:44:46 CEST 2006


i'm sorry if this is not the right place to post this, but the  
feedback told me to...

I'm trying to configure ffmpeg with Lame for mp3 support, tried  
earlier a lot of times but i never succeeded.
I hope someone can help me with this...

A big thanks already! Martin Takken


I did:
./configure --enable-mp3lame --enable-gpl --enable-amr_nb --enable- 
memalign-hack

and the feedback said:
ERROR: LAME not found
If you think configure made a mistake, make sure you are using the  
latest
version from SVN.  If the latest version fails, report the problem to  
the
ffmpeg-devel at mplayerhq.hu mailing list or IRC #ffmpeg on  
irc.freenode.net.
Include the log file "config.err" produced by configure as this will  
help
solving the problem.

this is in config.err

# ./configure --enable-mp3lame --enable-gpl --enable-amr_nb --enable- 
memalign-hack
ACLOCAL_FLAGS='-I /opt/gnome/share/aclocal'
BASH=/bin/sh
BASH_ARGC=([0]="4")
BASH_ARGV=([0]="--enable-memalign-hack" [1]="--enable-amr_nb" [2]="-- 
enable-gpl" [3]="--enable-mp3lame")
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="./configure")
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5] 
="i586-suse-linux")
BASH_VERSION='3.00.16(1)-release'
BUILDSUF=
CODEC_LIST='ac3_encoder
mp2_encoder
mp3lame_encoder
oggvorbis_encoder
oggvorbis_decoder
oggtheora_encoder
oggtheora_decoder
faac_encoder
flac_encoder
xvid_encoder
mpeg1video_encoder
h264_encoder
mpeg2video_encoder
h261_encoder
h263_encoder
h263p_encoder
flv_encoder
rv10_encoder
rv20_encoder
mpeg4_encoder
msmpeg4v1_encoder
msmpeg4v2_encoder
msmpeg4v3_encoder
wmv1_encoder
wmv2_encoder
svq1_encoder
mjpeg_encoder
ljpeg_encoder
jpegls_encoder
png_encoder
ppm_encoder
pgm_encoder
pgmyuv_encoder
pbm_encoder
pam_encoder
huffyuv_encoder
ffvhuff_encoder
asv1_encoder
asv2_encoder
ffv1_encoder
snow_encoder
zlib_encoder
dvvideo_encoder
sonic_encoder
sonic_ls_encoder
x264_encoder
libgsm_encoder
rawvideo_encoder
h263_decoder
h261_decoder
mpeg4_decoder
msmpeg4v1_decoder
msmpeg4v2_decoder
msmpeg4v3_decoder
wmv1_decoder
wmv2_decoder
vc1_decoder
wmv3_decoder
h263i_decoder
flv_decoder
rv10_decoder
rv20_decoder
svq1_decoder
svq3_decoder
wmav1_decoder
wmav2_decoder
indeo2_decoder
indeo3_decoder
tscc_decoder
cscd_decoder
nuv_decoder
ulti_decoder
qdraw_decoder
xl_decoder
qpeg_decoder
loco_decoder
kmvc_decoder
wnv1_decoder
aasc_decoder
fraps_decoder
aac_decoder
mpeg4aac_decoder
mpeg1video_decoder
mpeg2video_decoder
mpegvideo_decoder
mpeg_xvmc_decoder
dvvideo_decoder
mjpeg_decoder
mjpegb_decoder
sp5x_decoder
png_decoder
mp2_decoder
mp3_decoder
mp3adu_decoder
mp3on4_decoder
mace3_decoder
mace6_decoder
huffyuv_decoder
ffvhuff_decoder
ffv1_decoder
snow_decoder
cyuv_decoder
h264_decoder
vp3_decoder
theora_decoder
asv1_decoder
asv2_decoder
vcr1_decoder
cljr_decoder
fourxm_decoder
mdec_decoder
roq_decoder
interplay_video_decoder
xan_wc3_decoder
rpza_decoder
cinepak_decoder
msrle_decoder
msvideo1_decoder
vqa_decoder
idcin_decoder
eightbps_decoder
smc_decoder
flic_decoder
truemotion1_decoder
truemotion2_decoder
vmdvideo_decoder
vmdaudio_decoder
mszh_decoder
zlib_decoder
zmbv_decoder
smacker_decoder
smackaud_decoder
sonic_decoder
ac3_decoder
dts_decoder
ra_144_decoder
ra_288_decoder
roq_dpcm_decoder
interplay_dpcm_decoder
xan_dpcm_decoder
sol_dpcm_decoder
qtrle_decoder
flac_decoder
shorten_decoder
alac_decoder
ws_snd1_decoder
vorbis_decoder
libgsm_decoder
qdm2_decoder
cook_decoder
truespeech_decoder
tta_decoder
avs_decoder
rawvideo_decoder
flashsv_decoder
amr_nb_decoder
amr_nb_encoder
amr_wb_decoder
amr_wb_encoder
bmp_decoder
mmvideo_decoder
dvdsub_decoder
dvdsub_encoder
dvbsub_decoder
dvbsub_encoder'
COLORTERM=1
CPU=i686
CVS_RSH=ssh
DIRSTACK=()
EUID=0
EXESUF=
FFLDFLAGS='-Wl,--warn-common -rdynamic'
FFMPEG_CONFIGURATION=' --enable-mp3lame --enable-gpl --enable-amr_nb  
--enable-memalign-hack '
FFSLDFLAGS=-Wl,-E
GNOME2_PATH=/usr/local:/opt/gnome:/usr
GROFF_NO_SGR=yes
GROUPS=()
GTK_PATH=/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/root
HOST=www
HOSTNAME=www
HOSTTYPE=i386
IFS=' 	
'
INFODIR=/usr/local/info:/usr/share/info:/usr/info
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/opt/gnome/share/info
INPUTRC=/etc/inputrc
JAVA_BINDIR=/usr/lib/jvm/java/bin
JAVA_HOME=/usr/lib/jvm/java
JAVA_ROOT=/usr/lib/jvm/java
JDK_HOME=/usr/lib/jvm/java
JRE_HOME=/usr/lib/jvm/java/jre
LC_CTYPE=en_US.UTF-8
LDCONFIG=ldconfig
LESS='-M -I'
LESSCLOSE='lessclose.sh %s %s'
LESSKEY=/etc/lesskey.bin
LESSOPEN='lessopen.sh %s'
LESS_ADVANCED_PREPROCESSOR=no
LIB='$(LIBPREF)$(NAME)$(LIBSUF)'
LIBOBJFLAGS=
LIBPREF=lib
LIBSUF=.a
LOGNAME=root
LS_COLORS=
LS_OPTIONS='-a -N --color=none -T 0'
MACHTYPE=i686-suse-linux
MAIL=/var/mail/root
MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/share/ 
man:/opt/gnome/man
MINICOM='-c on'
NNTPSERVER=news
OPTERR=1
OPTIND=1
OSTYPE=linux
PAGER=less
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/ 
bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde2/bin
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/ 
gnome/lib/pkgconfig
POSIXLY_CORRECT=y
PPID=17774
PROFILEREAD=true
PS4='+ '
PWD=/home/mobilerep/Documents/ffmpeg
PYTHONSTARTUP=/etc/pythonstart
QTDIR=/usr/lib/qt3
RANDOM=17989
SDK_HOME=/usr/lib/jvm/java
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments:posix
SHFLAGS='-shared -Wl,-soname,$@'
SHLVL=2
SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
SLIBNAME_WITH_VERSION='$(SLIBNAME).$(LIBVERSION)'
SLIBPREF=lib
SLIBSUF=.so
SSH_CLIENT='::ffff:80.126.207.65 24132 22'
SSH_CONNECTION='::ffff:80.126.207.65 24132 ::ffff:213.239.133.44 22'
SSH_TTY=/dev/pts/0
TARGET_OS=Linux
TERM=xterm-color
TEXINPUTS=:/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
TMPC=/tmp/ffmpeg-conf-2225-17823-26765.c
TMPDIR1=/tmp
TMPE=/tmp/ffmpeg-conf-19838-17823-18860
TMPH=/tmp/ffmpeg-conf-9113-17823-17989.h
TMPO=/tmp/ffmpeg-conf-11614-17823-20794.o
TMPS=/tmp/ffmpeg-conf-17269-17823-31780.S
UID=0
USER=root
WINDOWMANAGER=/usr/X11R6/bin/kde
XCURSOR_THEME=crystalwhite
XDG_CONFIG_DIRS=/usr/local/etc/xdg/:/etc/xdg/:/etc/opt/gnome/xdg/
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/etc/opt/kde3/share/:/opt/ 
kde3/share/:/opt/gnome/share/
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XNLSPATH=/usr/X11R6/lib/X11/nls
_=--enable-memalign-hack
a52=no
a52bin=no
altivec=default
amr=yes
amr_if2=no
amr_nb=yes
amr_nb_fixed=no
amr_wb=no
ar=ar
audio_beos=no
audio_oss=yes
bigendian=no
bindir=
bktr=no
cc=gcc
cpu=x86
cross_prefix=
cygwin=no
dc1394=no
debug=yes
demuxers=yes
dlfcn=no
dlopen=no
dostrip=yes
dts=no
dv1394=yes
emu_fast_int=no
extralibs=-lm
faac=no
faad=no
faadbin=no
ffplay=yes
ffserver=yes
gpl=yes
gprof=no
incdir=
installstrip=-s
inttypes=yes
iwmmxt=default
libdir=
libgsm=no
libogg=no
log=yes
logfile=config.err
lshared=no
lstatic=yes
lzo=yes
make=make
mandir=
memalignhack=yes
mingw32=no
mingwce=no
mmi=default
mmx=default
mp3lame=yes
mpegaudio_hp=yes
muxers=yes
need_inet_aton=no
netserver=no
network=yes
opt=--enable-memalign-hack
optimize=yes
os2=no
powerpc_perf=no
pp=no
prefix=/usr/local
protocols=yes
pthreads=no
ranlib=ranlib
simpleidct=yes
source_path=/home/mobilerep/Documents/ffmpeg
source_path_used=no
strip=strip
sunmlib=no
targetos=Linux
theora=no
tune=generic
v4l=yes
v4l2=yes
vhook=default
vorbis=no
x264=no
xvid=no
zlib=yes
check_header altivec.h
check_cpp
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <altivec.h>
      2	int x;
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -E -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
/tmp/ffmpeg-conf-2225-17823-26765.c:1:21: altivec.h: No such file or  
directory
check_cc -msse
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <xmmintrin.h>
      2	int main(void) {
      3	#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
      4	return 0;
      5	#else
      6	#error no vector builtins
      7	#endif
      8	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -msse -c -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
check_cc -march=athlon
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <mm3dnow.h>
      2	int main(void) {
      3	__m64 b1;
      4	b1 = _m_pswapd(b1);
      5	_m_femms();
      6	return 0;
      7	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -march=athlon -c -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ 
ffmpeg-conf-2225-17823-26765.c
/tmp/ffmpeg-conf-2225-17823-26765.c:1:21: mm3dnow.h: No such file or  
directory
/tmp/ffmpeg-conf-2225-17823-26765.c: In function `main':
/tmp/ffmpeg-conf-2225-17823-26765.c:3: error: `__m64' undeclared  
(first use in this function)
/tmp/ffmpeg-conf-2225-17823-26765.c:3: error: (Each undeclared  
identifier is reported only once
/tmp/ffmpeg-conf-2225-17823-26765.c:3: error: for each function it  
appears in.)
/tmp/ffmpeg-conf-2225-17823-26765.c:3: error: syntax error before "b1"
/tmp/ffmpeg-conf-2225-17823-26765.c:4: error: `b1' undeclared (first  
use in this function)
check_ld
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <inttypes.h>
      2	int main(int argc, char ** argv){
      3	        volatile uint32_t i=0x01234567;
      4	        return (*((uint8_t*)(&i))) == 0x67;
      5	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -Wl,--warn-common -rdynamic -o /tmp/ffmpeg- 
conf-19838-17823-18860 /tmp/ffmpeg-conf-2225-17823-26765.c -lm
check_header inttypes.h
check_cpp
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <inttypes.h>
      2	int x;
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -E -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
check_cc
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <inttypes.h>
      2	int main(int argc, char ** argv){
      3	        volatile uint_fast64_t i=0x01234567;
      4	        return 0;
      5	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -c -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
check_header malloc.h
check_cpp
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <malloc.h>
      2	int x;
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -E -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
check_func memalign
check_ld
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	extern int memalign();
      2	int main(){
      3	    memalign();
      4	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -Wl,--warn-common -rdynamic -o /tmp/ffmpeg- 
conf-19838-17823-18860 /tmp/ffmpeg-conf-2225-17823-26765.c -lm
check_func localtime_r
check_ld
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	extern int localtime_r();
      2	int main(){
      3	    localtime_r();
      4	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -Wl,--warn-common -rdynamic -o /tmp/ffmpeg- 
conf-19838-17823-18860 /tmp/ffmpeg-conf-2225-17823-26765.c -lm
check_lib zlib.h zlibVersion -lz
check_header zlib.h
check_cpp
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <zlib.h>
      2	int x;
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -E -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
check_func zlibVersion
check_ld
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	extern int zlibVersion();
      2	int main(){
      3	    zlibVersion();
      4	}
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -Wl,--warn-common -rdynamic -o /tmp/ffmpeg- 
conf-19838-17823-18860 /tmp/ffmpeg-conf-2225-17823-26765.c -lm -lz
check_lib lzo1x.h lzo_version -llzo
check_header lzo1x.h
check_cpp
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <lzo1x.h>
      2	int x;
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -E -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
/tmp/ffmpeg-conf-2225-17823-26765.c:1:19: lzo1x.h: No such file or  
directory
check_lib lame/lame.h lame_init -lmp3lame
check_header lame/lame.h
check_cpp
BEGIN /tmp/ffmpeg-conf-2225-17823-26765.c
      1	#include <lame/lame.h>
      2	int x;
END /tmp/ffmpeg-conf-2225-17823-26765.c
gcc -E -o /tmp/ffmpeg-conf-11614-17823-20794.o /tmp/ffmpeg- 
conf-2225-17823-26765.c
/tmp/ffmpeg-conf-2225-17823-26765.c:1:23: lame/lame.h: No such file  
or directory
ERROR: LAME not found





More information about the ffmpeg-devel mailing list