[Ffmpeg-devel] compiling on Solaris 10
    Diego Biurrun 
    diego
       
    Thu Dec  7 15:42:12 CET 2006
    
    
  
On Thu, Dec 07, 2006 at 01:50:40PM +0000, M?ns Rullg?rd wrote:
> Bjoern Rost said:
> >
> > first error:
> >
> > ./configure: syntax error at line 18: `!' unexpected
> >
> > so I changed #!/bin/sh to #!/bin/bash
> 
> Oh boy, is your shell broken.
The Solaris crap shell is known not to support the ! operator from
POSIX, MPlayer has the following workaround in configure:
  # not boolean test: implement the posix shell "!" operator
  # for a non-posix /bin/sh.
  #   usage:  not {command}
  # returns exit status "success" when the execution of
  # "command" fails.
  not() {
    eval "$@"
    test $? -ne 0
  }
Diego
    
    
More information about the ffmpeg-devel
mailing list