[MPlayer-dev-eng] RE: gmake fails if I use --language=de

D Richard Felker III dalias at aerifal.cx
Fri Aug 29 21:05:40 CEST 2003


On Fri, Aug 29, 2003 at 06:01:43PM +0200, Diego Biurrun wrote:
> Gansser, Martin writes:
>  > From: Tobias Diedrich [mailto:ranma at gmx.at]
>  > > 
>  > > Gansser, Martin wrote:
>  > > 
>  > > > I tried to compile the last CVS Snapshot MPlayer-20030829.tar.bz2
>  > > > on hpux 11.00 but gmake fails, if i use:
>  > > [broken help_mp.h]
>  > > > contents of help_mp.h
>  > > > 
>  > > > //
>  > > > // WARNING! This is a generated file. Do NOT edit.
>  > > > // See the help/ subdir for the editable files.
>  > > > //
>  > > 
>  > > Parts of help_mp.h are generated by help/help_diff.sh .
>  > > I suggest you have a look at that one, maybe it uses some bashism that
>  > > your /bin/sh does not support. Does it work if you replace "#!/bin/sh"
>  > > by "#!/bin/bash" in said script?
>  > 
>  > ok, my favorite shell on hpux is csh,
> 
> Ugh ;-)
> 
> http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
> 
>  >  but with bash it works now.
>  > 
>  > I replaced also the line "#!/bin/sh" by "#!/bin/bash" in help/help_diff.sh
> 
> It does not work with ash or tcsh either, but it does work with zsh.
> Maybe we should change this to #!/bin/bash as it has been at some
> point in the past.  Any objections?

Yes, it's possible (and likely) that /bin/bash does not exist on
non-GNU systems (it may not be installed at all, or may be in
/usr/local or whatever your proprietary unix's nonstandard equivalent
of /usr/local is). On the other hand, /bin/sh may work on such
systems. Of course the best solution is to fix the bash-isms. :)

Rich



More information about the MPlayer-dev-eng mailing list