[MPlayer-advusers] Error with dash shell

Diego Biurrun diego at biurrun.de
Wed Aug 16 02:07:44 CEST 2006


Please don't top-post.

On Tue, Aug 15, 2006 at 07:49:41PM -0400, Brice wrote:
> Yes, with this change it works.

Well, then find out why dash chokes on this simple shell script.  Most
shells grok it perfectly fine and I don't see any bashisms in it.

Diego

> Diego Biurrun a écrit :
> >On Tue, Aug 15, 2006 at 04:06:34PM -0400, Brice wrote:
> >  
> >>When I use dash as sh and I want to compile mplayer with the french 
> >>translation, I have an error after the 'make' :
> >>
> >>cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
> >>-march=athlon-xp -mtune=athlon-xp -pipe -ffast-math
> >>-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> >>-D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2  
> >>-I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o
> >>mplayer.c
> >>In file included from mplayer.c:45:
> >>help_mp.h:1453: error: syntax error before string constant
> >>help_mp.h:1455: error: missing terminating " character
> >>In file included from mplayer.c:47:
> >>m_option.h:24: error: syntax error before 'm_option_type_flag'
> >>[cut]
> >>
> >>and after a flood of other similar errors it ends without compiling.
> >>
> >>I use the today svn version. And the configure options :
> >>./configure --language=fr --charset=UTF-8
> >>
> >>With the english language or with bash as sh this error don't appear. So 
> >>there is probably a script marked as /bin/sh whereas it need /bin/bash.
> >
> >Does it work if you replace /bin/sh with /bin/bash in help/help_diff.sh?



More information about the MPlayer-advusers mailing list