Возникла проблема при установке модуля GD, а именно не работает функция CreateFromJpeg, что я только не делал, все работает кроме неё.
PHP 4.2.2 (CGI)
OS: FreeBSD 4.4
Параметры:
./configure --prefix=/root/tmp --with-zlib --with-gd=/usr/local/phpsup/ --with-jpeg-dir=/usr/local/ --with-mysql --with-dom-exslt=/usr/local/phpsup/ --with-dom=/usr/local/phpsup/ --with-dom-xslt=/usr/local/phpsup/ --with-zlib-dir=/usr/local/phpsup
LOG:
checking for GD support... yes
checking whether to enable truetype string function in GD... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for the location of libpng... no
If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... no
If configure fails try --with-freetype-dir=<DIR>
checking for FreeType 1.x support... no
checking for T1lib support... no
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) no
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateFromGd2 in -lgd... (cached) yes