[FFmpeg-devel] Broken configure causes ffmpeg failing on Solaris
Måns Rullgård
mans
Mon Mar 3 23:01:42 CET 2008
Rich Felker <dalias at aerifal.cx> writes:
> 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 ...
Thanks. It seems to work.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list