+ (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.
+ Links:
+ freetype:
+ http://www.freetype.org
+ t1lib:
+ ftp://sunsite.unc.edu/pub/linux/libs/graphics/t1lib-1.3.1.tar.gz
+ t1lib (mirrored here):
+ http://www.quiss.org/swftools/t1lib-1.3.1.tar.gz
+ jpeglib:
+ http://www.ijg.org/files/jpegsrc.v6b.tar.gz
+
+ Furthermore, if you want to compile avi2swf, you need the avifile library:
+ http://avifile.sourceforge.net
+ .
+
+4.) when compiling the sourcecode version, configure doesn't find my jpeglib / my t1lib!
+
+ In case some of your libraries/include files are installed in /usr/local,
+ try the following:
+
+ rm -f config.cache
+ LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure
+
+ Furthermore, a new installation of jpeglib (the following assumes it's in
+ /usr/local/lib) often requires doing a
+
+ ranlib /usr/local/lib/libjpeg.a
+ ldconfig /usr/local/lib
+
+ In order to install jpeglib, it's furthermore been remarked that you need
+ to do
+ make install-lib
+ make install-headers
+ .
+
+ If it still doesn't work, try removing the file "config.cache"
+ before running configure again.
+
+5.) There are problems during compilation:
+ Error messages complain about "undefined reference to `operator new(unsigned)'"
+ as well as "undefined reference to `__gxx_personality_v0'".
+
+ Try running configure as
+
+ LDFLAGS=-lstdc++ ./configure
+
+6.) How do I compile swftools on Mac OS X?
+
+ 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:
+
+ 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.