Here’s a short note on setting up swfmill on CentOS linux.

swfmill is an xml2swf and swf2xml processor with import functionalities.

It’s most common use is the generation of asset libraries containing images (PNG and JPEG), fonts (TTF) or other SWF movies for use with MTASC- or haXe-compiled ActionScript, although swfmill can be used to produce both simple and complex SWF structures.

Download and Install swfmill

wget -c http://swfmill.org/releases/swfmill-0.3.2.tar.gz

Untar the downloaded package and change to its directory.

<br />
cd swfmill-0.3.2<br />
./configure<br />
<br />
configure: error: Package requirements (libxslt) were not met:</p>
<p>No package 'libxslt' found</p>
<p>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br />
installed software in a non-standard prefix.</p>
<p>Alternatively, you may set the environment variables XSLT_CFLAGS<br />
and XSLT_LIBS to avoid the need to call pkg-config.<br />
See the pkg-config man page for more details.<br />

If you encounter an error related to libxslt then you need to install it.

<br />
yum -y install libxslt libxslt-devel<br />

Leave a Reply

Your email address will not be published. Required fields are marked *