On Fri, May 27, 2011 at 09:31:56PM -0700, Dave Yeo wrote:
> On 05/27/11 11:55 am, Diego Biurrun wrote:
>> On Thu, May 26, 2011 at 11:08:16PM -0700, Dave Yeo wrote:
>>> On 05/26/11 05:53 am, Diego Biurrun wrote:
>>>> Libav should now compile out-of-the-box on OS/2 and the
>>>> information contained in the linked page is badly outdated.
>>>
>>> It compiles out of the box with the correct shell ((pdk)sh). Unluckily
>>> eCS ships with ash which has a bug where $PWD is not initially set. This
>>> results in everything going smoothly till the end when linking
>>> ffmpeg.exe fails with 39 missing symbols due to bad -L options.
>>
>> Does adding
>>
>>    PWD=$(pwd)
>>
>> to the beginning of configure fix the issue?
>
> Yes, doing
> --- a/configure
> +++ b/configure
> @@ -14,6 +14,7 @@ export LC_ALL
>  # make sure we are running under a compatible shell
>  # try to make this part work with most shells
>
> +PWD=$(pwd)
>  try_exec(){
>      echo "Trying shell $1"
>      type "$1" > /dev/null 2>&1 && exec "$@"
>
> allows the build to finish

OK, I will submit a patch along those lines.

> though configure spits out
> "YASM not found" at one point, pretty minor.

But you do have a new enough yasm/nasm installed?

> I also do get errors such as
> Can't read init file I:/usr/src/libav/doc/t2h.init
> and the HTML files are broken. I just quickly hacked texi2html v5 to  
> work here so that is probably the problem.

What version of texi2html do you have available?

>>    --- doc/texi2pod.pl       (revision 10843)
>>    +++ doc/texi2pod.pl       (working copy)
>>    @@ -1,4 +1,6 @@
>>    -#! /usr/bin/perl -w
>>    +#!perl
>>    +    eval 'exec perl -wS $0 ${1+"$@"}'
>>    +        if 0;
>>
>> Does replacing the first line with
>>
>>    #!/usr/bin/env perl -w
>>
>> work?  That is something I could apply directly to Libav.
>
> I can't reproduce the error right now. I'm pretty sure I've tested this  
> before with negative results. I think best if failure to build the  
> documentation only fail with something like error 127 so not a show  
> stopper if someone wants to run make test etc.

Right now configure tests for the availability of texi2html, nothing
more.  We could easily replace that test by something more elaborate
if you tell us what exactly the problem is.

> ps OK to change my FATE configuration to use GCC 4.5.2 as that is the  
> currently shipping GCC?

Yes, of course.  You are the one that knows what should be a good
FATE configuration for OS/2.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to