Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
InstallationLabs 3LinuxUbuntu
This page describes the components that integrate with Alfresco. These can be installed anytime before or after installing Alfresco.
This section describes how to install Alfresco Add-ins for Microsoft® Office applications, such as Word,
Excel, and PowerPoint.
Before you start, ensure that:
To install and configure Microsoft Office Add-ins:
Alfresco Share uses Flash Player for viewing Flash previews and also when you use the multi-file upload facility. This is optional and may be installed after you have installed Alfresco.
To install Flash Player:
Alfresco Share uses the pdf2swf utility of the SWFTools for previewing PDF files. The pdf2swf utility generates one frame per page of fully formatted text inside a Flash movie. This is optional and may be installed after you have installed Alfresco.
Alfresco Share leverages the features provided in the Development snapshots of the tools. Install a version post 0.8.1. Use the last development snapshots, because version 0.8.1 from 2007-02-28 does not support some functionalities Alfresco needs to render the preview.
If you encounter issues with the snapshot that you have installed, please swap out the version you are using as a first step in troubleshooting.
Refer to the site: http://www.swftools.org/ for installation instructions. However, here are some guidelines.
Note, the following version has been tested and verified by Alfresco as being fully functional: http://www.swftools.org/swftools-2008-10-08-0802.tar.gz (note, you may have to copy this URL and paste it into a download manager).
See also https://issues.alfresco.com/jira/browse/ETHREEOH-2916
To date there are no Unix binary versions provided directly on the SWF Tools site, so compilation is necessary to get it working:
Execution result:
os: Linux
command: [/usr/local/bin/pdf2swf, -T, 9, /opt/alfresco/tomcat/temp/Alfresco/RuntimeExecutableContentTransformer_source_29423.pdf, -o, /opt/alfresco/tomcat/temp/Alfresco/R
untimeExecutableContentTransformer_target_29424.swf]
succeeded: false
exit code: 1
out:
err: Cannot run program '/usr/local/bin/pdf2swf': java.io.IOException: error=12, Cannot allocate memory
This is because Java is trying to do a clone() call - which requires as much memory as the original process, until it finally does the execve('pdf2swf', ...). Make sure you have enough physical memory + swap to perform this allocation. It is only needed temporarily, but will return an error if you don't do it. This inherit Runtime.exec() behaviour is outlined here and here.
Before you can compile, ensure the following development packages are installed:
Download and install these packages using the command:
yum install zlib-devel libjpeg-devel giflib-devel freetype-devel gcc gcc-c++ make
If you have a Red Hat Linux version older than 2008-11-12-0905, you may see a message that states your operating system is unknown. If this is the case, use the following setting at configuration time:
./configure --build=x86_64-pc-linux-gnu
Just install the swftools package: sudo apt-get install swftools
If you're using the latest Ubuntu, and/or the swftools package does not exist, then you may need to compile and build from scratch ... for example, refer to https://help.ubuntu.com/community/SWFTools. Here's an example of steps used for Ubuntu 11.10 (GNU/Linux 3.0.0-12-virtual x86_64) although YMMV (your mileage may vary) :
sudo apt-get update
sudo apt-get install gcc g++ make
sudo apt-get install libgif-dev xpdf libfreetype6 libfreetype6-dev libjpeg62 libjpeg8 libjpeg8-dev
sudo apt-get install git
cd ~
git clone git://git.swftools.org/swftools
cd ~/swftools/lib/pdf
sudo perl inject-xpdf.pl xpdf-3.02.tar.gz
cd ~/swftools
./configure
make (hmm ... if permission issue, may need to: sudo make)
sudo make install
which pdf2swf
pdf2swf --version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.