[Typo3-debian] GIF packages on Debian Sid
Michael Stucki
mundaun at gmx.ch
Thu Aug 12 01:59:58 CEST 2004
Running GIF enabled packages on Debian Sid:
===========================================
1) The GD library and the PHP4 extension in Sid do already have GIF/LZW
support. Simply install them by running:
"apt-get -u install libgd2-xpm php4-gd"
2a) ImageMagick 6:
The current ImageMagick version in Sid does not yet have LZW support
enabled. You can either wait for it or compile the package manually.
Anyway you will need the imagemagick6-wrapper if you want to use this
with your TYPO3 installation. Have a look at:
http://www.mstucki.net/files/typo3/imagemagick6-wrapper/
2b) ImageMagick 4.2.9 (statically linked binary):
You can also install ImageMagick 4.2.9 if you like to. Therefore add
this line to your /etc/apt/sources.list:
deb http://www.mstucki.net/debian/ testing imagemagick-typo3-4.2.9
Next, run these commands to install the package:
"apt-get update"
"apt-get -u install imagemagick-typo3-4.2.9"
2c) GraphicsMagick 1.1.2 (I prefer this one!)
This is available from Sven Wilhelms repository. See
http://lists.netfielders.de/pipermail/typo3-debian/2004-August/000807.html
for more information.
Note: The current graphicsmagick-im-compat package made by Sven does
have a bug which causes problems if you use it with TYPO3. I suggest
that you wait for an update or use the package from Sarge instead
(should work fine on Sid, too):
/etc/apt/sources.list:
deb http://www.mstucki.net/debian/ testing graphicsmagick
"apt-get update"
"apt-get -u install graphicsmagick graphicsmagick-im-compat"
3) Restart Apache: "/etc/init.d/apache restart"
4) Backup your typo3conf/localconf.php!
5) Download this file and add the contents to the top of your
typo3conf/localconf.php (but after the "<?php" tag, of course):
http://www.mstucki.net/files/typo3/localconf-additions/localconf_additions.php.txt
If there was already a line containing the "edit point token", make sure
it does now only occur once. Therefore delete the upper one of them.
Make sure that there are no other lines that start with this:
"$TYPO3_CONF_VARS['GFX']"
As long as you're not sure, delete these lines (and remember that we have
a backup of it...).
7) Check if everything works
8) Optional tuning: Installing "turck-mmcache".
This is recommended and works very well with TYPO3:
Simply run "apt-get -u install turck-mmcache" and restart Apache when
done.
That's it.
- michael
--
Want support? Please read the list rules first: http://typo3.org/1438.0.html
More information about the TYPO3-debian
mailing list