Laut Install- Tool funktioniert nicht:
- Read PNG
- Scaling Images PNG
- Combining images komplett (combine- Befehl existiert nicht auf Server)
- gd library sagt gleich "Call to undefined function: imagettfbbox()"
Was ist das Problem ?
Hier die notwendigen Facts:
Auf SuSE- Linux Distribution 9.2 (Kernel 2.6.4-52-smp, gcc 3.3.3) befindet sich manuell kompiliert:
- Apache 2.0.55 (/usr/local/apache2)
- MySQL- Packages als RPM 5.0.15
-libpng 1.2.8
- zlib 1.2.3
- Freetype 2.1.10 (/usr/local/freetype)
- ImageMagick 6.2.6 (/usr/local/ImageMagick)
- GD 2.0.33 (/usr/local/gd)
- PHP 4.4.1 (/usr/local/bin)
In leicht abgewandelter Form habe ich die Zusatzmodule nach Anleitung von Carsten Rose installiert:
* Freetype:
./configure --prefix=/usr/local/freetye --enable-shared
* ImageMagick:
./configure --prefix=/usr/local/ImageMagick --enable-lzw \
--includedir=/usr/local/freetype/include/freetype --without-perl \
--enable-shared
* gdlib- Makefile:
COMPILER=gcc
AR=ar
CFLAGS=-O -DHAVE_JPEG -DHAVE_LIBTTF
LIBS=-lm -lgd -lpng -lz -ljpeg -lttf
INCLUDEDIRS=-I. -I/usr/local/freetype/include
PREFIX=/usr/local/gd
INSTALL_LIB=${PREFIX}/lib
INSTALL_INCLUDE=${PREFIX}/include
INSTALL_BIN=${PREFIX}/bin
PHP:
./configure --bindir=/usr/bin --datadir=/usr/share/php --enable-discard-path --enable-force-cgi-redirect --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars=yes --enable-trans-sid --enable-versioning --enable-wddx --enable-yp --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/etc --with-gd=/usr/local/gd --with-gettext --with-jpeg-dir --with-mysql=/usr --with-png_dir --with-tiff-dir --with-ttf=/usr/local/freetype --with-xml --with-zlib=yes --enable-gd-native-ttf
Die localconf.php habe ich folgendermaßen über das Install- Tool angepasst:
$TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_path"] = '/usr/local/ImageMagick/bin/'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = '/usr/bin/ImageMagick/bin/'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_version_5"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_negate_mask"] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_no_effects"] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_mask_temp_ext_gif"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["TTFdpi"] = '96'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["SYS"]["sitename"] = 'Friweika_HP'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["SYS"]["doNotCheckReferer"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["BE"]["unzip_path"] = '/usr/bin/unzip'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["gdlib_png"] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_imvMaskState"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_v5effects"] = '1'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 06-03-2006 07:07:29
$TYPO3_CONF_VARS['EXT']['extList'] = 'tsconfig_help,context_help,extra_page_cm_options,rte,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,tstemplate_styler,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,phpmyadmin,aboutmodules,imagelist,setup,taskcenter,sys_notepad,taskcenter_recent,taskcenter_rootlist,info_pagetsconfig,viewpage,csh_de'; // Modified or inserted by TYPO3 Extension Manager.
// Updated by TYPO3 Extension Manager 06-03-2006 08:42:39
$TYPO3_CONF_VARS["GFX"]["gdlib"] = '1'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 06-03-2006 14:26:18
?>