一 下载安装包

     #wget http://www.swftools.org/swftools-0.9.1.tar.gz

二 安装相关依赖库

    #yum install gcc* automake zlib-devel libjpeg-devel giflib-devel freetype-devel

三 解压swftools-0.9.1.tar.gz 编译安装

   #tar zxvf swftools-0.9.1.tar.gz

   #cd swftools-0.9.1

   #./configure

   #make && make install

如果出现下面错误

> modules/.././types.h:36:2: #error "no way to define 64 bit integer"> modules/.././types.h:39:2: #error "don't know how to define 32 bit > integer"> modules/.././types.h:42:2: #error "don't know how to define 16 bit > integer"> modules/.././types.h:45:2: #error "don't know how to define 8 bit > integer"> make[1]: *** [modules/swfaction.o] Error 1> make[1]: Leaving directory `/home/uname/swftools-0.9.0/lib'> make: *** [all] Error 2

请先执行

Doing a "ldconfig /usr/local/lib" and then running ./configure