[MPlayer-advusers] Error with dash shell

Brice briceubuntu at yahoo.ca
Wed Aug 16 02:31:16 CEST 2006


Diego Biurrun a écrit :
> Please don't top-post.
>   
Sorry, I'll remerber it.
> 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
>
>   
I don't see why neither. But I am not an expert (cf top-posting...) of 
dash/bash. Some imbricated quote maybe who dash doesn't like?

Brice
>> 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?
>>>       
> _______________________________________________
> MPlayer-advusers mailing list
> MPlayer-advusers at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-advusers
>
>   



More information about the MPlayer-advusers mailing list