Centos7yum-y install wgetwget http://www.swftools.org/swftools-0.9.2.tar.gzTAR-XF swftools-0.9.2. tar.gz./configure--prefix=/data/server/seftoolserror:you need zlib to compile Swftoolsyum-Y install zlib zlib-develmakemake installrm:invalid Option--'o'Try'RM--help' forMore information.make[1]: * * * [Install] Error1make[1]: Leaving directory '/root/tools/swftools-0.9.2/swfs'Make: * * * [Install] Error21. Find./|xargs Grep-r-I"Default_viewer"src/pdf2swf.1: The viewer swf to be used isDetermined by a symlink named"default_viewer.swf" inchsrc/pdf2swf.c:sprintf (BUF,"%s/default_viewer.swf", Swfdir); SWFs/makefile.inch: Rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/Default_viewer.swfswfs/makefile.inch: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/Default_viewer.swfswfs/makefile.inch: $ (Uninstall_data) $ (pkgdatadir)/swfs/Default_viewer.swfswfs/makefile:rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/Default_viewer.swfswfs/makefile: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/Default_viewer.swfswfs/makefile: $ (uninstall_data) $ (pkgdatadir)/swfs/Default_viewer.swf[[email protected] Swftools-0.9.2]# Find/|xargs grep-r-I"Default_viewer"./src/pdf2swf.1: The viewer swf to be used isDetermined by a symlink named"default_viewer.swf" inch./src/pdf2swf.c:sprintf (BUF,"%s/default_viewer.swf", Swfdir);./swfs/makefile.inch: Rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: $ (Uninstall_data) $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile:rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile: $ (uninstall_data) $ (pkgdatadir)/swfs/default_viewer.swf./src/pdf2swf.1: The viewer swf to be used isDetermined by a symlink named"default_viewer.swf" inch./src/pdf2swf.c:sprintf (BUF,"%s/default_viewer.swf", Swfdir);./src/pdf2swf.1: The viewer swf to be used isDetermined by a symlink named"default_viewer.swf" inch./src/pdf2swf.c:sprintf (BUF,"%s/default_viewer.swf", Swfdir);./swfs/makefile.inch: Rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: $ (Uninstall_data) $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile:rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile: $ (uninstall_data) $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: Rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile.inch: $ (Uninstall_data) $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile:rm-f $ (pkgdatadir)/swfs/default_viewer.swf-o-L $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile: $ (ln_s) $ (pkgdatadir)/swfs/simple_viewer.swf $ (pkgdatadir)/swfs/default_viewer.swf./swfs/makefile: $ (uninstall_data) $ (pkgdatadir)/swfs/Default_viewer.swfvim SWFs/makefile.inchVim SWFs/Makefile will-O-l get rid of it! Make install pdf2swf?Note: Support for Chinese1, unzip the xpdf-chinese-simplified.tar.gz to/usr/local/xpdf-chinese-Simplified2, in/usr/share/fonts build the win directory, copy into the font file Gbsn00lp.ttf, Gkai00mp.ttf. 3, cd/usr/local/xpdf-chinese-Simplified4, Vim add-to-XPDFRC5, edit add Fontdir to last line/usr/share/fonts/windisplaycidfonttt Adobe-gb1/usr/share/fonts/win/Gkai00mp.ttf Installation Apache_openofficetar?? -zxvf?? Apache_openoffice_4.0.1_linux_x86_install-rpm_zh-CN.tar.gzcd en-cn/rpmsrpm-IVH *. RPM Start-up service:/opt/openoffice4/program/soffice-headless-accept="socket,host=127.0.0.1,port=8100;urp;"-nofirststartwizard & Error in error whileLoading shared libraries:libXext.so.6: Cannot open sharedObjectfile:no such file or directory./jdk-6u31-linux-x64-Rpm.bin workaround yum Install libxext.x86_64 start again/opt/openoffice4/program/soffice-headless-accept="socket,host=127.0.0.1,port=8100;urp;"-nofirststartwizard &netstat-ntlp|grep8100Note: Supports multiple fonts in Chinese1, Default in/opt/openoffice4/share/fonts/truetype/, support the Chinese font is not many, directly put the fonts under Windows Copy all in (Windows Font Library in C:\Windows\Fonts\)2, ps-ef|grep OpenOffice3, kill-9 Process ID4, start the service again
Centos7 Installing Swftools Apache_openoffice