The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Установка 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 до кучи




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру