[MPlayer-users] Install mplayer in a shared server with libmp3lame support

Richard Qi qi.richard at gmail.com
Thu Mar 1 20:16:43 CET 2007


Hi everyone,

In order to use mencoder converting video file to flv, I installed lame-3.97and
mplayer-1.0rc1 into a shared server. Since I do not have permission to
install anything in /usr/local, I set the prefix option to my home
directory. However, when I run configure for mplayer, it always shows that
"Checking for libmp3lame (for mencoder) ... no".

Here is the information in configure.log:

##########################################

============ Checking for libmp3lame (for mencoder) ============

#include <lame/lame.h>
int main(void) { lame_version_t lv; (void) lame_init();
get_lame_version_numerical(&lv);  printf("%d%d\n",lv.major,lv.minor); return
0; }

cc -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math
-fomit-frame-pointer  -I/usr/X11R6/include  -I/usr/include/freetype2   -o
/tmp/mplayer-conf-28334-12907.o /tmp/mplayer-conf-3719-12907.c -lmp3lame -lm
/tmp/mplayer-conf-3719-12907.c:1:23: lame/lame.h: No such file or directory
/tmp/mplayer-conf-3719-12907.c: In function `main':
/tmp/mplayer-conf-3719-12907.c:2: error: `lame_version_t' undeclared (first
use in this function)
/tmp/mplayer-conf-3719-12907.c:2: error: (Each undeclared identifier is
reported only once
/tmp/mplayer-conf-3719-12907.c:2: error: for each function it appears in.)
/tmp/mplayer-conf-3719-12907.c:2: error: syntax error before "lv"
/tmp/mplayer-conf-3719-12907.c:2: error: `lv' undeclared (first use in this
function)

ldd /tmp/mplayer-conf-28334-12907.o
ldd: /tmp/mplayer-conf-28334-12907.o: No such file or directory

Result is: no
##########################################

How do I solve this problem? Thanks!!!

Richard



More information about the MPlayer-users mailing list