__dejan__
18.05.2006, 04:09
Hallo Leute!
Ich habe irgendwie schwierigkeiten die GD lib zu installieren bzw. mit den JPEG, XPM, FreeType Support. Installiere die ganze geschichte zu Fuß (was ich seit langen nicht mehr gemacht habe).
Configure Command:
'./configure' '--with-apxs2=/usr/bin/apxs2'
'--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config'
'--with-pdo-mysql=/usr/local/mysql' '--with-pdo-sqlite' '--with-bcmath'
'--with-xsl' '--with-soap' '--enable-sockets' '--enable-ftp'
'--enable-memory-limit' '--with-curl' '--with-mcrypt' '--with-openssl'
'--with-zlib' '--with-bz2' '--enable-calendar' '--with-gd' '--with-jpeg-dir'
'--with-png-dir' '--with-xpm-dir' '--with-ttf' '--with-freetype-dir'
'--enable-gd-native-ttf' '--enable-sysvmsg' '--enable-sysvsem'
'--enable-sysvshm'
Bei der installation wird nichts mehr angemekert, weswegen ich auch davon ausgegangen bin das alles in Ordnung ist. Leider muss ich festellen, dass ich da falsch liege.
checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... yes
checking for FreeType 1.x support... yes
checking for FreeType 2... yes
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for FreeType 1 support... no - FreeType 2.x is to be used instead
GD Info:
Array
(
[GD Version] => bundled (2.0.28 compatible)
[FreeType Support] =>
[T1Lib Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] =>
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
)
Nur wo und warum? Könnte es sein das ich erstmal php mit gd ohne jpeg und freetype support installiert habe und erst nachhinein den jpeg, freetype etc support installieren wollte. Den config.cache habe ich jedesmal gelöscht.
System: Ubuntu 5.10 (2.6.12-10-386)
Web-Server version: Apache/2.0.54 (Prefork)
PHP 5.1.4
libjpeg62
libjpeg62-dev
libgd2
libgd2-dev
libgd2-xpm
libgd2-xpm-dev
freetype2
libfreetype6
libfreetype6-dev
Ich habe irgendwie schwierigkeiten die GD lib zu installieren bzw. mit den JPEG, XPM, FreeType Support. Installiere die ganze geschichte zu Fuß (was ich seit langen nicht mehr gemacht habe).
Configure Command:
'./configure' '--with-apxs2=/usr/bin/apxs2'
'--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config'
'--with-pdo-mysql=/usr/local/mysql' '--with-pdo-sqlite' '--with-bcmath'
'--with-xsl' '--with-soap' '--enable-sockets' '--enable-ftp'
'--enable-memory-limit' '--with-curl' '--with-mcrypt' '--with-openssl'
'--with-zlib' '--with-bz2' '--enable-calendar' '--with-gd' '--with-jpeg-dir'
'--with-png-dir' '--with-xpm-dir' '--with-ttf' '--with-freetype-dir'
'--enable-gd-native-ttf' '--enable-sysvmsg' '--enable-sysvsem'
'--enable-sysvshm'
Bei der installation wird nichts mehr angemekert, weswegen ich auch davon ausgegangen bin das alles in Ordnung ist. Leider muss ich festellen, dass ich da falsch liege.
checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... yes
checking for FreeType 1.x support... yes
checking for FreeType 2... yes
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for FreeType 1 support... no - FreeType 2.x is to be used instead
GD Info:
Array
(
[GD Version] => bundled (2.0.28 compatible)
[FreeType Support] =>
[T1Lib Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] =>
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
)
Nur wo und warum? Könnte es sein das ich erstmal php mit gd ohne jpeg und freetype support installiert habe und erst nachhinein den jpeg, freetype etc support installieren wollte. Den config.cache habe ich jedesmal gelöscht.
System: Ubuntu 5.10 (2.6.12-10-386)
Web-Server version: Apache/2.0.54 (Prefork)
PHP 5.1.4
libjpeg62
libjpeg62-dev
libgd2
libgd2-dev
libgd2-xpm
libgd2-xpm-dev
freetype2
libfreetype6
libfreetype6-dev