[Ffmpeg-devel] [PATCH] AVISynth support

Diego Biurrun diego
Thu Aug 17 13:11:47 CEST 2006


On Thu, Aug 17, 2006 at 12:29:18PM +0200, Steve Lhomme wrote:
> Diego Biurrun wrote:
> >On Wed, Aug 16, 2006 at 11:45:07PM +0200, Steve Lhomme wrote:
> >>For some reason it doesn't add -lvfw32 to EXTRALIBS, but since it 
> >>doesn't add it for -lz either I guess the SVN is broken under MSys. MSys 
> >>doesn't use bash by default (which seem to be a new requirement in 
> >>FFMPEG).
> >
> >Huh?  Since when do we require bash?  What is the problem?
> 
> When I run the SVN configure script in MSys (that I never had a problem 
> with during the last 6 months), I get this error:
> 
> Steve at LAPUX4 /C/Perso/Programmes/ffmpeg.svn
> $ ./configure
> ./configure: exec: bash: not found
> 
> It is caused by these lines at the beggining of the configure script:
> 
> unset foo
> (: ${foo%%bar}) 2>/dev/null && ! (: ${foo?}) 2>/dev/null
> if test "$?" != 0; then
>     if test "x$FFMPEG_CONFIGURE_EXEC" = x; then
>         FFMPEG_CONFIGURE_EXEC=1
>         export FFMPEG_CONFIGURE_EXEC
>         exec bash "$0" "$@"
>         exec ksh "$0" "$@"
>         exec /usr/xpg4/bin/sh "$0" "$@"
>     fi
>     echo "No compatible shell script interpreter found."
>     exit 1
> fi

These lines test the shell for compatibility.  What shell are you using
in MSys if not bash?

> I don't know if that fact that I don't have bash is the reason why -lz 
> and -lvfw32 are not added to EXTRALIBS. (I removed these lines so that I 
> can use the configure script).

Have you looked at config.err?  The reason is probably that your shell is
not able to run 

  flags_saved(){ (: ${SAVE_CFLAGS?}) 2>/dev/null }

Diego




More information about the ffmpeg-devel mailing list