would finalize this post. In Suse however…). Recently I had to install on a Suse 10 (SLES) linux system. Although I had root access, I lack the knowledge/experience how to get the repositories of the configurations to get YAST install whatever I need.
Still, my installation of Alfresco Share had to get up and running, including the flashy previews in Alfresco Share, so I prepared to compile SWFTools myself. See my post about Installing ImageMagic @ Suse 10 as well.
- Install dependencies & compilation tools
- Download the source code
- Compile SWFTools
- Create some symbolic links to make things work (with Alfresco Share)
1. Install dependencies & compilation tools
To get the SWFTools up and running, we first have to add some dependencies using the YAST package manager. Usually you lack the header files of some packages (graphical packages in case of SWFTools). Next to that I discovered I needed some tools to be able to compile as well. Login as root and install using YAST:
# yast -i zlib-devel libjpeg-devel giflib-devel freetype2-devel compat gcc gcc-c++
2. Download the source code
Get the tarball containing the latest stable SWFTools source from the website of http://www.swftools.org. I download http://www.swftools.org/swftools-0.9.0.tar.gz and stored it in /opt. Unpack the tarball:
$ tar -xvf swftools-0.9.0.tar.gz
# make install
$ whereis pdf2swf
# ln -s /usr/local/bin/pdf2swf