On 8/20/07, Ulrich von Zadow <[EMAIL PROTECTED]> wrote:

> Yeah - sorry there's no instructions for building on mac os x.

if you think it could be useful, feel free to add my notes to the wiki.
So people building on OSX will have something to guide them.

> There's a
> BuildMacDeps.sh script in the main libavg directory which I use to build
> all the dependencies from tarballs - no fink, no darwinports. Using
> those dependencies and gcc 4.0.1 build 5341 (xcode 2.3), nothing needs
> to be patched.

good, but I'm not really willing to install all those libraries from tarballs
just for the purpose of building libavg ...I'd rather use fink and/or
darwinports as a reference, and I think that a good build strategy
should be robust with respect to those choices.

The patch takes care of three things:

 * problems with gcc's alwaysinline attribute. These can be fixed
  by including <math.h> before other headers, so that the proper
  macros are in place when needed. This is probably worth committing
  anyway, because if makes the build behavior more robust.

 * changes in the API of ffmpeg. I did build against the latest SVN version
  of ffmpeg and that didn't change things: the patch was still needed.
  The build system should probably require a recent enough version
   of the ffmpeg libs (and then the patch should be committed).

 * removing hardcoded paths to autotools in the bootstrap script.
  The BuildMacDeps script might depend on this, but I don't think
  it's good to hardcode paths there.

> Since your remaining errors are video-related: I'm using ffmpeg svn
> revision 6002 for the mac build. See if using that changes anything.

it doesn't unfortunately... I'll look better into it
and see whether I can come up with more information. Thanks.

Cheers, Ciro

_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to