2.) How to compile/link swftools on Unix/Linux/BSD?
- Download swftools-0.x.x.tar.gz and t1lib-1.3.1.tar.gz.
+ Download swftools-0.x.x.tar.gz. Then type, on the
+ command-line:
- gzip -d swftools-0.x.x.tar.gz
- gzip -d t1lib-1.3.1.tar.gz
- tar -xf t1lib-1.3.1.tar
- cd t1lib-1.3.1
- ./configure
- make
- make install
- cd ..
- tar -xf swftools-0.x.x.tar
+ tar -zvxf swftools-0.x.x.tar
cd swftools-0.x.x
./configure
make
make install
+ (you will have to be root for the last step)
+
3.) What libraries do I need to compile swftools on Unix/Linux/BSD?
You need t1lib, freetype and jpeglib to compile pdf2swf.
6.) How do I compile swftools on Mac OS X?
- First, you need to install all the required libs (jpeg, t1lib, freetype, lame) via Fink.
+ You need to get fink (http://fink.sourceforge.net), and install it.
+ After this, you need to install all the required libs (jpeg, freetype, lame):
+
+ fink install libjpeg libjpeg-shlibs freetype2 freetype2-shlibs lame lame-shlibs
+
Then, you have to inform configure of where they are:
- ( setenv LDFLAGS "-L/sw/lib" ; setenv CPPFLAGS "-I/sw/include -I/sw/include/lame" ; ./configure )
+ LDFLAGS="-L/sw/lib" CPPFLAGS="-I/sw/include -I/sw/include/lame" ./configure
make
sudo make install
+ If this doesn't work, especially if you want to use the python library and
+ get weird exceptions, try to remove all versions of jpeglib, freetype and
+ lame from /usr/lib and /usr/local/lib, and then run configure/make/make install
+ again.
+
7.) Is there a pdf2swf/avi2swf for Windows?
Windows versions of all SWF utilities are downloadable from