pusatdata

Install SWFTOOLS

Mar 24th, 2015
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. Here is quick install howto for swftools 0.9.1 on CentOS 5.5:
  2.  
  3. Get the swftools-0.9.1 (this is the current for now):
  4.  
  5. [root@centos5 ~]# wget http://www.swftools.org/swftools-0.9.1.tar.gz
  6.  
  7. [root@centos5 ~]# tar xzf swftools-0.9.1.tar.gz
  8. Now you have to compile it so you need to have gcc and some libraries and components installed (automake, zlib-devel, libjpeg-devel, giflib-devel, freetype-devel) so you don’t get errors during the compile process:
  9.  
  10. [root@centos5 ~]# yum install gcc* automake zlib-devel libjpeg-devel giflib-devel freetype-devel
  11.  
  12. [root@centos5 ~]# cd swftools-0.9.1
  13.  
  14. [root@centos5 ~]# ./configure
  15.  
  16. [root@centos5 ~]# make
  17.  
  18. [root@centos5 ~]# make install
  19.  
  20. n 3.4.d, the pdf2swf conversion that is used by default in preview, is broken (at least in Linux package). The reason is the corrupted library link (libstdc++.so.5). You have to fix it this way:
  21.  
  22. $ cd $YOUR_ALFRESCO_DIRECTORY/common/lib
  23. $ rm libstdc++.so.5
  24. $ ln -s libstdc++.so.5.0.3 libstdc++.so.5
Advertisement
Add Comment
Please, Sign In to add comment