- zlib-devel
- libjpeg-devel
- giflib-devel
- freetype-devel
- gcc
- gcc-c++
You can download and install all of these packages using the following command:
yum install zlib-devel libjpeg-devel giflib-devel freetype-devel gcc gcc-c++
- Browse to the SWF Tools website.
-
Download the latest version of the SWF Tools for your platform. The Unix version is
designated with the suffix .tar.gz.
Note: Download a version post 0.9.2 to ensure that all functionality is supported with SkyVault.
-
Unpack the tar.gz file.
The install file contains detailed instructions on how to compile and install the SWF Tools.
- Change to the directory containing the source code.
-
Type the following command to configure the package for your system:
./configure
If you see a message on Red Hat Linux that states your operating system is unknown, then use the following setting: ./configure–build=x86_64-pc-linux-gnu
If you have an issue on Solaris with the lame libs, you can disable the making of portions of SWF Tools that use lame by using the following setting: ./configure -disable-lame
-
Type the following command to compile the package:
make
Optionally, you can run the make check command to run any self-tests that come with the package.
-
Type the following command to install the programs, data files, and
documentation:
make install
By default, the files are installed to the /usr/local/bin directory.
-
Modify the swf.exe= property in the
alfreso-global.properties file to point to the SWF Tools root
directory, for example: swf.exe=/usr/bin/pdf2swf
Note: Ensure that you do not include a slash (/) at the end of the path. For example, /usr/bin/