[MPlayer-dev-eng] CONFIG_MP3LAME solution ..

Björn Sandell biorn at dce.chalmers.se
Wed Nov 5 14:37:21 CET 2003


On Wed, 5 Nov 2003 14:18:13 +0100
Bohdan Horst <nexus at irc.pl> wrote:

> On Wed, Nov 05, 2003 at 02:04:34PM +0100, Arpi wrote:
> > Hi,
> > 
> > > 
> > > is that patch will be ok ? :
> > > 
> > 
> > why don't you find the reason of error, insteda of ugly workarounds?
> 
> i know the problem .. but i don't know how to fix it ..
>  
> on FreeBSD:
> /usr/local/lib/libmp3lame.so
> /usr/local/include/lame/lame/h
> 
> 
> configure detect mp3lame :
> 
> ============ 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   -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--56187.c

Here's the problem: configure finds lame in /usr/local, (or somewhere else
specified by --with-extra{inc,lib}dir) but no -I flags are passed down to libavcode.
And no, I haven't figured out a nice way to fix it.

-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se



More information about the MPlayer-dev-eng mailing list