[swfmill] Building from source
Thomas Williams
thomas.williams at dubitlimited.com
Tue Mar 10 01:37:53 PST 2009
JJ,Wow! Thanks! I'd all but given up on getting swfmill to build, this did
the job just fine! Specifically (for anyone else who's encountering similar
problems) this resolved a problem where strangely once ./autogen.sh had run
there was no Make file output.
Once I'd installed this library ./autogen.sh finished with the lines:
config.status: creating src/swft/Makefile
config.status: creating src/xslt/Makefile
config.status: executing depfiles commands
Then make finished with the somewhat misleading lines:
make[1]: Nothing to be done for `all-am'.
Which looks like an error, but isn't
Finally make install had some misleading output towards the end as well:
make[4]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
But successfully installed swfmill into /usr/local/bin/swfmill.
Additionally I had to install two extra packages pkgconfig, libxml2 (though
I had alot of the graphics manipulation libraries already installed)
And finally I had to follow this post:
http://osflash.org/pipermail/swfmill_osflash.org/2007-May/001330.html.
Otherwise
./autogen.sh failed with:
./configure: line 19236: syntax error near unexpected token `XML,'
./configure: line 19236: `PKG_CHECK_MODULES(XML, libxml-2.0)'
Thanks for the help JJ, hope this comes in useful for someone else!
Tom
2009/3/10 JJ S <jjsil2 at gmail.com>
> Hi Thomas,
>
> Below is a copy of an email I sent to the list a few weeks ago, when I
> managed to compile swfmill from HEAD in OS X. Let me know if these
> instructions work for you. If they don't I could recompile in my machine and
> send you the binary.
>
> Cheers,
> JJ
>
> PS: the SVN repository changed recently, here's the new location:
> http://svn.swfmill.org/swfmill/
>
>
>
>
> Hi everyone,
> I managed to compile Swfmill for Mac OS X! :D
>
> You need to install Fink (http://www.finkproject.org/) to get the
> necessary tools.
>
> Here are the steps I followed, it's possible that I had some necessary
> tools pre-installed in my machine from previous development, let me know if
> it doesn't work for you:
>
> # Get libtool
> fink install libtool14 # Not the default libtool, it doesn't work for
> this.
> # Make a directory
> mkdir swfmill
> cd swfmill
> # Get the source
> svn checkout http://swfmill.org/svn/trunk
> cd trunk
> # Configure
> ./autogen.sh
> # Build!
> make
> # Check that it worked
> ls -l src/swfmill
>
> You should have a nice ~4Mb file there.
>
> Things to look out for when running ./autogen.sh:
> configure.ac:10: error: possibly undefined macro: AC_PROG_LIBTOOL
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> This is pretty tricky because it doesn't show up as an error at the end of
> the run, it's a bit higher up. It means you don't have libtool installed
> properly.
>
> release-mac.sh doesn't work in my machine because it has hardcoded paths to
> dan's home directory in an extra linking step. However, that step doesn't
> seem necessary, I commented it out and the rest of the script run just fine
> (with the wget and scp lines commented out too).
>
> I copied the resulting tar to a clean machine and ran the tests and
> everything seems Ok. :D
>
> Please try to reproduce and let me know if you encounter any problems.
>
> Cheers,
> JJ
>
>
>
> On Mon, Mar 9, 2009 at 5:16 PM, Thomas Williams <
> thomas.williams at dubitlimited.com> wrote:
>
>> Hi chaps,I was attempting to compile the head version on OSX and debian
>> linux today. Does anybody know if the makefiles in the trunk of the
>> repository are kept up to date? They don't seem to work any more (I assume
>> they worked at some point!), so does anyone know where I can get a recent
>> compiled binary?
>>
>> Many thanks,
>> Tom
>> --
>> Thomas Williams
>> Java Programmer
>> Dubit Limited
>> +44 1133 947920
>> www.dubitlimited.com
>>
>> _______________________________________________
>> swfmill mailing list
>> swfmill at osflash.org
>> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>>
>>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
--
Thomas Williams
Java Programmer
Dubit Limited
+44 1133 947920
www.dubitlimited.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20090310/454d2a1f/attachment.html>
More information about the swfmill
mailing list