I hope that this is the right board for this question.
I am trying to install (compile from source) SWFtools at my Ubuntu 10.10 from the description at http://wiki.swftools.org/index.php/Installation
With ./configure I got a couple of errors regarding zlib and missing libraries.
Thanks to http://fixunix.com/debian/246537-nee...tml#post652955 I was able to find the missing zlib libraries using
Code:
apt-cache search --names-only zlib.*-dev
zlib1g-dev - compression library - development
Thanks to http://permalink.gmane.org/gmane.com...s.general/1922 I was able to install the needed image libraries with
Code:
sudo apt-get install libpng12-dev
sudo apt-get install libgif-dev
sudo apt-get install libjpeg62-dev
However, after that I still get the error that freetype is missing
Code:
checking for missing libraries... freetype
***************************************************
* The following headers/libraries are missing: freetype
* Disabling pdf2swf tool...
***************************************************
configure: creating ./config.status
config.status: creating Makefile.common
config.status: WARNING: 'Makefile.common.in' seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/action/Makefile
config.status: creating src/Makefile
config.status: creating swfs/Makefile
config.status: creating lib/readers/Makefile
config.status: creating config.h
config.status: config.h is unchanged
When I try to install freetype using
Code:
sudo apt-get install freetype
I get the following error:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package freetype is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'freetype' has no installation candidate
I guess that the freetype library is not in the repository anymore.
How can I install it so that I can compile SWFtools ?
Thanks in advance!
Bookmarks