Установка PHP, arts80, 09-Сен-02, 08:11 [смотреть все]Возникла проблема при установке модуля 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 |
- RE: Установка PHP,
J, 11:19 , 09-Сен-02 (1)>Возникла проблема при установке модуля 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 ну так надо установить библиотеку libjpeg, и libpng до кучи
- RE: Установка PHP,
arts80, 11:26 , 09-Сен-02 (2)libjpeg стоит, что видно из логов (в этом то и дело) :-)
- RE: Установка PHP,
Booter, 11:20 , 10-Сен-02 (3)>libjpeg стоит, что видно из логов (в этом то и дело) :-) Ппробуй взять другие версии библиотек.
- RE: Установка PHP,
J, 15:27 , 10-Сен-02 (4)>libjpeg стоит, что видно из логов (в этом то и дело) :-) >checking for gdImageCreateFromJpeg in -lgd... (cached) no checking for gdImageCreateFromXpm in -lgd... (cached) yes checking for gdImageCreateFromGd2 in -lgd... (cached) yes а это что? тогда GD собрать с поддержкой Jpeg
|