[Ffmpeg-devel] [PATCH] AVISynth support

Steve Lhomme slhomme
Thu Aug 17 12:29:18 CEST 2006


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


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).

Steve




More information about the ffmpeg-devel mailing list