[Locomotive-users] compiling ffmpeg into a bundle

Ryan Raaum ryan.raaum at gmail.com
Thu Aug 23 22:31:42 GMT 2007


On 8/21/07, Bob Firth <bob.firth at gmail.com> wrote:
> Hi Ryan,
>
> I want to compile ffmpeg into a locomotive bundle so that I can take it
> everywhere the bundle goes, how would I do that? Is it simply a matter of
> passing --prefix=/path/to/my/locomotive
> /bundle_of_choice to configure when compiling ffmpeg?

Yes, pretty much.  If it depends on any libraries in the bundle you
might set these flags as well:

export MYPREFIX=/Path/To/Bundle/framework
# probably something like
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework
export PATH=$MYPREFIX/bin:/bin:/sbin:/usr/bin:/usr/sbin
export DYLD_LIBRARY_PATH=$MYPREFIX/lib
export LDFLAGS="-L$MYPREFIX/lib -headerpad_max_install_names"
export CFLAGS=-I$MYPREFIX/include
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS


Best,

-r
>
> thanks,
> Bob
> PS do you feel a strong desire to add ffmpeg & rmovie to your rmagick bundle
> and save me a job? ;-)
> PPS sorry if this comes through twice, I accidentally sent it from my other
> email address before realising I'm not subscribed to that address any more.
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>


More information about the Locomotive-users mailing list