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

Rich Felker dalias
Sun Mar 2 00:34:52 CET 2008


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 ...

Rich




More information about the ffmpeg-devel mailing list