[MPlayer-dev-eng] sh incompatibility in configure?

Milan Jurik milan.jurik at xylab.cz
Wed Feb 18 09:20:44 CET 2009


Hi,

V po, 16. 02. 2009 v 09:14, Reimar Döffinger píše:
> On Mon, Feb 16, 2009 at 02:18:57PM +0800, Zuxy Meng wrote:
> > When running configure on SunOS 5.8 I met the problem:
> > 
> > ./configure: LC_ALL=C: is not an identifier
> > 
> > The following fixes this, although I'm not sure if it's a Sun's shell's bug.
> 
> export LC_ALL=C
> 
> is valid according to POSIX, so it should work in any POSIX-compatible
> shell.

The problem is that /bin/sh is not POSIX compliant, it is ancient Bourne
shell on Solaris.

The safest way for Solaris 8 is to replace "#!/bin/sh" with "#!/bin/ksh"
or "#!/bin/bash"

Best regards,

Milan




More information about the MPlayer-dev-eng mailing list