[FFmpeg-devel] Broken configure causes ffmpeg failing on Solaris

pross at xvid.org pross
Sun Mar 2 00:55:58 CET 2008


On Sat, Mar 01, 2008 at 06:34:52PM -0500, Rich Felker wrote:
> On Fri, Feb 29, 2008 at 03:11:26PM -0800, Frank Liu wrote:
> > Hi there,
> > 
> > I took the suggestions from this list:
> > "man standards" and set the PATH properly
> > ffmpeg seems to compile fine on my Solaris 10 SPARC box, but the
> > compiled binary doesn't work.
> > 
> > I did some more research and found out ./configure sets up the wrong
> > endian for the SPARC architecture.
> > 
> > Here is the line in "configure":
> > 
> > grep -q BIGE $TMPO && enable bigendian
> > 
> > With the PATH I have, it is equivalent to
> > /usr/xpg4/bin/grep -q BIGE $TMPO && enable bigendian
> > 
> > that grep never matches, so bigendian doesn't get enabled.
> > (my guess is only GNU grep can act on binary file?)
> > 
> > Even though the compilation went well, the resulting ffmpeg executable
> > doesn't really work.
> 
> This test is invalid anyway. grep requires input to be a text file; a
> .o file is not valid. Try something like:
> 
> tr -cd BIGE < "$TMPO" | grep ...

IIRC, the -q flag is not supported by the grep shipped with solaris 10.

-- pete




More information about the ffmpeg-devel mailing list